/* Shared foundation for every James Elementor widget. */
.james-section {
  --james-primary: #034ea3;
  --james-secondary: #00aeed;
  --james-body: #1d3459;
  --james-heading: #0d1220;
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-sizing: border-box;
  overflow: hidden;
}

.james-section *,
.james-section *::before,
.james-section *::after { box-sizing: border-box; }

.james-container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-grid {
  display: grid;
  align-items: center;
}

.james-hero {
  background: linear-gradient(135deg, var(--james-hero-bg-start, #eef5fb) 0%, var(--james-hero-bg-middle, #e5f3fb) 50%, var(--james-hero-bg-end, #edf8fc) 100%);
  padding: 90px 5% 70px;
}

.james-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 60px;
}

.james-ratio-50-50 .james-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.james-ratio-55-45 .james-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.james-ratio-60-40 .james-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.james-ratio-45-55 .james-hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.james-ratio-40-60 .james-hero-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }

.james-hero-left,
.james-card-wrap {
  min-width: 0;
}

.james-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(3, 78, 163, .16);
  color: var(--james-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  padding: 8px 16px;
  border-radius: 999px;
  margin: 0 0 26px;
}

.james-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--james-secondary);
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
}

.james-title {
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  color: var(--james-heading);
  margin: 0 0 22px;
  letter-spacing: -.02em;
}

.james-title-accent {
  display: block;
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(90deg, var(--james-primary), var(--james-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.james-align-left .james-hero-left { text-align: left; }
.james-align-center .james-hero-left { text-align: center; }
.james-align-right .james-hero-left { text-align: right; }
.james-align-center .james-title-accent { margin-inline: auto; }
.james-align-right .james-title-accent { margin-left: auto; }

.james-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--james-body);
  max-width: 520px;
  margin: 0 0 34px;
}

.james-subtitle p {
  margin: 0;
}

.james-align-center .james-subtitle { margin-left: auto; margin-right: auto; }
.james-align-right .james-subtitle { margin-left: auto; }

.james-cta-row {
  display: flex;
  gap: 14px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}

.james-align-center .james-cta-row,
.james-align-center .james-stats { justify-content: center; }
.james-align-right .james-cta-row,
.james-align-right .james-stats { justify-content: flex-end; }

.james-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 15px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.james-btn:hover,
.james-btn:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

.james-btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--james-primary), var(--james-secondary));
  box-shadow: 0 10px 24px rgba(3, 78, 163, .25);
}

.james-btn-secondary {
  color: var(--james-primary);
  background: #fff;
  border: 1px solid rgba(3, 78, 163, .16);
}

.james-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.james-btn-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.james-stats {
  display: flex;
  gap: 46px;
  flex-wrap: wrap;
}

.james-stat-number {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--james-primary), var(--james-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.james-stat-label {
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .05em;
  color: var(--james-body);
  font-weight: 600;
  margin-top: 2px;
}

.james-card-wrap {
  position: relative;
}

.james-card {
  display: block;
  color: inherit;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(29, 52, 89, .15);
  overflow: hidden;
  padding: 18px 18px 26px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

a.james-card:hover,
a.james-card:focus {
  color: inherit;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 36px 70px rgba(29, 52, 89, .18);
}

.james-card-image {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  border-radius: 14px;
  overflow: hidden;
  background: #eceef3;
}

.james-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.james-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 18px 6px 0;
}

.james-product-label {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .06em;
  color: #6d7a91;
  font-weight: 700;
  margin-bottom: 6px;
}

.james-product-name {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--james-heading);
}

.james-card-price-wrap {
  flex: 0 0 auto;
}

.james-product-price {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--james-primary);
  text-align: right;
}

.james-product-meta {
  font-size: 11px;
  line-height: 1.3;
  color: #6d7a91;
  font-weight: 600;
  text-align: right;
  margin-top: 2px;
}

.james-verified {
  position: absolute;
  left: -10px;
  bottom: -22px;
  z-index: 2;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(29, 52, 89, .18);
  padding: 14px 18px;
}

.james-verified-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--james-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.james-verified-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.james-verified-title {
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--james-heading);
}

.james-verified-subtitle {
  font-size: 12px;
  line-height: 1.35;
  color: var(--james-body);
  margin-top: 1px;
}

@media (max-width: 900px) {
  .james-hero-grid,
  .james-ratio-50-50 .james-hero-grid,
  .james-ratio-55-45 .james-hero-grid,
  .james-ratio-60-40 .james-hero-grid,
  .james-ratio-45-55 .james-hero-grid,
  .james-ratio-40-60 .james-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-mobile-first-card .james-card-wrap { grid-row: 1; }
  .james-mobile-first-card .james-hero-left { grid-row: 2; }

  .james-verified {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 20px;
    max-width: none;
  }

  .james-card-wrap {
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .james-hero {
    padding: 50px 20px;
  }

  .james-title {
    font-size: clamp(36px, 11vw, 46px);
  }

  .james-subtitle {
    font-size: 16px;
  }

  .james-cta-row {
    margin-bottom: 36px;
  }

  .james-btn {
    width: 100%;
  }

  .james-stats {
    gap: 24px 30px;
  }

  .james-card {
    padding: 14px 14px 22px;
    border-radius: 18px;
  }

  .james-card-footer {
    padding: 16px 4px 0;
  }
}

/* =========================================================
   OUR STORY WIDGET
   ========================================================= */
.james-story {
  background: #fafbfd;
  padding: 100px 5%;
}

.james-story-grid {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 70px;
}

.james-story-ratio-50-50 .james-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.james-story-ratio-45-55 .james-story-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.james-story-ratio-40-60 .james-story-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.james-story-ratio-55-45 .james-story-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.james-story-ratio-60-40 .james-story-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }

.james-story-copy,
.james-story-gallery { min-width: 0; }

.james-story-eyebrow {
  margin: 0 0 14px;
  color: var(--james-primary);
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .12em;
}

.james-story-title {
  margin: 0 0 26px;
  color: var(--james-heading);
  font-size: clamp(32px, 3.5vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
}

.james-story-text {
  max-width: 480px;
  color: var(--james-body);
  font-size: 16px;
  line-height: 1.7;
}

.james-story-text + .james-story-text { margin-top: 20px; }
.james-story-text p { margin: 0; }

.james-story-btn {
  margin-top: 34px;
  color: #fff;
  background: var(--james-heading);
}

.james-story-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.james-media-card {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.james-story-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #eceef3;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(29, 52, 89, .08);
}

.james-story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .james-story-grid,
  .james-story-ratio-50-50 .james-story-grid,
  .james-story-ratio-45-55 .james-story-grid,
  .james-story-ratio-40-60 .james-story-grid,
  .james-story-ratio-55-45 .james-story-grid,
  .james-story-ratio-60-40 .james-story-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-story-mobile-first-gallery .james-story-gallery { grid-row: 1; }
  .james-story-mobile-first-gallery .james-story-copy { grid-row: 2; }
}

@media (max-width: 767px) {
  .james-story { padding: 50px 20px; }
  .james-story-title { font-size: 32px; }
}

.james-story-no-gallery .james-story-grid { grid-template-columns: minmax(0, 1fr); }

/* Quality Standard: shares .james-section, .james-container, .james-grid,
   .james-btn, .james-btn-icon, .james-media-card and brand variables. */
.james-quality {
  background: radial-gradient(ellipse at top left, var(--james-quality-bg-outer, #2c378c) 0%, var(--james-quality-bg-centre, #27317c) 60%, var(--james-quality-bg-outer, #2c378c) 100%);
  padding: 100px 5%;
}

.james-quality-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 70px;
}

.james-quality-ratio-50-50 .james-quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.james-quality-ratio-45-55 .james-quality-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.james-quality-ratio-40-60 .james-quality-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.james-quality-ratio-55-45 .james-quality-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.james-quality-ratio-60-40 .james-quality-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }

.james-quality-copy,
.james-quality-gallery { min-width: 0; }

.james-quality-eyebrow,
.james-testi-eyebrow {
  margin: 0 0 14px;
  color: var(--james-secondary);
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .14em;
}

.james-quality-title {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
}

.james-quality-accent {
  --james-accent-start: var(--james-secondary);
  --james-accent-end: #7d9bff;
  display: block;
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(90deg, var(--james-accent-start), var(--james-accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.james-quality-sub {
  max-width: 480px;
  margin: 0 0 34px;
  color: #c7cee8;
  font-size: 15.5px;
  line-height: 1.7;
}

.james-quality-sub p { margin: 0; }

.james-quality-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 0 36px;
}

.james-quality-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.james-quality-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7d9bff;
  background: #171d3d;
  border: 1px solid #2a3161;
  border-radius: 10px;
}

.james-quality-icon svg { width: 17px; height: 17px; fill: currentColor; }
.james-quality-item-copy { min-width: 0; }

.james-quality-item-title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 700;
}

.james-quality-item-text {
  margin: 0;
  color: #aeb6d0;
  font-size: 13.5px;
  line-height: 1.55;
}

.james-quality-btn { color: var(--james-heading); background: #fff; }

.james-quality-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.james-quality-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #eceef3;
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .35);
}

.james-quality-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.james-quality-align-center .james-quality-copy { text-align: center; }
.james-quality-align-right .james-quality-copy { text-align: right; }
.james-quality-align-center .james-quality-sub,
.james-quality-align-center .james-quality-accent { margin-left: auto; margin-right: auto; }
.james-quality-align-right .james-quality-sub,
.james-quality-align-right .james-quality-accent { margin-left: auto; }
.james-quality-align-center .james-quality-item { justify-content: center; text-align: left; }
.james-quality-align-right .james-quality-item { flex-direction: row-reverse; }
.james-quality-no-gallery .james-quality-grid { grid-template-columns: minmax(0, 1fr); }

/* Testimonials + CTA: common buttons and containers are inherited. */
.james-testimonials {
  background: #fafbfd;
  padding: 90px 5% 100px;
}

.james-testi-head {
  max-width: 700px;
  margin: 0 auto 46px;
  text-align: center;
}

.james-testi-eyebrow { color: var(--james-primary); margin-bottom: 12px; }

.james-testi-title {
  margin: 0 0 14px;
  color: var(--james-heading);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}

.james-testi-subtitle {
  margin: 0;
  color: var(--james-body);
  font-size: 15.5px;
  line-height: 1.6;
}

.james-testi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 60px;
}

.james-testi-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e7e9f3;
  border-radius: 16px;
  padding: 28px 24px;
}

.james-testi-quote {
  display: inline-flex;
  margin: 0 0 14px;
  color: var(--james-primary);
  font-size: 26px;
  line-height: 1;
}

.james-testi-quote svg { width: 1em; height: 1em; fill: currentColor; }

.james-testi-text {
  margin: 0 0 18px;
  color: #444a5c;
  font-size: 14px;
  line-height: 1.6;
}

.james-testi-author {
  color: #6d7a91;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .04em;
}

.james-testi-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 60px;
  color: #fff;
  background: linear-gradient(110deg, var(--james-primary) 0%, #2650f0 55%, var(--james-secondary) 100%);
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(3, 78, 163, .28);
}

.james-testi-cta-copy { min-width: 0; }

.james-testi-cta-title {
  max-width: 520px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 800;
}

.james-testi-cta-text {
  max-width: 480px;
  margin: 0;
  color: #dbe2ff;
  font-size: 15px;
  line-height: 1.6;
}

.james-testi-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 14px;
}

.james-testi-btn-primary { color: var(--james-heading); background: #fff; }
.james-testi-btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .45);
}

@media (max-width: 1000px) {
  .james-testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .james-quality-grid,
  .james-quality-ratio-50-50 .james-quality-grid,
  .james-quality-ratio-45-55 .james-quality-grid,
  .james-quality-ratio-40-60 .james-quality-grid,
  .james-quality-ratio-55-45 .james-quality-grid,
  .james-quality-ratio-60-40 .james-quality-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-quality-mobile-first-gallery .james-quality-gallery { grid-row: 1; }
  .james-quality-mobile-first-gallery .james-quality-copy { grid-row: 2; }
  .james-testi-cta { padding: 44px 34px; }
}

@media (max-width: 767px) {
  .james-quality,
  .james-testimonials { padding: 50px 20px; }

  .james-quality-title { font-size: 30px; }
  .james-testi-grid { grid-template-columns: minmax(0, 1fr); }
  .james-testi-cta { align-items: flex-start; flex-direction: column; }
  .james-testi-actions { width: 100%; }
  .james-testi-btn-primary,
  .james-testi-btn-secondary { flex: 1 1 180px; }
}

@media (max-width: 560px) {
  .james-quality-gallery { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .james-testi-actions { flex-direction: column; }
  .james-testi-btn-primary,
  .james-testi-btn-secondary { width: 100%; flex-basis: auto; }
}

/* Specialised Services: built on the shared James section and container foundation. */
.james-services {
  background: #f5f6fc;
  padding: 90px 5%;
}

.james-services-inner { max-width: 1360px; }

.james-services-head {
  margin-bottom: 50px;
  text-align: center;
}

.james-services-eyebrow {
  margin-bottom: 10px;
  color: var(--james-primary);
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .14em;
}

.james-services-title {
  margin: 0;
  color: var(--james-heading);
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}

.james-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.james-service-card {
  display: block;
  min-width: 0;
  padding: 40px 30px 34px;
  color: inherit;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e7e9f3;
  border-radius: 16px;
}

a.james-service-card:hover,
a.james-service-card:focus {
  color: inherit;
  text-decoration: none;
}

.james-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--james-primary), var(--james-secondary));
  border-radius: 14px;
  box-shadow: 0 0 0 10px rgba(3, 78, 163, .08);
}

.james-service-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.james-service-title {
  margin: 0 0 10px;
  color: var(--james-heading);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.james-service-text {
  margin: 0;
  color: var(--james-body);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .james-services { padding: 50px 20px; }
}

.james-services-align-left .james-service-card { text-align: left; }
.james-services-align-left .james-service-icon { margin-left: 0; margin-right: auto; }
.james-services-align-center .james-service-card { text-align: center; }
.james-services-align-center .james-service-icon { margin-left: auto; margin-right: auto; }
.james-services-align-right .james-service-card { text-align: right; }
.james-services-align-right .james-service-icon { margin-left: auto; margin-right: 0; }

/* James Header — shares the Inter font and James brand variables. */
.james-header {
  --james-primary: #034ea3;
  --james-secondary: #00aeed;
  --james-body: #1d3459;
  --james-heading: #0d1220;
  position: relative;
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-sizing: border-box;
  isolation: isolate;
}

.james-header *,
.james-header *::before,
.james-header *::after { box-sizing: border-box; }

.james-header-force-full-yes .james-header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.james-header-sticky-yes .james-header {
  position: sticky;
  top: 0;
}

.james-header-inner {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-header-top {
  background: #203f6c;
  color: #fff;
}

.james-header-top-inner {
  min-height: 40px;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  line-height: 1.35;
}

.james-header-notice { color: #fff; }

.james-header-top-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 30px;
  margin-left: auto;
}

.james-header-top-link {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.james-header-top-link:hover,
.james-header-top-link:focus {
  color: var(--james-secondary);
  text-decoration: none;
}

.james-header-main {
  position: relative;
  background: #fff;
}

.james-header-main-inner {
  min-height: 86px;
  padding-inline: 20px;
  display: flex;
  align-items: center;
}

.james-header-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.james-header-logo img {
  display: block;
  width: 190px;
  max-width: 100%;
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

.james-header-site-title {
  display: block;
  color: var(--james-primary);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  text-decoration: none;
}

.james-header-nav {
  min-width: 0;
  margin-left: 70px;
}

.james-header-menu,
.james-header-menu ul {
  list-style: none;
  margin: 0;
}

.james-header-nav > .james-header-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
}

.james-header-nav .james-header-menu > li {
  position: relative;
  margin: 0;
  padding: 0;
}

.james-header-nav .james-header-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 28px 0;
  color: var(--james-heading);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.james-header-dropdown-arrows-yes .james-header-nav .james-header-menu > .menu-item-has-children > a::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--james-body);
  border-bottom: 1.5px solid var(--james-body);
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  transition: transform .2s ease;
}

.james-header-nav .james-header-menu > li > a:hover,
.james-header-nav .james-header-menu > li > a:focus,
.james-header-nav .james-header-menu > .current-menu-item > a,
.james-header-nav .james-header-menu > .current-menu-ancestor > a {
  color: var(--james-primary);
}

.james-header-nav .sub-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% - 8px);
  left: -10px;
  min-width: 230px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(29, 52, 89, .1);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(29, 52, 89, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.james-header-nav .sub-menu .sub-menu {
  top: -10px;
  left: calc(100% + 6px);
}

.james-header-nav li:hover > .sub-menu,
.james-header-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.james-header-nav .sub-menu li {
  position: relative;
  margin: 0;
}

.james-header-nav .sub-menu a {
  display: block;
  padding: 11px 13px;
  color: var(--james-body);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
  border-radius: 7px;
  transition: color .2s ease, background-color .2s ease;
}

.james-header-nav .sub-menu a:hover,
.james-header-nav .sub-menu a:focus,
.james-header-nav .sub-menu .current-menu-item > a {
  color: var(--james-primary);
  background: #f2f7fc;
}

.james-header-menu-notice {
  color: var(--james-body);
  font-size: 13px;
  line-height: 1.4;
}

.james-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex: 0 0 auto;
}

.james-header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #034ea3;
  background: transparent;
  border: 0;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.james-header-action:hover,
.james-header-action:focus {
  color: #023b7c;
  text-decoration: none;
  transform: translateY(-1px);
}

.james-header-action i,
.james-header-action svg {
  display: block;
  width: 22px;
  height: 22px;
  font-size: 22px;
  fill: currentColor;
}

.james-header-cart-fragment {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #203f6c;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
}

.james-header-hide-zero-yes .james-header-cart-fragment.is-empty { display: none; }

.james-header-mobile-toggle { display: none; }
.james-header-mobile-close-icon { display: none; }
.james-header.is-mobile-menu-open .james-header-mobile-open-icon { display: none; }
.james-header.is-mobile-menu-open .james-header-mobile-close-icon { display: inline-flex; }

.james-header-search-panel {
  position: absolute;
  z-index: 30;
  top: 100%;
  right: 0;
  left: 0;
  background: #fff;
  border-top: 1px solid rgba(29, 52, 89, .08);
  box-shadow: 0 18px 35px rgba(29, 52, 89, .12);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}

.james-header-search-panel.is-open {
  opacity: 1;
  transform: translateY(0);
}

.james-header-search-panel-inner { padding: 20px; }

.james-header-search-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: stretch;
  gap: 10px;
}

.james-header-search-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--james-body);
  background: #f5f8fc;
  border: 1px solid rgba(29, 52, 89, .14);
  border-radius: 8px;
  font: inherit;
  outline: 0;
}

.james-header-search-input:focus {
  border-color: var(--james-secondary);
  box-shadow: 0 0 0 3px rgba(0, 174, 237, .13);
}

.james-header-search-submit {
  min-height: 48px;
  padding: 12px 24px;
  color: #fff;
  background: var(--james-primary);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.james-header-search-close {
  width: 48px;
  min-height: 48px;
  padding: 0;
  color: var(--james-body);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.james-header-overlay {
  position: fixed;
  z-index: 998;
  inset: 0;
  background: rgba(13, 18, 32, .55);
  opacity: 0;
  transition: opacity .25s ease;
}

.james-header.is-mobile-menu-open .james-header-overlay { opacity: 1; }

.james-header-mobile-panel {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  max-width: 100%;
  padding: 24px 24px 36px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--james-heading);
  background: #fff;
  box-shadow: -24px 0 55px rgba(13, 18, 32, .2);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .28s ease, visibility .28s ease;
}

.james-header.is-mobile-menu-open .james-header-mobile-panel {
  transform: translateX(0);
  visibility: visible;
}

.james-header-mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(29, 52, 89, .1);
}

.james-header-mobile-panel-title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
}

.james-header-mobile-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--james-primary);
  background: #f2f7fc;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.james-header-mobile-panel-close i,
.james-header-mobile-panel-close svg {
  width: 18px;
  height: 18px;
  font-size: 18px;
  fill: currentColor;
}

.james-header-mobile-panel .james-header-menu {
  display: block;
  padding: 0;
}

.james-header-mobile-panel .james-header-menu li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid rgba(29, 52, 89, .08);
}

.james-header-mobile-panel .james-header-menu a {
  display: block;
  padding: 15px 44px 15px 0;
  color: var(--james-heading);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
}

.james-header-mobile-panel .sub-menu {
  display: none;
  padding: 0 0 8px 16px;
}

.james-header-mobile-panel .is-submenu-open > .sub-menu { display: block; }

.james-header-mobile-panel .sub-menu li { border-bottom: 0; }

.james-header-mobile-panel .sub-menu a {
  padding: 10px 36px 10px 0;
  color: var(--james-body);
  font-size: 14px;
  font-weight: 600;
}

.james-header-submenu-toggle {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--james-body);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.james-header-submenu-toggle span {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .2s ease;
}

.james-header-mobile-panel .is-submenu-open > .james-header-submenu-toggle span {
  transform: rotate(225deg) translate(-1px, -1px);
}

html.james-header-menu-lock,
html.james-header-menu-lock body { overflow: hidden; }

/* Header breakpoint helpers. */
@media (max-width: 1199px) {
  .james-header-breakpoint-1200 .james-header-nav { display: none; }
  .james-header-breakpoint-1200 .james-header-mobile-toggle { display: inline-flex; }
}

@media (max-width: 1023px) {
  .james-header-breakpoint-1024 .james-header-nav { display: none; }
  .james-header-breakpoint-1024 .james-header-mobile-toggle { display: inline-flex; }
}

@media (max-width: 899px) {
  .james-header-breakpoint-900 .james-header-nav { display: none; }
  .james-header-breakpoint-900 .james-header-mobile-toggle { display: inline-flex; }
}

@media (max-width: 767px) {
  .james-header-breakpoint-768 .james-header-nav { display: none; }
  .james-header-breakpoint-768 .james-header-mobile-toggle { display: inline-flex; }
}

@media (max-width: 1023px) {
  .james-header-top-inner {
    min-height: 38px;
    padding-block: 8px;
  }

  .james-header-top-links-hide-mobile { display: none; }

  .james-header-notice {
    width: 100%;
    text-align: center;
  }

  .james-header-main-inner { min-height: 76px; }
  .james-header-actions { gap: 10px; }
  .james-header-logo img { width: 165px; }
}

@media (max-width: 767px) {
  .james-header-top-inner { font-size: 12px; }
  .james-header-main-inner { min-height: 68px; padding-inline: 16px; }
  .james-header-logo img { width: 145px; max-height: 48px; }
  .james-header-action { width: 32px; height: 32px; }
  .james-header-action i,
  .james-header-action svg { width: 20px; height: 20px; font-size: 20px; }
  .james-header-actions { gap: 6px; }
  .james-header-search-form { grid-template-columns: minmax(0, 1fr) auto; }
  .james-header-search-close { grid-column: 1 / -1; width: 100%; min-height: 38px; font-size: 25px; }
  .james-header-search-submit { padding-inline: 16px; }
}

@media (max-width: 420px) {
  .james-header-account { display: none; }
  .james-header-logo img { width: 128px; }
}

/* Dynamic WooCommerce products. Reuses .james-section and .james-container. */
.james-products {
  padding: 80px 24px;
  background: #fff;
}

.james-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.james-products-heading-copy { min-width: 0; }

.james-products-eyebrow {
  margin-bottom: 22px;
  color: var(--james-primary);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.james-products-title {
  margin: 0;
  color: var(--james-heading);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .025em;
}

.james-products-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 6px;
  padding: 8px 0;
  color: var(--james-primary);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}

.james-products-view-all:hover,
.james-products-view-all:focus {
  color: var(--james-secondary);
  text-decoration: none;
  transform: translateX(2px);
}

.james-products-view-all-icon,
.james-products-view-all-icon i,
.james-products-view-all-icon svg {
  display: inline-flex;
  width: 10px;
  height: 10px;
  align-items: center;
  justify-content: center;
  fill: currentColor;
  font-size: 10px;
}

.james-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 24px;
}

.james-product-card {
  min-width: 0;
  height: 100%;
  padding: 16px 16px 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.james-product-card:hover {
  border-color: rgba(3, 78, 163, .25);
  box-shadow: 0 18px 40px rgba(29, 52, 89, .1);
}

.james-product-card-image {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  background: #f5f8f9;
  border-radius: 10px;
  text-decoration: none;
}

.james-products-ratio-square .james-product-card-image { aspect-ratio: 1 / 1; }
.james-products-ratio-4-3 .james-product-card-image { aspect-ratio: 4 / 3; }
.james-products-ratio-3-4 .james-product-card-image { aspect-ratio: 3 / 4; }
.james-products-ratio-auto .james-product-card-image { aspect-ratio: auto; }

.james-product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  transition: transform .28s ease;
}

.james-product-card:hover .james-product-card-image img { transform: scale(1.025); }

.james-product-sale-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  color: #fff;
  background: var(--james-primary);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
}

.james-product-card-content { padding: 22px 14px 0; }

.james-product-category {
  margin-bottom: 8px;
  color: var(--james-body);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.james-product-card-title {
  margin: 0 0 14px;
  color: var(--james-heading);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.james-product-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.james-product-card-title a:hover,
.james-product-card-title a:focus {
  color: var(--james-primary);
  text-decoration: none;
}

.james-product-card-rating {
  min-height: 1em;
  margin: -4px 0 12px;
}

.james-product-card-rating .star-rating {
  float: none;
  margin: 0;
}

.james-product-card-price {
  color: #176f7f;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
}

.james-product-card-price del {
  margin-right: 5px;
  color: #8a8f9e;
  opacity: .7;
  font-size: .82em;
}

.james-product-card-price ins {
  color: inherit;
  text-decoration: none;
}

.james-products-empty,
.james-products-notice {
  padding: 18px 20px;
  color: var(--james-body);
  background: #f5f8fc;
  border: 1px solid rgba(3, 78, 163, .14);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1023px) {
  .james-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .james-products { padding: 48px 16px; }
  .james-products-head { align-items: flex-start; }
  .james-products-title { font-size: 28px; }
}

@media (max-width: 560px) {
  .james-products-head {
    flex-direction: column;
    gap: 12px;
  }

  .james-products-view-all { align-self: flex-start; }
  .james-products-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Responsive editable footer. Reuses .james-section and .james-container. */
.james-footer {
  --james-footer-heading: #142f55;
  --james-footer-body: #1d3459;
  overflow: visible;
}

.james-footer-container { max-width: 1360px; }

.james-footer-benefits {
  padding: 28px 24px;
  background: #034ea3;
}

.james-footer-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.james-footer-benefit {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding-right: 30px;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.james-footer-benefit:last-child { border-right: 0; padding-right: 0; }

.james-footer-benefit-icon {
  width: 48px;
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 48px;
  line-height: 1;
}

.james-footer-benefit-icon i,
.james-footer-benefit-icon svg {
  display: block;
  width: 48px;
  height: 48px;
  fill: currentColor;
}

.james-footer-benefit-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.james-footer-benefit-description {
  max-width: 230px;
  color: #fff;
  font-size: 15px;
  line-height: 1.55;
}

.james-footer-main {
  padding: 96px 24px 86px;
  background: #eef5fb;
}

.james-footer-main-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.45fr) repeat(4, minmax(135px, 1fr));
  column-gap: 52px;
  row-gap: 42px;
  align-items: start;
}

.james-footer-brand {
  min-width: 0;
  padding-right: 54px;
  border-right: 1px solid #cbd7e3;
}

.james-footer-logo {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 24px;
  color: var(--james-footer-heading);
  text-decoration: none;
}

.james-footer-logo:hover,
.james-footer-logo:focus { color: var(--james-primary); text-decoration: none; }

.james-footer-logo img {
  display: block;
  width: 215px;
  max-width: 100%;
  height: auto;
}

.james-footer-site-name {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.james-footer-brand-description {
  max-width: 290px;
  color: var(--james-footer-body);
  font-size: 16px;
  line-height: 1.72;
}

.james-footer-brand-description p { margin: 0 0 1em; }
.james-footer-brand-description p:last-child { margin-bottom: 0; }

.james-footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.james-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #203b63;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.james-footer-social-link:hover,
.james-footer-social-link:focus {
  color: var(--james-secondary);
  transform: translateY(-2px);
  text-decoration: none;
}

.james-footer-social-link i,
.james-footer-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.james-footer-column { min-width: 0; }

.james-footer-column-title {
  margin: 0 0 32px;
  color: var(--james-footer-heading);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
}

.james-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.james-footer-link {
  color: var(--james-footer-body);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.james-footer-link:hover,
.james-footer-link:focus {
  color: var(--james-secondary);
  transform: translateX(2px);
  text-decoration: none;
}

.james-footer-bottom {
  padding: 24px;
  background: #eef5fb;
  border-top: 1px solid #cbd7e3;
}

.james-footer-bottom-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 44px;
}

.james-footer-copyright,
.james-footer-notice {
  color: var(--james-footer-body);
  font-size: 13px;
  line-height: 1.5;
}

.james-footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.james-footer-bottom-link {
  color: var(--james-footer-heading);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.james-footer-bottom-link:hover,
.james-footer-bottom-link:focus { color: var(--james-secondary); text-decoration: none; }

.james-footer-notice { text-align: right; }
.james-footer-notice p { margin: 0; }

@media (max-width: 1200px) {
  .james-footer-benefit { gap: 18px; padding-right: 20px; }
  .james-footer-benefit-title { font-size: 21px; }
  .james-footer-main-grid { column-gap: 34px; }
  .james-footer-brand { padding-right: 34px; }
}

@media (max-width: 1023px) {
  .james-footer-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .james-footer-benefit:nth-child(2n) { border-right: 0; padding-right: 0; }
  .james-footer-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .james-footer-brand {
    grid-column: 1 / -1;
    padding: 0 0 42px;
    border-right: 0;
    border-bottom: 1px solid #cbd7e3;
  }
  .james-footer-brand-description { max-width: 560px; }
  .james-footer-bottom-grid { grid-template-columns: 1fr; text-align: center; }
  .james-footer-notice { text-align: center; }
}

@media (max-width: 767px) {
  .james-footer-benefits-grid { grid-template-columns: minmax(0, 1fr); }
  .james-footer-benefit,
  .james-footer-benefit:nth-child(2n) {
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }
  .james-footer-benefit:last-child { padding-bottom: 0; border-bottom: 0; }
  .james-footer-benefit-description { max-width: none; }
  .james-footer-main-grid { grid-template-columns: minmax(0, 1fr); }
  .james-footer-brand { grid-column: auto; }
  .james-footer-column-title { margin-bottom: 20px; }
  .james-footer-links { gap: 14px; }
  .james-footer-bottom-links { justify-content: flex-start; }
  .james-footer-mobile-align-center .james-footer-main-grid,
  .james-footer-mobile-align-center .james-footer-bottom-grid { text-align: center; }
  .james-footer-mobile-align-center .james-footer-links { align-items: center; }
  .james-footer-mobile-align-center .james-footer-socials,
  .james-footer-mobile-align-center .james-footer-bottom-links { justify-content: center; }
  .james-footer-mobile-align-center .james-footer-logo { justify-content: center; }
  .james-footer-mobile-align-center .james-footer-brand-description { margin-inline: auto; }
  .james-footer-mobile-align-center .james-footer-notice { text-align: center; }
  .james-footer-mobile-align-right .james-footer-main-grid,
  .james-footer-mobile-align-right .james-footer-bottom-grid { text-align: right; }
  .james-footer-mobile-align-right .james-footer-links { align-items: flex-end; }
  .james-footer-mobile-align-right .james-footer-socials,
  .james-footer-mobile-align-right .james-footer-bottom-links { justify-content: flex-end; }
  .james-footer-mobile-align-right .james-footer-logo { justify-content: flex-end; }
  .james-footer-mobile-align-right .james-footer-brand-description { margin-left: auto; }
  .james-footer-mobile-align-right .james-footer-notice { text-align: right; }
}

@media (max-width: 480px) {
  .james-footer-benefit { grid-template-columns: 38px minmax(0, 1fr); gap: 16px; }
  .james-footer-benefit-icon,
  .james-footer-benefit-icon i,
  .james-footer-benefit-icon svg { width: 38px; height: 38px; font-size: 38px; }
  .james-footer-benefit-title { font-size: 19px; }
  .james-footer-socials { margin-top: 24px; }
  .james-footer-bottom-links { flex-direction: column; align-items: flex-start; }
  .james-footer-mobile-align-center .james-footer-bottom-links { align-items: center; }
  .james-footer-mobile-align-right .james-footer-bottom-links { align-items: flex-end; }
}

/* James – About Hero */
.james-about-hero {
  --james-about-gradient-start: #e9edf3;
  --james-about-gradient-end: #d9dee7;
  --james-about-gradient-angle: 180deg;
  --james-about-accent-start: #034ea3;
  --james-about-accent-end: #00aeed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 20px;
  background: #e9edf3;
  text-align: center;
}

.james-about-hero-default-gradient {
  background: linear-gradient(
    var(--james-about-gradient-angle),
    var(--james-about-gradient-start) 0%,
    var(--james-about-gradient-end) 100%
  );
}

.james-about-hero-inner {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-about-hero-eyebrow {
  display: block;
  margin: 0 0 20px;
  color: var(--james-primary);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.james-about-hero-heading {
  width: 100%;
  margin: 0 auto;
  color: #0b1220;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.james-about-hero-main,
.james-about-hero-accent {
  white-space: normal;
}

.james-about-hero-accent {
  display: block;
  color: var(--james-secondary);
}

.james-about-hero-gradient-accent .james-about-hero-accent {
  background: linear-gradient(90deg, var(--james-about-accent-start), var(--james-about-accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .james-about-hero { padding: 80px 20px; }
  .james-about-hero-heading { font-size: 42px; }
  .james-about-hero-eyebrow { font-size: 11px; letter-spacing: 3px; }
}

@media (max-width: 480px) {
  .james-about-hero { padding: 60px 16px; }
  .james-about-hero-heading { font-size: 30px; line-height: 1.3; }
  .james-about-hero-eyebrow { margin-bottom: 14px; letter-spacing: 2px; }
}

/* James – Story Content */
.james-story-content-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 20px;
  background: #fdfdff;
}

.james-story-content-inner {
  width: 100%;
  max-width: 1360px;
  color: var(--james-body);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.8;
}

.james-story-content-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.james-story-content-item,
.james-story-content-item > :first-child { margin-top: 0; }
.james-story-content-item,
.james-story-content-item > :last-child { margin-bottom: 0; }
.james-story-content-item p { margin: 0 0 1em; }
.james-story-content-item a { color: var(--james-primary); transition: color .2s ease; }
.james-story-content-item a:hover,
.james-story-content-item a:focus { color: var(--james-secondary); }
.james-story-content-item img { max-width: 100%; height: auto; }

@media (max-width: 767px) {
  .james-story-content-section { padding: 80px 20px; }
  .james-story-content-inner { font-size: 17px; }
  .james-story-content-list { gap: 26px; }
}

@media (max-width: 480px) {
  .james-story-content-section { padding: 60px 16px; }
  .james-story-content-inner { font-size: 16px; line-height: 1.7; }
  .james-story-content-list { gap: 22px; }
}


/* =========================================================
   VALUES / WHAT WE STAND FOR WIDGET
   ========================================================= */
.james-values-section {
  background: #f3f5f8;
  padding: 100px 20px;
}

.james-values-inner {
  max-width: 1360px;
}

.james-values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
}

.james-values-ratio-50-50 .james-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.james-values-ratio-45-55 .james-values-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.james-values-ratio-40-60 .james-values-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.james-values-ratio-55-45 .james-values-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.james-values-ratio-60-40 .james-values-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }

.james-values-image-wrap,
.james-values-content {
  min-width: 0;
}

.james-values-image {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.james-values-heading {
  margin: 0 0 30px;
  color: #0b1220;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.2;
  font-weight: 800;
}

.james-values-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.james-values-item-title {
  display: block;
  margin: 0 0 5px;
  color: #0b1220;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.james-values-item-text {
  margin: 0;
  color: #5a6472;
  font-size: 16px;
  line-height: 1.7;
}

.james-values-button-wrap {
  margin-top: 35px;
}

.james-values-button {
  color: #ffffff;
  background: linear-gradient(90deg, #2f5eff, #1f3fd1);
}

@media (max-width: 900px) {
  .james-values-grid,
  .james-values-ratio-50-50 .james-values-grid,
  .james-values-ratio-45-55 .james-values-grid,
  .james-values-ratio-40-60 .james-values-grid,
  .james-values-ratio-55-45 .james-values-grid,
  .james-values-ratio-60-40 .james-values-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-values-mobile-first-content .james-values-content { grid-row: 1; }
  .james-values-mobile-first-content .james-values-image-wrap { grid-row: 2; }
}

@media (max-width: 767px) {
  .james-values-section {
    padding: 60px 16px;
  }

  .james-values-heading {
    font-size: 28px;
  }
}

.james-values-no-image .james-values-grid {
  grid-template-columns: minmax(0, 1fr);
}


/* Shared site-width alignment: matches the Header and Footer default container. */
.james-section .james-container,
.james-services-inner {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}


/* Header-width alignment is applied only to verified inner wrappers by
   james-layout-sync.js. Widget backgrounds and outer sections stay full width. */

/* Prevent Elementor containers or widget wrappers from adding horizontal overflow. */
.elementor-widget-james_about_hero,
.elementor-widget-james_story_content,
.elementor-widget-james_values_section,
.elementor-widget-james_hero,
.elementor-widget-james_our_story,
.elementor-widget-james_quality_standard,
.elementor-widget-james_testimonials,
.elementor-widget-james_specialised_services,
.elementor-widget-james_woocommerce_products,
.elementor-widget-james_quality_page_hero,
.elementor-widget-james_quality_grid,
.elementor-widget-james_qa_pipeline,
.elementor-widget-james_faq_hero,
.elementor-widget-james_faq_accordion,
.elementor-widget-james_contact_hero,
.elementor-widget-james_contact_form,
.elementor-widget-james_footer {
  min-width: 0;
  max-width: 100%;
}

.elementor-widget-james_about_hero > .elementor-widget-container,
.elementor-widget-james_story_content > .elementor-widget-container,
.elementor-widget-james_values_section > .elementor-widget-container,
.elementor-widget-james_hero > .elementor-widget-container,
.elementor-widget-james_our_story > .elementor-widget-container,
.elementor-widget-james_quality_standard > .elementor-widget-container,
.elementor-widget-james_testimonials > .elementor-widget-container,
.elementor-widget-james_specialised_services > .elementor-widget-container,
.elementor-widget-james_woocommerce_products > .elementor-widget-container,
.elementor-widget-james_quality_page_hero > .elementor-widget-container,
.elementor-widget-james_quality_grid > .elementor-widget-container,
.elementor-widget-james_qa_pipeline > .elementor-widget-container,
.elementor-widget-james_faq_hero > .elementor-widget-container,
.elementor-widget-james_faq_accordion > .elementor-widget-container,
.elementor-widget-james_contact_hero > .elementor-widget-container,
.elementor-widget-james_contact_form > .elementor-widget-container,
.elementor-widget-james_footer > .elementor-widget-container {
  max-width: 100%;
  overflow-x: clip;
}


/* James – Quality Page Hero */
.james-qhero {
  --james-qhero-base: #05060f;
  --james-qhero-bg-start: #e9edf3;
  --james-qhero-bg-end: #d9dee7;
  --james-qhero-gradient-angle: 180deg;
  --james-qhero-glow: rgba(38, 60, 200, 0.45);
  --james-qhero-glow-width: 900px;
  --james-qhero-glow-height: 500px;
  --james-qhero-glow-x: 90%;
  --james-qhero-glow-y: 0%;
  --james-qhero-accent-start: #2b3fe0;
  --james-qhero-accent-end: #4d6bff;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 20px 110px;
  background: var(--james-qhero-base);
}

.james-qhero-default-layered {
  background:
    radial-gradient(
      ellipse var(--james-qhero-glow-width) var(--james-qhero-glow-height)
      at var(--james-qhero-glow-x) var(--james-qhero-glow-y),
      var(--james-qhero-glow) 0%,
      rgba(38, 60, 200, 0) 60%
    ),
    linear-gradient(
      var(--james-qhero-gradient-angle),
      var(--james-qhero-bg-start) 0%,
      var(--james-qhero-bg-end) 100%
    );
}

.james-qhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  pointer-events: none;
}

.james-qhero-has-overlay::before {
  display: block;
}

.james-qhero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-qhero-eyebrow {
  display: block;
  margin: 0 0 18px;
  color: #4d6bff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.james-qhero-heading {
  width: 100%;
  margin: 0 0 26px;
  color: #0b1220;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.james-qhero-main,
.james-qhero-accent {
  white-space: normal;
}

.james-qhero-accent {
  display: block;
  color: #00aeed;
}

.james-qhero-gradient-accent .james-qhero-accent {
  background: linear-gradient(90deg, var(--james-qhero-accent-start), var(--james-qhero-accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.james-qhero-subtitle {
  max-width: 620px;
  margin: 0;
  color: #5a6472;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
}

.james-qhero-subtitle p {
  margin: 0;
}

@media (max-width: 900px) {
  .james-qhero {
    padding: 90px 20px 80px;
  }

  .james-qhero-heading {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .james-qhero {
    padding: 80px 16px 70px;
  }

  .james-qhero-heading {
    font-size: 30px;
  }

  .james-qhero-subtitle {
    font-size: 15px;
  }
}


/* =========================================================
   QUALITY GRID WIDGET
   ========================================================= */
.james-qgrid-section {
  --james-qgrid-glow-inner: rgba(77, 107, 255, .25);
  --james-qgrid-glow-middle: rgba(77, 107, 255, .12);
  --james-qgrid-glow-size: 10px;
  --james-qgrid-glow-radius: 18px;
  background: #f5f6fc;
  padding: 90px 20px;
}

.james-qgrid-inner {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-qgrid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  align-items: stretch;
}

.james-qgrid-card {
  min-width: 0;
  height: 100%;
  display: block;
  padding: 34px 30px 30px;
  color: inherit;
  background: #fff;
  border: 1px solid #e7e9f3;
  border-radius: 16px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

a.james-qgrid-card:hover,
a.james-qgrid-card:focus {
  color: inherit;
  text-decoration: none;
}

.james-qgrid-icon-align-left .james-qgrid-icon { margin-left: 0; margin-right: auto; }
.james-qgrid-icon-align-center .james-qgrid-icon { margin-left: auto; margin-right: auto; }
.james-qgrid-icon-align-right .james-qgrid-icon { margin-left: auto; margin-right: 0; }

.james-qgrid-icon {
  position: relative;
  isolation: isolate;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px;
  color: #fff;
  background: linear-gradient(135deg, #2b3fe0, #4d6bff);
  border-radius: 13px;
  box-shadow:
    0 8px 18px rgba(43, 63, 224, .25),
    0 0 0 4px rgba(77, 107, 255, .08);
}

.james-qgrid-icon::before {
  content: "";
  position: absolute;
  inset: calc(var(--james-qgrid-glow-size) * -1);
  z-index: 0;
  border-radius: var(--james-qgrid-glow-radius);
  background: radial-gradient(
    circle,
    var(--james-qgrid-glow-inner) 0%,
    var(--james-qgrid-glow-middle) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.james-qgrid-no-glow .james-qgrid-icon::before {
  display: none;
}

.james-qgrid-icon i,
.james-qgrid-icon svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  color: currentColor;
  fill: currentColor;
  font-size: 24px;
}

.james-qgrid-icon svg path,
.james-qgrid-icon svg circle,
.james-qgrid-icon svg rect,
.james-qgrid-icon svg line,
.james-qgrid-icon svg polyline,
.james-qgrid-icon svg polygon {
  stroke: currentColor;
}

.james-qgrid-title {
  margin: 0 0 10px;
  color: #0d1220;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  transition: color .2s ease;
}

.james-qgrid-description {
  margin: 0;
  color: #6b7080;
  font-size: 14px;
  line-height: 1.6;
}

.james-qgrid-description p {
  margin: 0;
}

.james-qgrid-description p + p {
  margin-top: .75em;
}

@media (max-width: 900px) {
  .james-qgrid-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .james-qgrid-section {
    padding: 50px 16px;
  }

  .james-qgrid-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* =========================================================
   SIX-STAGE QA PIPELINE WIDGET
   ========================================================= */
.james-pipeline-section {
  --james-pipeline-number-start: #2b3fe0;
  --james-pipeline-number-end: #4d6bff;
  --james-pipeline-number-angle: 135deg;
  --james-pipeline-button-start: #1f2fc9;
  --james-pipeline-button-end: #4d6bff;
  background: #f5f6fc;
  padding: 90px 20px;
}

.james-pipeline-outer {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-pipeline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  align-items: center;
}

.james-pipeline-ratio-50-50 .james-pipeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.james-pipeline-ratio-45-55 .james-pipeline-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.james-pipeline-ratio-40-60 .james-pipeline-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.james-pipeline-ratio-55-45 .james-pipeline-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.james-pipeline-ratio-60-40 .james-pipeline-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }

.james-pipeline-inner,
.james-pipeline-media-wrap {
  width: 100%;
  min-width: 0;
}

.james-pipeline-inner {
  max-width: 100%;
  margin: 0;
}

.james-pipeline-media-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.james-pipeline-media {
  width: 100%;
  display: block;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
}

.james-pipeline-image {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
  transition: transform .3s ease, filter .3s ease;
}

.james-pipeline-heading {
  margin: 0 0 40px;
  color: #0d1220;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}

.james-pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 0 0 40px;
}

.james-pipeline-step {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.james-pipeline-number {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #2b3fe0;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
}

.james-pipeline-gradient-numbers .james-pipeline-number {
  background: linear-gradient(
    var(--james-pipeline-number-angle),
    var(--james-pipeline-number-start),
    var(--james-pipeline-number-end)
  );
}

.james-pipeline-text {
  min-width: 0;
  flex: 1 1 auto;
  color: #3a3f52;
  font-size: 16px;
  line-height: 1.5;
}

.james-pipeline-text p {
  margin: 0;
}

.james-pipeline-text p + p {
  margin-top: .75em;
}

.james-pipeline-button-wrap {
  display: flex;
  justify-content: flex-start;
}

.james-pipeline-button {
  color: #fff;
  background: #1f2fc9;
  box-shadow: 0 10px 24px rgba(43, 63, 224, .28);
}

.james-pipeline-gradient-button .james-pipeline-button {
  background: linear-gradient(90deg, var(--james-pipeline-button-start), var(--james-pipeline-button-end));
}

@media (max-width: 900px) {
  .james-pipeline-grid,
  .james-pipeline-ratio-50-50 .james-pipeline-grid,
  .james-pipeline-ratio-45-55 .james-pipeline-grid,
  .james-pipeline-ratio-40-60 .james-pipeline-grid,
  .james-pipeline-ratio-55-45 .james-pipeline-grid,
  .james-pipeline-ratio-60-40 .james-pipeline-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-pipeline-mobile-image-first .james-pipeline-media-wrap { grid-row: 1; }
  .james-pipeline-mobile-image-first .james-pipeline-inner { grid-row: 2; }
}

.james-pipeline-no-image .james-pipeline-grid {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 767px) {
  .james-pipeline-section {
    padding: 50px 16px;
  }

  .james-pipeline-heading {
    font-size: 26px;
  }

  .james-pipeline-step {
    gap: 15px;
  }

  .james-pipeline-text {
    font-size: 15px;
  }
}


/* =========================================================
   FAQ HERO WIDGET
   ========================================================= */
.james-faq-hero {
  --james-faq-bg-start: #e6ebf2;
  --james-faq-bg-end: #cfd6df;
  --james-faq-bg-angle: 180deg;
  position: relative;
  isolation: isolate;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 20px;
  overflow: hidden;
  background: #e6ebf2;
  text-align: center;
}

.james-faq-hero-default-gradient {
  background: linear-gradient(
    var(--james-faq-bg-angle),
    var(--james-faq-bg-start) 0%,
    var(--james-faq-bg-end) 100%
  );
}

.james-faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.james-faq-hero-site {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-faq-hero-inner {
  width: 100%;
  max-width: 850px;
  margin-inline: auto;
}

.james-faq-hero-eyebrow {
  margin: 0 0 20px;
  color: #3b5cff;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.james-faq-hero-heading {
  margin: 0 0 20px;
  color: #0b1220;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.james-faq-hero-subtitle {
  width: 100%;
  margin: 0;
  color: #5a6472;
  font-size: 18px;
  line-height: 1.7;
}

.james-faq-hero-subtitle p {
  margin: 0;
}

.james-faq-hero-subtitle p + p {
  margin-top: .8em;
}

@media (max-width: 767px) {
  .james-faq-hero {
    padding: 50px 16px;
  }

  .james-faq-hero-heading {
    font-size: 32px;
  }

  .james-faq-hero-subtitle {
    font-size: 15px;
  }
}


/* =========================================================
   FAQ ACCORDION WIDGET
   ========================================================= */
.james-faq-accordion-section {
  --james-faq-bg-start: #f9fafb;
  --james-faq-bg-end: #eef2f7;
  --james-faq-bg-angle: 180deg;
  position: relative;
  padding: 80px 20px;
  background: #f9fafb;
}

.james-faq-accordion-gradient {
  background: linear-gradient(var(--james-faq-bg-angle), var(--james-faq-bg-start) 0%, var(--james-faq-bg-end) 100%);
}

.james-faq-accordion-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.james-faq-accordion-has-overlay::before {
  opacity: .35;
}

.james-faq-accordion-site,
.james-faq-accordion-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
}

.james-faq-accordion-site {
  max-width: 1360px;
}

.james-faq-accordion-inner {
  max-width: 900px;
}

.james-faq-category {
  margin: 30px 0 16px;
  color: #111827;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

.james-faq-category:first-child {
  margin-top: 0;
}

.james-faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.james-faq-item + .james-faq-item {
  margin-top: 12px;
}

.james-faq-item:hover,
.james-faq-item[open] {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.james-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.james-faq-question::-webkit-details-marker {
  display: none;
}

.james-faq-question::marker {
  display: none;
  content: "";
}

.james-faq-question-text {
  min-width: 0;
}

.james-faq-toggle {
  --james-faq-icon-colour: #6b7280;
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-left: 14px;
}

.james-faq-icon-chevron .james-faq-toggle {
  border-right: 2px solid var(--james-faq-icon-colour);
  border-bottom: 2px solid var(--james-faq-icon-colour);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}

.james-faq-icon-chevron .james-faq-item[open] .james-faq-toggle {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.james-faq-icon-plus .james-faq-toggle::before,
.james-faq-icon-plus .james-faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--james-faq-icon-colour);
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .25s ease;
}

.james-faq-icon-plus .james-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.james-faq-icon-plus .james-faq-item[open] .james-faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.james-faq-answer {
  padding: 0 20px 18px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.james-faq-answer > :first-child {
  margin-top: 0;
}

.james-faq-answer > :last-child {
  margin-bottom: 0;
}

.james-faq-answer a {
  color: var(--james-primary);
}

@media (max-width: 767px) {
  .james-faq-accordion-section {
    padding: 50px 16px;
  }

  .james-faq-category {
    font-size: 18px;
  }

  .james-faq-question {
    padding: 16px;
    font-size: 14.5px;
  }

  .james-faq-answer {
    padding: 0 16px 16px;
  }
}


/* =========================================================
   CONTACT HERO WIDGET
   ========================================================= */
.james-contact-hero {
  --james-contact-bg-start: #cfd6df;
  --james-contact-bg-end: #e5e9f0;
  --james-contact-bg-angle: 180deg;
  position: relative;
  isolation: isolate;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 20px;
  overflow: hidden;
  background: #cfd6df;
  text-align: center;
}

.james-contact-hero-default-gradient {
  background: linear-gradient(
    var(--james-contact-bg-angle),
    var(--james-contact-bg-start) 0%,
    var(--james-contact-bg-end) 100%
  );
}

.james-contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.james-contact-hero-site {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-contact-hero-inner {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.james-contact-hero-eyebrow {
  margin: 0 0 20px;
  color: #2563eb;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.james-contact-hero-heading {
  display: inline-block;
  width: 100%;
  max-width: 980px;
  margin: 0 0 20px;
  color: #0b1220;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.james-contact-hero-subtitle {
  display: inline-block;
  width: 100%;
  max-width: 620px;
  margin: 0;
  vertical-align: top;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

.james-contact-hero-subtitle p { margin: 0; }
.james-contact-hero-subtitle p + p { margin-top: .8em; }

@media (max-width: 700px) {
  .james-contact-hero { padding: 56px 20px; }
  .james-contact-hero-heading { font-size: 36px; }
}

@media (max-width: 420px) {
  .james-contact-hero { padding-inline: 16px; }
  .james-contact-hero-eyebrow { letter-spacing: 2.5px; }
  .james-contact-hero-heading { font-size: 28px; }
  .james-contact-hero-subtitle { font-size: 14.5px; }
}


/* =========================================================
   CONTACT FORM SECTION WIDGET
   ========================================================= */
.james-contact-form-section {
  --james-contact-form-bg-start: #f3f5f8;
  --james-contact-form-bg-end: #e5e9f0;
  --james-contact-form-bg-angle: 180deg;
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 80px 20px;
  overflow: hidden;
  background: #f3f5f8;
}

.james-contact-form-default-gradient {
  background: linear-gradient(var(--james-contact-form-bg-angle), var(--james-contact-form-bg-start), var(--james-contact-form-bg-end));
}

.james-contact-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.james-contact-form-site {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-contact-form-inner {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
}

.james-contact-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.james-contact-ratio-25-75 .james-contact-form-grid { grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); }
.james-contact-ratio-30-70 .james-contact-form-grid { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); }
.james-contact-ratio-35-65 .james-contact-form-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.james-contact-ratio-40-60 .james-contact-form-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.james-contact-ratio-50-50 .james-contact-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.james-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.james-contact-card {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

a.james-contact-card:hover,
a.james-contact-card:focus {
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
}

.james-contact-card-icon {
  --james-contact-icon-start: #1d4ed8;
  --james-contact-icon-end: #2563eb;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--james-contact-icon-start), var(--james-contact-icon-end));
  border-radius: 12px;
}

.james-contact-card-icon svg,
.james-contact-card-icon i {
  width: 22px;
  height: 22px;
  font-size: 22px;
  fill: currentColor;
}

.james-contact-card-copy {
  min-width: 0;
}

.james-contact-card-title {
  display: block;
  margin: 0 0 4px;
  color: #111827;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

.james-contact-card-description {
  display: block;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.james-contact-card-description p { margin: 0; }
.james-contact-card-description p + p { margin-top: .55em; }

.james-contact-form-box {
  min-width: 0;
  padding: 30px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
}

.james-contact-form {
  width: 100%;
}

.james-contact-form > .james-contact-field + .james-contact-field,
.james-contact-form > .james-contact-form-row + .james-contact-field {
  margin-top: 20px;
}

/* Keep fields inside the same two-column row perfectly level. */
.james-contact-form-row > .james-contact-field {
  margin-top: 0 !important;
  align-self: start;
}

.james-contact-label {
  display: block;
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.james-contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.james-contact-topic {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  color: #111827;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.james-contact-topic:hover,
.james-contact-topic:focus-visible {
  border-color: #2563eb;
  transform: translateY(-1px);
}

.james-contact-topic.is-active {
  color: #fff;
  background: #2563eb;
  border-color: #2563eb;
}

.james-contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.james-contact-input {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  color: #111827;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.james-contact-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .15);
}

textarea.james-contact-input {
  min-height: 140px;
  resize: vertical;
}

.james-contact-submit {
  --james-contact-button-start: #1d4ed8;
  --james-contact-button-end: #2563eb;
  appearance: none;
  width: 100%;
  min-height: 50px;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--james-contact-button-start), var(--james-contact-button-end));
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.james-contact-submit:hover,
.james-contact-submit:focus-visible {
  transform: translateY(-2px);
}

.james-contact-submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.james-contact-submit-icon,
.james-contact-submit-icon svg,
.james-contact-submit-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.james-contact-form-status {
  display: none;
  width: 100%;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.5;
}

.james-contact-form-status.is-visible { display: block; }
.james-contact-form-status.is-loading { color: #1d4ed8; background: #eff6ff; }
.james-contact-form-status.is-success { color: #166534; background: #dcfce7; }
.james-contact-form-status.is-error { color: #991b1b; background: #fee2e2; }

.james-contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .james-contact-form-grid,
  .james-contact-ratio-25-75 .james-contact-form-grid,
  .james-contact-ratio-30-70 .james-contact-form-grid,
  .james-contact-ratio-35-65 .james-contact-form-grid,
  .james-contact-ratio-40-60 .james-contact-form-grid,
  .james-contact-ratio-50-50 .james-contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-contact-form-mobile-form-first .james-contact-form-box { grid-row: 1; }
  .james-contact-form-mobile-form-first .james-contact-cards { grid-row: 2; }
}

@media (max-width: 600px) {
  .james-contact-form-section { padding: 50px 16px; }
  .james-contact-form-box { padding: 22px 18px; }
  .james-contact-card { padding: 16px; }
  .james-contact-form-row { grid-template-columns: minmax(0, 1fr); }
  .james-contact-topic { width: 100%; }
}

/* =========================================================
   SAFE HEADER-WIDTH ALIGNMENT — 2026.28
   =========================================================
   JavaScript applies the measured Header usable width only to:
   1. direct James widget content wrappers;
   2. verified boxed Elementor inner containers.
   No outer section, background, grid, product list, product card, Header or
   Footer receives width styling.
   ========================================================= */

[data-james-header-width-synced="true"] {
  min-width: 0;
}


/* =========================================================
   RESEARCH PEPTIDES PAGE — PRODUCT GRID WIDTH ONLY — 2026.29
   =========================================================
   This rule affects only the product-list wrapper identified on
   /research-pens/ or /research-peptides/. It does not affect page sections,
   section backgrounds, Header, Footer, cards or other pages.
   ========================================================= */
body.james-research-products-page-only [data-james-research-products-grid="true"] {
  width: calc(100% - 32px) !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  body.james-research-products-page-only [data-james-research-products-grid="true"] {
    width: calc(100% - 24px) !important;
  }
}

/* =========================================================
   WOOCOMMERCE RIGHT-SIDE CART DRAWER — 2026.33
   =========================================================
   Opens a full-height off-canvas cart drawer on the right side after a
   product is added to cart. The page is dimmed, the drawer contains the
   current cart items, subtotal and the main cart actions.
   ========================================================= */
.james-side-cart-root {
  --james-side-cart-top: 0px;
  position: fixed;
  inset: var(--james-side-cart-top) 0 0 0;
  z-index: 999999;
  pointer-events: none;
}

.james-side-cart-root.is-open {
  pointer-events: auto;
}

.james-side-cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 36, 0.62);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.james-side-cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 100vw);
  display: flex;
  flex-direction: column;
  background: #f1f1f1;
  border-left: 1px solid #d6d6d6;
  box-shadow: -18px 0 42px rgba(0, 0, 0, 0.22);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.32s ease;
  overflow: hidden;
}

.james-side-cart-root.is-open .james-side-cart-backdrop {
  opacity: 1;
}

.james-side-cart-root.is-open .james-side-cart-panel {
  transform: translate3d(0, 0, 0);
}

html.james-side-cart-open,
body.james-side-cart-open {
  overflow: hidden;
}

.james-side-cart-fragment {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.james-side-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 14px 18px 20px;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
}

.james-side-cart-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.james-side-cart-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #111111;
  flex: 0 0 auto;
}

.james-side-cart-heading-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.james-side-cart-header h2 {
  margin: 0;
  color: #111111;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
}

.james-side-cart-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  color: #111111;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.james-side-cart-close:hover,
.james-side-cart-close:focus {
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
  outline: none;
}

.james-side-cart-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 14px;
}

.james-side-cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.james-side-cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.james-side-cart-item-media {
  min-width: 0;
}

.james-side-cart-item-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  background: #ffffff;
  text-decoration: none;
}

.james-side-cart-item-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.james-side-cart-item-content {
  min-width: 0;
}

.james-side-cart-item-name {
  display: inline-block;
  margin: 0 0 4px;
  color: #111111;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  text-decoration: none;
}

.james-side-cart-item-name:hover,
.james-side-cart-item-name:focus {
  color: #000000;
}

.james-side-cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: #111111;
  font-size: 13px;
  line-height: 1.4;
}

.james-side-cart-item-meta .amount {
  color: inherit;
}

.james-side-cart-item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #111111 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-decoration: none !important;
}

.james-side-cart-item-remove svg {
  width: 16px;
  height: 16px;
  display: block;
}

.james-side-cart-item-remove:hover,
.james-side-cart-item-remove:focus {
  color: #000000 !important;
  opacity: 0.72;
}

.james-side-cart-empty {
  display: grid;
  gap: 6px;
  padding: 30px 20px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
}

.james-side-cart-empty-title {
  margin: 0;
  color: #111111;
  font-size: 16px;
  font-weight: 600;
}

.james-side-cart-empty-text {
  margin: 0;
  color: #505050;
  font-size: 14px;
  line-height: 1.55;
}

.james-side-cart-footer {
  margin-top: auto;
  padding: 16px 14px 14px;
  background: #efefef;
  border-top: 1px solid #d5d5d5;
}

.james-side-cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #111111;
  text-align: center;
}

.james-side-cart-subtotal-label,
.james-side-cart-subtotal-value {
  font-size: 15px;
  line-height: 1.35;
}

.james-side-cart-subtotal-value,
.james-side-cart-subtotal-value .amount {
  font-weight: 700;
  color: #111111;
}

.james-side-cart-note {
  margin: 0 0 14px;
  color: #3d3d3d;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.james-side-cart-actions {
  display: grid;
  gap: 8px;
}

.james-side-cart-button,
.james-side-cart-button:visited,
body .james-side-cart-button,
body .james-side-cart-button.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 11px 14px !important;
  color: #ffffff !important;
  background: #000000 !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  cursor: pointer;
}

.james-side-cart-button:hover,
.james-side-cart-button:focus,
body .james-side-cart-button.button:hover,
body .james-side-cart-button.button:focus {
  color: #ffffff !important;
  background: #151515 !important;
  border-color: #151515 !important;
  outline: none;
}

@media (max-width: 600px) {
  .james-side-cart-panel {
    width: min(360px, 100vw);
  }

  .james-side-cart-header {
    padding-left: 16px;
  }

  .james-side-cart-body {
    padding: 12px;
  }

  .james-side-cart-item {
    grid-template-columns: 68px minmax(0, 1fr) 18px;
    gap: 10px;
  }

  .james-side-cart-item-thumb {
    width: 68px;
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .james-side-cart-backdrop,
  .james-side-cart-panel {
    transition: none;
  }
}

/* =========================================================
   SINGLE PRODUCT PAGE REDESIGN — 2026.36
   =========================================================
   Clean, balanced product layout based on the supplied reference while
   preserving the current Prime Peptides blue colour system.
   ========================================================= */
body.james-single-product-redesign {
  --james-product-primary: #034ea3;
  --james-product-primary-dark: #023c80;
  --james-product-secondary: #00aeed;
  --james-product-heading: #0d1220;
  --james-product-text: #1d3459;
  --james-product-muted: #6b7c91;
  --james-product-line: #dce7f1;
  --james-product-soft: #f6f9fc;
  --james-product-soft-blue: #eef7fc;
  --james-product-success: #11806f;
}

body.james-single-product-redesign .woocommerce-breadcrumb,
body.james-single-product-redesign #secondary,
body.james-single-product-redesign .widget-area,
body.james-single-product-redesign .product_meta,
body.james-single-product-redesign .woocommerce-tabs,
body.james-single-product-redesign div.product > .onsale {
  display: none !important;
}

body.james-single-product-redesign #primary,
body.james-single-product-redesign .content-area,
body.james-single-product-redesign .site-main,
body.james-single-product-redesign .woocommerce,
body.james-single-product-redesign .woocommerce-page {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.james-single-product-redesign .woocommerce,
body.james-single-product-redesign .woocommerce-page,
body.james-single-product-redesign .james-product-detail {
  font-family: "Inter", Arial, sans-serif;
}

body.james-single-product-redesign .james-product-page-main {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
  background: #ffffff;
}

body.james-single-product-redesign .james-product-page-main::before,
body.james-single-product-redesign .james-product-page-main::after {
  display: none !important;
}

body.james-single-product-redesign .james-product-detail {
  position: relative;
  display: block !important;
  width: min(var(--james-live-content-width, 1296px), calc(100% - 48px)) !important;
  max-width: var(--james-live-content-width, 1296px) !important;
  margin: 0 auto !important;
  padding: 48px 0 82px !important;
  color: var(--james-product-text);
  clear: both;
}

body.james-single-product-redesign .james-product-detail > .james-product-hero,
body.james-single-product-redesign .james-product-detail > .james-product-facts,
body.james-single-product-redesign .james-product-detail > .james-product-information,
body.james-single-product-redesign .james-product-detail > .james-product-related-wrap {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.james-single-product-redesign .james-product-detail div.product,
body.james-single-product-redesign .james-product-detail .product,
body.james-single-product-redesign .james-product-detail section {
  box-sizing: border-box;
}

body.james-single-product-redesign .james-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: start;
  gap: clamp(44px, 5vw, 76px);
}

body.james-single-product-redesign .james-product-gallery-column,
body.james-single-product-redesign .james-product-summary-column {
  min-width: 0;
}

body.james-single-product-redesign .james-product-gallery-column {
  position: relative;
}

body.james-single-product-redesign .james-product-sale-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 30px;
  padding: 7px 12px;
  color: #ffffff;
  background: var(--james-product-primary);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.james-single-product-redesign .james-product-gallery-column div.images,
body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__wrapper {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  margin: 0 !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 174, 237, 0.07), transparent 46%),
    linear-gradient(145deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid var(--james-product-line);
  border-radius: 10px;
}

body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__image,
body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__image a {
  width: 100% !important;
  min-height: 560px;
  display: grid !important;
  place-items: center;
}

body.james-single-product-redesign .james-product-gallery-column div.images img {
  display: block;
  width: 100% !important;
  height: 560px !important;
  margin: 0 !important;
  padding: clamp(34px, 4vw, 58px);
  object-fit: contain;
  box-sizing: border-box;
}

body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__trigger {
  top: 16px !important;
  right: 16px !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center;
  color: var(--james-product-primary) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid var(--james-product-line) !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 24px rgba(3, 78, 163, 0.12) !important;
  text-indent: -9999px !important;
}

body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__trigger::before {
  content: "" !important;
  position: absolute;
  top: 11px;
  left: 11px;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__trigger::after {
  content: "" !important;
  position: absolute;
  top: 25px;
  left: 25px;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

body.james-single-product-redesign .james-product-gallery-column .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0 !important;
  padding: 0 !important;
}

body.james-single-product-redesign .james-product-gallery-column .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.james-single-product-redesign .james-product-gallery-column .flex-control-thumbs img {
  height: 84px !important;
  padding: 8px !important;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--james-product-line);
  border-radius: 7px;
  opacity: 0.72;
}

body.james-single-product-redesign .james-product-gallery-column .flex-control-thumbs img.flex-active,
body.james-single-product-redesign .james-product-gallery-column .flex-control-thumbs img:hover {
  border-color: var(--james-product-primary);
  opacity: 1;
}

body.james-single-product-redesign .james-product-summary-column {
  padding-top: 16px;
}

body.james-single-product-redesign .james-product-title {
  margin: 0 0 15px !important;
  color: var(--james-product-heading) !important;
  font-size: clamp(34px, 3vw, 46px) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  letter-spacing: 0.015em;
}

body.james-single-product-redesign .james-product-intro {
  margin: 0 0 24px;
  color: var(--james-product-text);
  font-size: 15px;
  line-height: 1.72;
}

body.james-single-product-redesign .james-product-intro p {
  margin: 0 0 12px;
}

body.james-single-product-redesign .james-product-intro p:last-child {
  margin-bottom: 0;
}

body.james-single-product-redesign .james-product-dispatch {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 26px;
  padding: 12px 14px;
  color: var(--james-product-text);
  background: var(--james-product-soft-blue);
  border: 1px solid #cde4f1;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.45;
}

body.james-single-product-redesign .james-product-dispatch-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--james-product-primary), #087ac0);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.james-single-product-redesign .james-product-dispatch-bolt {
  color: #ffffff;
  font-size: 12px;
}

body.james-single-product-redesign .james-product-purchase {
  padding: 0 0 15px;
  border-bottom: 1px solid var(--james-product-line);
}

body.james-single-product-redesign .james-product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 38px;
  margin: 0 0 10px;
  color: var(--james-product-primary);
  font-size: 27px;
  line-height: 1.25;
  font-weight: 800;
}

body.james-single-product-redesign .james-product-price .amount {
  color: inherit;
}

body.james-single-product-redesign .james-product-price del {
  order: 2;
  color: #9ba9b8;
  font-size: 17px;
  font-weight: 500;
  opacity: 1;
}

body.james-single-product-redesign .james-product-price ins {
  order: 1;
  color: var(--james-product-primary);
  text-decoration: none;
}

body.james-single-product-redesign .james-product-purchase form.cart {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.james-single-product-redesign .james-product-purchase form.cart:not(.variations_form),
body.james-single-product-redesign .james-product-purchase .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
}

body.james-single-product-redesign .james-product-purchase form.cart::before,
body.james-single-product-redesign .james-product-purchase form.cart::after,
body.james-single-product-redesign .james-product-purchase .woocommerce-variation-add-to-cart::before,
body.james-single-product-redesign .james-product-purchase .woocommerce-variation-add-to-cart::after {
  display: none !important;
}

body.james-single-product-redesign .james-product-purchase .quantity {
  float: none !important;
  width: 112px !important;
  min-height: 52px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--james-product-line);
  border-radius: 999px;
}

body.james-single-product-redesign .james-product-purchase .quantity input.qty {
  flex: 1 1 auto;
  width: 38px !important;
  min-width: 0 !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 2px !important;
  color: var(--james-product-heading) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  text-align: center;
  appearance: textfield;
}

body.james-single-product-redesign .james-product-purchase .quantity input.qty::-webkit-inner-spin-button,
body.james-single-product-redesign .james-product-purchase .quantity input.qty::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

body.james-single-product-redesign .james-quantity-step {
  flex: 0 0 34px;
  width: 34px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: var(--james-product-text);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

body.james-single-product-redesign .james-quantity-step:hover,
body.james-single-product-redesign .james-quantity-step:focus {
  color: var(--james-product-primary);
  background: var(--james-product-soft-blue);
  outline: none;
}

body.james-single-product-redesign .james-product-purchase button.single_add_to_cart_button,
body.james-single-product-redesign .james-product-purchase .single_add_to_cart_button {
  float: none !important;
  width: 100% !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 14px 22px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--james-product-primary), #0869be) !important;
  border: 1px solid var(--james-product-primary) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.james-single-product-redesign .james-product-purchase button.single_add_to_cart_button:hover,
body.james-single-product-redesign .james-product-purchase button.single_add_to_cart_button:focus {
  background: var(--james-product-primary-dark) !important;
  border-color: var(--james-product-primary-dark) !important;
  transform: translateY(-1px);
}

body.james-single-product-redesign .james-product-purchase button.single_add_to_cart_button.disabled,
body.james-single-product-redesign .james-product-purchase button.single_add_to_cart_button:disabled,
body.james-single-product-redesign .james-product-purchase button.single_add_to_cart_button.disabled:hover {
  color: #ffffff !important;
  background: #9aa4b0 !important;
  border-color: #9aa4b0 !important;
  cursor: not-allowed;
  transform: none;
}

body.james-single-product-redesign .james-product-purchase .stock {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
}

body.james-single-product-redesign .james-product-purchase .stock.in-stock {
  color: #16885f;
}

body.james-single-product-redesign .james-product-purchase .stock.out-of-stock {
  color: #b33333;
}

body.james-single-product-redesign .james-product-purchase form.variations_form {
  display: block !important;
}

body.james-single-product-redesign .james-product-purchase form.variations_form table.variations {
  width: 100%;
  margin: 0 0 14px !important;
  border: 0 !important;
}

body.james-single-product-redesign .james-product-purchase form.variations_form table.variations tr {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}

body.james-single-product-redesign .james-product-purchase form.variations_form table.variations th,
body.james-single-product-redesign .james-product-purchase form.variations_form table.variations td {
  display: block;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.james-single-product-redesign .james-product-purchase form.variations_form table.variations label {
  color: var(--james-product-heading);
  font-size: 13px;
  font-weight: 700;
}

body.james-single-product-redesign .james-product-purchase form.variations_form table.variations select {
  width: 100%;
  min-height: 46px;
  padding: 10px 38px 10px 13px;
  color: var(--james-product-heading);
  background: #ffffff;
  border: 1px solid var(--james-product-line);
  border-radius: 7px;
}

body.james-single-product-redesign .james-product-purchase .reset_variations {
  display: inline-block;
  margin-top: 6px;
  color: var(--james-product-primary);
  font-size: 12px;
  font-weight: 700;
}

body.james-single-product-redesign .james-product-purchase .woocommerce-variation-price {
  margin-bottom: 10px;
  color: var(--james-product-primary);
  font-size: 23px;
  font-weight: 800;
}

body.james-single-product-redesign .james-product-trust-points {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 17px;
  margin: 12px 0 20px;
  color: var(--james-product-muted);
  font-size: 10px;
  line-height: 1.4;
}

body.james-single-product-redesign .james-product-trust-point {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

body.james-single-product-redesign .james-product-trust-point > span {
  color: var(--james-product-primary);
  font-weight: 800;
}

body.james-single-product-redesign .james-product-research-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  color: var(--james-product-text);
  background: var(--james-product-soft-blue);
  border-left: 3px solid var(--james-product-secondary);
  border-radius: 7px;
  font-size: 10px;
  line-height: 1.55;
}

body.james-single-product-redesign .james-product-research-icon {
  flex: 0 0 auto;
  color: var(--james-product-primary);
  font-size: 13px;
  line-height: 1.4;
}

body.james-single-product-redesign .james-product-research-notice p {
  margin: 0 !important;
}

body.james-single-product-redesign .james-product-facts {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 34px 0 0;
  padding: 15px 0;
  border-top: 1px solid var(--james-product-line);
  border-bottom: 1px solid var(--james-product-line);
}

body.james-single-product-redesign .james-product-fact {
  min-width: 116px;
  padding: 0 26px 0 0;
}

body.james-single-product-redesign .james-product-fact + .james-product-fact {
  padding-left: 26px;
  border-left: 1px solid var(--james-product-line);
}

body.james-single-product-redesign .james-product-fact-label {
  display: block;
  margin-bottom: 5px;
  color: #93a2b4;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.james-single-product-redesign .james-product-fact strong {
  color: var(--james-product-heading);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

body.james-single-product-redesign .james-product-information {
  margin: 52px 0 0;
}

body.james-single-product-redesign .james-product-tabs {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  border-bottom: 1px solid var(--james-product-line);
}

body.james-single-product-redesign .james-product-tab {
  position: relative;
  margin: 0;
  padding: 0 0 13px;
  color: #7d8ba0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.james-single-product-redesign .james-product-tab:hover,
body.james-single-product-redesign .james-product-tab:focus,
body.james-single-product-redesign .james-product-tab.is-active {
  color: var(--james-product-heading);
  outline: none;
}

body.james-single-product-redesign .james-product-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--james-product-secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

body.james-single-product-redesign .james-product-tab.is-active::after {
  transform: scaleX(1);
}

body.james-single-product-redesign .james-product-tab-panels {
  padding: 24px 0 0;
}

body.james-single-product-redesign .james-product-tab-panel {
  max-width: 980px;
  color: var(--james-product-text);
  font-size: 14px;
  line-height: 1.72;
}

body.james-single-product-redesign .james-product-tab-panel[hidden] {
  display: none !important;
}

body.james-single-product-redesign .james-product-tab-panel p {
  margin: 0 0 12px;
}

body.james-single-product-redesign .james-product-tab-panel ul,
body.james-single-product-redesign .james-product-tab-panel ol {
  margin: 0 0 14px 18px;
  padding: 0;
}

body.james-single-product-redesign .james-product-tab-panel li {
  margin: 0 0 7px;
}

body.james-single-product-redesign .james-product-ruo-footnote {
  margin: 17px 0 0 !important;
  color: #9aa7b7;
  font-size: 10px;
}

body.james-single-product-redesign .james-product-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.james-single-product-redesign .james-product-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.james-single-product-redesign .james-product-spec-grid > div {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  background: var(--james-product-soft);
  border: 1px solid var(--james-product-line);
  border-radius: 8px;
}

body.james-single-product-redesign .james-product-spec-grid span {
  color: var(--james-product-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.james-single-product-redesign .james-product-spec-grid strong {
  color: var(--james-product-heading);
  font-size: 14px;
}

body.james-single-product-redesign .james-product-tab-panel table.shop_attributes {
  width: 100%;
  margin: 0;
  border: 1px solid var(--james-product-line);
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

body.james-single-product-redesign .james-product-tab-panel table.shop_attributes th,
body.james-single-product-redesign .james-product-tab-panel table.shop_attributes td {
  padding: 13px 16px;
  color: var(--james-product-text);
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid var(--james-product-line);
  font-style: normal;
}

body.james-single-product-redesign .james-product-tab-panel table.shop_attributes tr:last-child th,
body.james-single-product-redesign .james-product-tab-panel table.shop_attributes tr:last-child td {
  border-bottom: 0;
}

body.james-single-product-redesign .james-product-tab-panel table.shop_attributes th {
  width: 220px;
  color: var(--james-product-heading);
  background: var(--james-product-soft);
  font-weight: 700;
}

body.james-single-product-redesign .james-product-related-wrap {
  width: 100%;
  max-width: 100%;
  margin: 64px 0 0;
}

body.james-single-product-redesign .james-product-related-wrap .related.products,
body.james-single-product-redesign .james-product-related-wrap .upsells.products {
  margin: 0 !important;
}

body.james-single-product-redesign .james-product-related-wrap > h2,
body.james-single-product-redesign .james-product-related-wrap .related.products > h2,
body.james-single-product-redesign .james-product-related-wrap .upsells.products > h2 {
  margin: 0 0 22px !important;
  color: var(--james-product-heading) !important;
  font-size: 25px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

body.james-single-product-redesign .james-product-related-wrap ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
  padding: 0 !important;
}

body.james-single-product-redesign .james-product-related-wrap ul.products::before,
body.james-single-product-redesign .james-product-related-wrap ul.products::after {
  display: none !important;
}

body.james-single-product-redesign .james-product-related-wrap ul.products li.product {
  position: relative;
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 0 18px !important;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--james-product-line);
  border-radius: 9px;
  box-shadow: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.james-single-product-redesign .james-product-related-wrap ul.products li.product:hover {
  transform: translateY(-3px);
  border-color: #c4d8e8;
  box-shadow: 0 14px 30px rgba(3, 78, 163, 0.09);
}

body.james-single-product-redesign .james-product-related-wrap ul.products li.product > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.james-single-product-redesign .james-product-related-wrap ul.products li.product img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 0 16px !important;
  padding: 20px;
  object-fit: contain;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 174, 237, 0.06), transparent 50%),
    #f8fbfd;
  border-bottom: 1px solid var(--james-product-line);
}

body.james-single-product-redesign .james-product-related-wrap ul.products li.product .woocommerce-loop-product__title {
  margin: 0 !important;
  padding: 0 18px 8px !important;
  color: var(--james-product-heading) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

body.james-single-product-redesign .james-product-related-wrap ul.products li.product .price {
  display: block;
  margin: 0 !important;
  padding: 0 18px;
  color: var(--james-product-primary) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}

body.james-single-product-redesign .james-product-related-wrap ul.products li.product .price .amount {
  color: inherit;
}

body.james-single-product-redesign .james-product-related-wrap ul.products li.product .star-rating,
body.james-single-product-redesign .james-product-related-wrap ul.products li.product .button {
  display: none !important;
}

body.james-single-product-redesign .james-product-related-wrap ul.products li.product.outofstock::after {
  content: "Sold out";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 6px 9px;
  color: var(--james-product-text);
  background: #ffffff;
  border: 1px solid var(--james-product-line);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
}

body.james-single-product-redesign .james-product-related-wrap ul.products li.product .onsale {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 6px 9px !important;
  color: #ffffff !important;
  background: var(--james-product-primary) !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

@media (max-width: 1100px) {
  body.james-single-product-redesign .james-product-detail {
    width: min(100% - 36px, 1040px) !important;
  }

  body.james-single-product-redesign .james-product-detail div.product,
body.james-single-product-redesign .james-product-detail .product,
body.james-single-product-redesign .james-product-detail section {
  box-sizing: border-box;
}

body.james-single-product-redesign .james-product-hero {
    gap: 38px;
  }

  body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__wrapper,
  body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__image,
  body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__image a {
    min-height: 470px;
  }

  body.james-single-product-redesign .james-product-gallery-column div.images img {
    height: 470px !important;
  }

  body.james-single-product-redesign .james-product-title {
    font-size: clamp(31px, 4vw, 39px) !important;
  }
}

@media (max-width: 820px) {
  body.james-single-product-redesign .james-product-detail {
    width: min(100% - 32px, 720px) !important;
    padding-top: 34px !important;
    padding-bottom: 64px !important;
  }

  body.james-single-product-redesign .james-product-detail div.product,
body.james-single-product-redesign .james-product-detail .product,
body.james-single-product-redesign .james-product-detail section {
  box-sizing: border-box;
}

body.james-single-product-redesign .james-product-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  body.james-single-product-redesign .james-product-summary-column {
    padding-top: 0;
  }

  body.james-single-product-redesign .james-product-related-wrap ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.james-single-product-redesign .james-product-detail {
    width: calc(100% - 24px) !important;
    padding-top: 22px !important;
    padding-bottom: 48px !important;
  }

  body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__wrapper,
  body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__image,
  body.james-single-product-redesign .james-product-gallery-column .woocommerce-product-gallery__image a {
    min-height: 350px;
  }

  body.james-single-product-redesign .james-product-gallery-column div.images img {
    height: 350px !important;
    padding: 24px;
  }

  body.james-single-product-redesign .james-product-title {
    font-size: 29px !important;
  }

  body.james-single-product-redesign .james-product-intro {
    font-size: 14px;
  }

  body.james-single-product-redesign .james-product-dispatch {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
    padding: 12px;
  }

  body.james-single-product-redesign .james-product-purchase form.cart:not(.variations_form),
  body.james-single-product-redesign .james-product-purchase .woocommerce-variation-add-to-cart {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 9px;
  }

  body.james-single-product-redesign .james-product-purchase .quantity {
    width: 96px !important;
  }

  body.james-single-product-redesign .james-quantity-step {
    flex-basis: 29px;
    width: 29px;
  }

  body.james-single-product-redesign .james-product-purchase button.single_add_to_cart_button,
  body.james-single-product-redesign .james-product-purchase .single_add_to_cart_button {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 11px !important;
  }

  body.james-single-product-redesign .james-product-trust-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  body.james-single-product-redesign .james-product-trust-point {
    white-space: normal;
  }

  body.james-single-product-redesign .james-product-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.james-single-product-redesign .james-product-fact {
    min-width: 0;
    padding: 0 10px 0 0;
  }

  body.james-single-product-redesign .james-product-fact + .james-product-fact {
    padding-left: 10px;
  }

  body.james-single-product-redesign .james-product-tabs {
    gap: 18px;
    overflow-x: auto;
  }

  body.james-single-product-redesign .james-product-tab {
    flex: 0 0 auto;
    font-size: 10px;
  }

  body.james-single-product-redesign .james-product-spec-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.james-single-product-redesign .james-product-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.james-single-product-redesign .james-product-related-wrap ul.products {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.james-single-product-redesign .james-product-tab::after,
  body.james-single-product-redesign .james-product-related-wrap ul.products li.product {
    transition: none;
  }
}

/* =========================================================
   WOOCOMMERCE CART PAGE REDESIGN — 2026.37
   ========================================================= */
body.james-cart-redesign {
  background: #ffffff;
}

body.james-cart-redesign #primary,
body.james-cart-redesign .content-area,
body.james-cart-redesign .site-main,
body.james-cart-redesign .woocommerce,
body.james-cart-redesign .woocommerce-page {
  width: 100%;
  max-width: 100%;
}

body.james-cart-redesign .woocommerce-breadcrumb,
body.james-cart-redesign #secondary,
body.james-cart-redesign .widget-area {
  display: none !important;
}

body.james-cart-redesign .james-cart-page {
  padding: 28px 20px 56px;
}

body.james-cart-redesign .james-cart-container {
  width: 100%;
  max-width: var(--james-live-content-width, 1360px);
  margin: 0 auto;
}

body.james-cart-redesign .woocommerce-notices-wrapper {
  width: 100%;
  max-width: var(--james-live-content-width, 1360px);
  margin: 0 auto 18px;
}

body.james-cart-redesign .james-cart-highlight {
  display: grid;
  grid-template-columns: 90px minmax(280px, 1.8fr) auto auto auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 18px 28px;
  background: #f8fafc;
  border: 4px solid #e5edf5;
  border-radius: 28px;
}

body.james-cart-redesign .james-cart-highlight-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbe7f2;
}

body.james-cart-redesign .james-cart-highlight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.james-cart-redesign .james-cart-highlight-title {
  margin: 0 0 8px;
  color: #183153;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

body.james-cart-redesign .james-cart-highlight-title a {
  color: inherit;
  text-decoration: none;
}

body.james-cart-redesign .james-cart-highlight-qty,
body.james-cart-redesign .james-cart-highlight-more {
  margin: 0;
  color: #3c4d66;
  font-size: 14px;
  line-height: 1.45;
}

body.james-cart-redesign .james-cart-highlight-price {
  color: #183153;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

body.james-cart-redesign .james-cart-highlight-price del {
  color: #71839b;
  margin-right: 6px;
}

body.james-cart-redesign .james-cart-highlight-price ins {
  color: #034ea3;
  background: transparent;
  text-decoration: none;
}

body.james-cart-redesign .james-cart-highlight-offer {
  color: #183153;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

body.james-cart-redesign .james-cart-highlight-action {
  justify-self: end;
}

body.james-cart-redesign .james-cart-highlight-button,
body.james-cart-redesign .james-cart-highlight-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 50px;
  padding: 12px 24px;
  color: #ffffff;
  background: #034ea3;
  border: 1px solid #034ea3;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

body.james-cart-redesign .james-cart-highlight-button:hover,
body.james-cart-redesign .james-cart-highlight-button:focus {
  color: #ffffff;
  background: #023b7c;
  border-color: #023b7c;
}

body.james-cart-redesign .james-cart-form {
  margin: 0;
}

body.james-cart-redesign .james-cart-table {
  margin: 0 0 18px !important;
  border: 1px solid #dbe3ec;
  border-collapse: collapse;
  background: #ffffff;
}

body.james-cart-redesign .james-cart-table thead th {
  padding: 16px 14px;
  color: #ffffff;
  background: #034ea3;
  border: 1px solid #2e6ab4;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.02em;
}

body.james-cart-redesign .james-cart-table thead th.product-name {
  text-align: left;
}

body.james-cart-redesign .james-cart-table tbody td {
  padding: 18px 14px;
  color: #183153;
  border: 1px solid #dbe3ec;
  vertical-align: middle;
  text-align: center;
  background: #ffffff;
}

body.james-cart-redesign .james-cart-table tbody td.product-name {
  text-align: left;
}

body.james-cart-redesign .james-cart-table tbody td.product-thumbnail {
  width: 170px;
}

body.james-cart-redesign .james-cart-table tbody td.product-thumbnail a,
body.james-cart-redesign .james-cart-table tbody td.product-thumbnail img {
  display: inline-block;
}

body.james-cart-redesign .james-cart-table tbody td.product-thumbnail img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

body.james-cart-redesign .james-cart-table .product-name a {
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

body.james-cart-redesign .james-cart-table .product-name dl.variation {
  margin-top: 8px;
  font-size: 12px;
  color: #607089;
}

body.james-cart-redesign .james-cart-table .product-price,
body.james-cart-redesign .james-cart-table .product-subtotal {
  font-size: 16px;
  font-weight: 500;
}

body.james-cart-redesign .james-cart-table .quantity {
  display: inline-flex;
  justify-content: center;
}

body.james-cart-redesign .james-cart-table .quantity .qty {
  width: 94px;
  height: 44px;
  padding: 8px 12px;
  color: #183153;
  background: #ffffff;
  border: 1.5px solid #034ea3;
  border-radius: 999px;
  font-size: 16px;
  text-align: center;
}

body.james-cart-redesign .james-cart-table .product-remove {
  width: 48px;
}

body.james-cart-redesign .james-cart-table .product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #183153 !important;
  background: transparent !important;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

body.james-cart-redesign .james-cart-table .product-remove a.remove:hover,
body.james-cart-redesign .james-cart-table .product-remove a.remove:focus {
  color: #ffffff !important;
  background: #034ea3 !important;
}

body.james-cart-redesign .james-cart-actions-row td.actions {
  padding: 12px 14px;
  text-align: right;
  background: #f8fafc;
}

body.james-cart-redesign .james-cart-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 0 0 28px;
}

body.james-cart-redesign .james-cart-coupon-row .input-text {
  width: 100%;
  height: 56px;
  margin: 0 !important;
  padding: 0 18px !important;
  color: #183153;
  border: 1.5px solid #183153;
  border-radius: 8px;
  background: #ffffff;
  font-size: 16px;
}

body.james-cart-redesign .james-cart-table .button,
body.james-cart-redesign .james-cart-coupon-row .button,
body.james-cart-redesign .cart_totals .button,
body.james-cart-redesign .cart_totals .checkout-button,
body.james-cart-redesign .wc-proceed-to-checkout .checkout-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px !important;
  color: #ffffff !important;
  background: #034ea3 !important;
  border: 1px solid #034ea3 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

body.james-cart-redesign .james-cart-table .button:hover,
body.james-cart-redesign .james-cart-coupon-row .button:hover,
body.james-cart-redesign .cart_totals .button:hover,
body.james-cart-redesign .cart_totals .checkout-button:hover,
body.james-cart-redesign .wc-proceed-to-checkout .checkout-button:hover,
body.james-cart-redesign .james-cart-table .button:focus,
body.james-cart-redesign .james-cart-coupon-row .button:focus,
body.james-cart-redesign .cart_totals .button:focus,
body.james-cart-redesign .cart_totals .checkout-button:focus,
body.james-cart-redesign .wc-proceed-to-checkout .checkout-button:focus {
  color: #ffffff !important;
  background: #023b7c !important;
  border-color: #023b7c !important;
}

body.james-cart-redesign .cart_totals {
  width: 100% !important;
  float: none !important;
}

body.james-cart-redesign .cart_totals h2 {
  margin: 0 0 16px;
  color: #183153;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

body.james-cart-redesign .cart_totals table.shop_table {
  margin: 0 0 24px !important;
  border: 1px solid #dbe3ec;
  border-collapse: collapse;
  background: #ffffff;
}

body.james-cart-redesign .cart_totals table.shop_table th,
body.james-cart-redesign .cart_totals table.shop_table td {
  padding: 18px 14px;
  color: #183153;
  border: 1px solid #dbe3ec;
  background: #ffffff;
  font-size: 16px;
  line-height: 1.5;
  vertical-align: top;
}

body.james-cart-redesign .cart_totals table.shop_table th {
  width: 35%;
  font-weight: 700;
}

body.james-cart-redesign .cart_totals table.shop_table td strong,
body.james-cart-redesign .cart_totals table.shop_table .amount {
  color: #183153;
}

body.james-cart-redesign .shipping-calculator-button,
body.james-cart-redesign a.showcoupon,
body.james-cart-redesign .woocommerce-shipping-calculator a {
  color: #034ea3;
}

body.james-cart-redesign .wc-proceed-to-checkout {
  padding: 0 !important;
}

body.james-cart-redesign .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  min-height: 58px;
  margin: 0 !important;
  border-radius: 12px !important;
  font-size: 18px !important;
}

body.james-cart-redesign .cart-empty,
body.james-cart-redesign .return-to-shop {
  width: 100%;
  max-width: var(--james-live-content-width, 1360px);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  body.james-cart-redesign .james-cart-highlight {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  body.james-cart-redesign .james-cart-highlight-price,
  body.james-cart-redesign .james-cart-highlight-offer,
  body.james-cart-redesign .james-cart-highlight-action {
    grid-column: 2;
  }

  body.james-cart-redesign .james-cart-highlight-action {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  body.james-cart-redesign .james-cart-page {
    padding: 20px 14px 42px;
  }

  body.james-cart-redesign .james-cart-highlight {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
  }

  body.james-cart-redesign .james-cart-highlight-media,
  body.james-cart-redesign .james-cart-highlight-content,
  body.james-cart-redesign .james-cart-highlight-price,
  body.james-cart-redesign .james-cart-highlight-offer,
  body.james-cart-redesign .james-cart-highlight-action {
    grid-column: auto;
    justify-self: start;
  }

  body.james-cart-redesign .james-cart-coupon-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.james-cart-redesign .james-cart-coupon-row .button,
  body.james-cart-redesign .james-cart-table .button,
  body.james-cart-redesign .wc-proceed-to-checkout .checkout-button {
    width: 100%;
  }

  body.james-cart-redesign .james-cart-table thead {
    display: none;
  }

  body.james-cart-redesign .james-cart-table tbody tr.woocommerce-cart-form__cart-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 14px;
    border: 1px solid #dbe3ec;
    background: #ffffff;
  }

  body.james-cart-redesign .james-cart-table tbody tr.woocommerce-cart-form__cart-item td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: right !important;
    border: 0;
    border-bottom: 1px solid #ecf1f6;
  }

  body.james-cart-redesign .james-cart-table tbody tr.woocommerce-cart-form__cart-item td::before {
    content: attr(data-title);
    margin-right: 20px;
    color: #183153;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
  }

  body.james-cart-redesign .james-cart-table tbody tr.woocommerce-cart-form__cart-item td.product-thumbnail,
  body.james-cart-redesign .james-cart-table tbody tr.woocommerce-cart-form__cart-item td.product-remove {
    justify-content: center;
  }

  body.james-cart-redesign .james-cart-table tbody tr.woocommerce-cart-form__cart-item td.product-thumbnail::before,
  body.james-cart-redesign .james-cart-table tbody tr.woocommerce-cart-form__cart-item td.product-remove::before {
    display: none;
  }

  body.james-cart-redesign .james-cart-table tbody tr.woocommerce-cart-form__cart-item td.product-name {
    display: block;
    text-align: left !important;
  }

  body.james-cart-redesign .james-cart-table tbody tr.woocommerce-cart-form__cart-item td.product-name::before {
    display: block;
    margin: 0 0 8px;
  }

  body.james-cart-redesign .james-cart-actions-row td.actions {
    text-align: center;
  }
}

/* =========================================================
   CART PAGE ALIGNMENT HOTFIX — 2026.38
   ========================================================= */
body.james-cart-redesign #content,
body.james-cart-redesign .site-content,
body.james-cart-redesign #content > .container,
body.james-cart-redesign #content > .ast-container,
body.james-cart-redesign .site-content > .container,
body.james-cart-redesign .site-content > .ast-container,
body.james-cart-redesign .site-content > .site-content-container,
body.james-cart-redesign .site-content .content-area,
body.james-cart-redesign .site-content #primary,
body.james-cart-redesign #primary,
body.james-cart-redesign .content-area,
body.james-cart-redesign main.site-main,
body.james-cart-redesign #main,
body.james-cart-redesign .woocommerce,
body.james-cart-redesign .woocommerce-page {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  clear: both !important;
  flex: 0 0 100% !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

body.james-cart-redesign .site-content,
body.james-cart-redesign #content,
body.james-cart-redesign .site-content > .container,
body.james-cart-redesign .site-content > .ast-container,
body.james-cart-redesign #content > .container,
body.james-cart-redesign #content > .ast-container {
  display: block !important;
}

body.james-cart-redesign .james-cart-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 42px 24px 64px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

body.james-cart-redesign .james-cart-container,
body.james-cart-redesign .woocommerce-notices-wrapper,
body.james-cart-redesign .cart-empty,
body.james-cart-redesign .return-to-shop {
  width: min(calc(100% - 0px), var(--james-live-content-width, 1360px)) !important;
  max-width: var(--james-live-content-width, 1360px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.james-cart-redesign .james-cart-highlight,
body.james-cart-redesign .james-cart-form,
body.james-cart-redesign .james-cart-collaterals,
body.james-cart-redesign .cart-collaterals,
body.james-cart-redesign .cart_totals,
body.james-cart-redesign .james-cart-table,
body.james-cart-redesign .james-cart-coupon-row {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

body.james-cart-redesign .james-cart-table {
  table-layout: fixed !important;
}

body.james-cart-redesign .james-cart-table thead,
body.james-cart-redesign .james-cart-table thead tr {
  background: #034ea3 !important;
}

body.james-cart-redesign .james-cart-table thead th {
  color: #ffffff !important;
  background: #034ea3 !important;
  border-color: #2e6ab4 !important;
}

body.james-cart-redesign .james-cart-table thead th.product-thumbnail {
  width: 160px !important;
}

body.james-cart-redesign .james-cart-table thead th.product-name {
  width: auto !important;
}

body.james-cart-redesign .james-cart-table thead th.product-price {
  width: 150px !important;
}

body.james-cart-redesign .james-cart-table thead th.product-quantity {
  width: 180px !important;
}

body.james-cart-redesign .james-cart-table thead th.product-subtotal {
  width: 160px !important;
}

body.james-cart-redesign .james-cart-table thead th.product-remove {
  width: 54px !important;
}

body.james-cart-redesign .james-cart-highlight {
  overflow: hidden !important;
}

body.james-cart-redesign .james-cart-highlight-content,
body.james-cart-redesign .james-cart-highlight-title,
body.james-cart-redesign .james-cart-highlight-title a,
body.james-cart-redesign .james-cart-table .product-name,
body.james-cart-redesign .james-cart-table .product-name a {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

body.james-cart-redesign .james-cart-actions-row td.actions {
  width: 100% !important;
}

body.james-cart-redesign .james-cart-coupon-row {
  margin-top: 24px !important;
  margin-bottom: 32px !important;
}

body.james-cart-redesign .james-cart-collaterals {
  clear: both !important;
}

body.james-cart-redesign .cart_totals h2 {
  margin-top: 0 !important;
}

@media (max-width: 1100px) {
  body.james-cart-redesign .james-cart-page {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body.james-cart-redesign .james-cart-table {
    table-layout: auto !important;
  }
}

@media (max-width: 767px) {
  body.james-cart-redesign .james-cart-page {
    padding: 28px 14px 48px !important;
  }
}

/* =========================================================
   FORCED CART PAGE WIDTH + ALIGNMENT — 2026.39
   =========================================================
   The cart page now bypasses the theme/Elementor page column completely.
   Only the inner cart content is constrained to the live James Header width.
   ========================================================= */
body.james-cart-redesign .james-cart-page-main,
body.james-cart-redesign main.james-cart-page-main {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

body.james-cart-redesign .james-cart-page-shell {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.james-cart-redesign .james-cart-page-shell > .woocommerce {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

body.james-cart-redesign .james-cart-page-shell .james-cart-page {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 38px 24px 64px !important;
  box-sizing: border-box !important;
}

body.james-cart-redesign .james-cart-page-shell .james-cart-container {
  display: block !important;
  width: calc(100% - 0px) !important;
  max-width: var(--james-live-content-width, 1360px) !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.james-cart-redesign .james-cart-page-shell .james-cart-highlight,
body.james-cart-redesign .james-cart-page-shell .james-cart-form,
body.james-cart-redesign .james-cart-page-shell .james-cart-collaterals,
body.james-cart-redesign .james-cart-page-shell .cart-collaterals,
body.james-cart-redesign .james-cart-page-shell .cart_totals,
body.james-cart-redesign .james-cart-page-shell .james-cart-table,
body.james-cart-redesign .james-cart-page-shell .james-cart-coupon-row,
body.james-cart-redesign .james-cart-page-shell .wc-proceed-to-checkout {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

body.james-cart-redesign .james-cart-page-shell .james-cart-highlight {
  margin-top: 0 !important;
}

body.james-cart-redesign .james-cart-page-shell .james-cart-form {
  padding: 0 !important;
}

body.james-cart-redesign .james-cart-page-shell .james-cart-table {
  border-spacing: 0 !important;
}

body.james-cart-redesign .james-cart-page-shell .james-cart-collaterals {
  display: block !important;
  clear: both !important;
}

body.james-cart-redesign .james-cart-page-shell .cart_totals {
  display: block !important;
}

@media (max-width: 767px) {
  body.james-cart-redesign .james-cart-page-shell .james-cart-page {
    padding: 24px 14px 46px !important;
  }
}

/* =========================================================
   WOOCOMMERCE CHECKOUT PAGE REDESIGN — 2026.40
   ========================================================= */
body.james-checkout-redesign {
  background: #f7f9fc;
}

body.james-checkout-redesign #primary,
body.james-checkout-redesign .content-area,
body.james-checkout-redesign .site-main,
body.james-checkout-redesign .woocommerce,
body.james-checkout-redesign .woocommerce-page {
  width: 100%;
  max-width: 100%;
}

body.james-checkout-redesign .woocommerce-breadcrumb,
body.james-checkout-redesign #secondary,
body.james-checkout-redesign .widget-area {
  display: none !important;
}

body.james-checkout-redesign .james-checkout-page-main {
  padding: 28px 20px 56px;
}

body.james-checkout-redesign .james-checkout-page-shell,
body.james-checkout-redesign .james-checkout-container,
body.james-checkout-redesign .woocommerce-notices-wrapper,
body.james-checkout-redesign .woocommerce-form-coupon,
body.james-checkout-redesign .woocommerce-form-login {
  width: 100%;
  max-width: var(--james-live-content-width, 1360px);
  margin-left: auto;
  margin-right: auto;
}

body.james-checkout-redesign .woocommerce-notices-wrapper {
  margin-bottom: 16px;
}

body.james-checkout-redesign .woocommerce-info,
body.james-checkout-redesign .woocommerce-message,
body.james-checkout-redesign .woocommerce-error,
body.james-checkout-redesign .woocommerce-form-login-toggle .woocommerce-info,
body.james-checkout-redesign .woocommerce-form-coupon-toggle .woocommerce-info {
  position: relative;
  margin: 0 0 16px;
  padding: 14px 18px 14px 46px !important;
  color: #365174;
  background: #ffffff;
  border: 1px solid #d7e2ee;
  border-top: 3px solid #034ea3;
  border-radius: 10px;
  box-shadow: none;
  line-height: 1.5;
}

body.james-checkout-redesign .woocommerce-info::before,
body.james-checkout-redesign .woocommerce-message::before,
body.james-checkout-redesign .woocommerce-error::before {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #034ea3;
}

body.james-checkout-redesign .woocommerce-info a,
body.james-checkout-redesign .woocommerce-message a,
body.james-checkout-redesign .woocommerce-error a,
body.james-checkout-redesign .showlogin,
body.james-checkout-redesign .showcoupon {
  color: #034ea3;
  font-weight: 600;
}

body.james-checkout-redesign form.woocommerce-form-login,
body.james-checkout-redesign form.checkout_coupon {
  margin-bottom: 18px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #d7e2ee;
  border-radius: 12px;
}

body.james-checkout-redesign .james-checkout-form {
  margin: 0;
}

body.james-checkout-redesign .james-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.95fr);
  gap: 24px;
  align-items: start;
}

body.james-checkout-redesign .james-checkout-main,
body.james-checkout-redesign .james-checkout-sidebar {
  min-width: 0;
}

body.james-checkout-redesign .james-checkout-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 24px;
}

body.james-checkout-redesign .james-checkout-details {
  display: grid;
  gap: 18px;
}

body.james-checkout-redesign .james-checkout-card {
  background: #ffffff;
  border: 1px solid #d7e2ee;
  border-radius: 12px;
  overflow: hidden;
}

body.james-checkout-redesign .james-checkout-card-head {
  padding: 16px 20px 0;
}

body.james-checkout-redesign .james-checkout-card-head h3 {
  margin: 0;
  color: #1a304d;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

body.james-checkout-redesign .james-checkout-card-body {
  padding: 18px 20px 20px;
}

body.james-checkout-redesign .james-checkout-inline-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #52647c;
  font-size: 14px;
  line-height: 1.5;
}

body.james-checkout-redesign .woocommerce-billing-fields h3,
body.james-checkout-redesign .woocommerce-shipping-fields h3,
body.james-checkout-redesign .woocommerce-additional-fields h3,
body.james-checkout-redesign .woocommerce-account-fields h3 {
  display: none;
}

body.james-checkout-redesign .woocommerce-billing-fields,
body.james-checkout-redesign .woocommerce-shipping-fields,
body.james-checkout-redesign .woocommerce-additional-fields,
body.james-checkout-redesign .woocommerce-account-fields {
  margin: 0;
}

body.james-checkout-redesign .woocommerce-shipping-fields__field-wrapper,
body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper,
body.james-checkout-redesign .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

body.james-checkout-redesign .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

body.james-checkout-redesign .form-row-first,
body.james-checkout-redesign .form-row-last {
  width: 100% !important;
}

body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper .form-row-wide,
body.james-checkout-redesign .woocommerce-shipping-fields__field-wrapper .form-row-wide,
body.james-checkout-redesign .woocommerce-additional-fields__field-wrapper .form-row-wide,
body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper #billing_company_field,
body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper #billing_country_field,
body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper #billing_address_1_field,
body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper #billing_address_2_field,
body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper #billing_city_field,
body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper #billing_state_field,
body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper #billing_postcode_field,
body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper #billing_phone_field,
body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper #billing_email_field,
body.james-checkout-redesign .woocommerce-shipping-fields__field-wrapper #shipping_company_field,
body.james-checkout-redesign .woocommerce-shipping-fields__field-wrapper #shipping_country_field,
body.james-checkout-redesign .woocommerce-shipping-fields__field-wrapper #shipping_address_1_field,
body.james-checkout-redesign .woocommerce-shipping-fields__field-wrapper #shipping_address_2_field,
body.james-checkout-redesign .woocommerce-shipping-fields__field-wrapper #shipping_city_field,
body.james-checkout-redesign .woocommerce-shipping-fields__field-wrapper #shipping_state_field,
body.james-checkout-redesign .woocommerce-shipping-fields__field-wrapper #shipping_postcode_field,
body.james-checkout-redesign .woocommerce-additional-fields__field-wrapper .form-row {
  grid-column: 1 / -1;
}

body.james-checkout-redesign label {
  display: block;
  margin: 0 0 8px;
  color: #1a304d;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

body.james-checkout-redesign input[type='text'],
body.james-checkout-redesign input[type='email'],
body.james-checkout-redesign input[type='tel'],
body.james-checkout-redesign input[type='password'],
body.james-checkout-redesign textarea,
body.james-checkout-redesign select,
body.james-checkout-redesign .select2-container .select2-selection--single {
  width: 100% !important;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  color: #183153;
  background: #fbfdff;
  border: 1px solid #d8e4f0;
  border-radius: 8px;
  box-shadow: none;
  font-size: 15px;
}

body.james-checkout-redesign textarea {
  min-height: 96px;
  resize: vertical;
}

body.james-checkout-redesign .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
}

body.james-checkout-redesign .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  color: #183153;
  line-height: 1.4;
}

body.james-checkout-redesign .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 8px;
}

body.james-checkout-redesign .input-text:focus,
body.james-checkout-redesign textarea:focus,
body.james-checkout-redesign select:focus,
body.james-checkout-redesign .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #034ea3;
  outline: 0;
}

body.james-checkout-redesign .woocommerce-account-fields,
body.james-checkout-redesign .woocommerce-additional-fields,
body.james-checkout-redesign .create-account {
  margin-top: 18px;
}

body.james-checkout-redesign .woocommerce-form__label-for-checkbox,
body.james-checkout-redesign label.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

body.james-checkout-redesign .james-checkout-review-order .shop_table {
  margin: 0 0 18px !important;
  border: 0;
  border-collapse: collapse;
}

body.james-checkout-redesign .james-checkout-review-order table.shop_table th,
body.james-checkout-redesign .james-checkout-review-order table.shop_table td {
  padding: 12px 0;
  color: #1a304d;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e6edf5;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: top;
}

body.james-checkout-redesign .james-checkout-review-order table.shop_table thead th {
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

body.james-checkout-redesign .james-checkout-review-order table.shop_table tfoot th,
body.james-checkout-redesign .james-checkout-review-order table.shop_table tfoot td {
  font-weight: 700;
}

body.james-checkout-redesign .james-checkout-review-order table.shop_table .product-total,
body.james-checkout-redesign .james-checkout-review-order table.shop_table .amount {
  color: #1a304d;
}

body.james-checkout-redesign .james-checkout-product-card {
  position: relative;
}

body.james-checkout-redesign .james-checkout-product-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 16px 0 0 16px;
  padding: 4px 10px;
  color: #ffffff;
  background: #034ea3;
  border-radius: 6px 6px 0 0;
  font-size: 12px;
  font-weight: 700;
}

body.james-checkout-redesign .james-checkout-product-card-grid {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px 18px;
}

body.james-checkout-redesign .james-checkout-product-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  background: #ffffff;
  border: 1px solid #d9e4ef;
  border-radius: 10px;
}

body.james-checkout-redesign .james-checkout-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.james-checkout-redesign .james-checkout-product-content h4 {
  margin: 0 0 8px;
  color: #1a304d;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

body.james-checkout-redesign .james-checkout-product-price {
  margin-bottom: 6px;
  color: #1a304d;
  font-size: 14px;
}

body.james-checkout-redesign .james-checkout-product-price del {
  color: #7f8fa5;
  margin-right: 6px;
}

body.james-checkout-redesign .james-checkout-product-price ins {
  color: #034ea3;
  background: transparent;
  text-decoration: none;
}

body.james-checkout-redesign .james-checkout-product-qty {
  color: #61748e;
  font-size: 13px;
}

body.james-checkout-redesign #payment {
  padding: 18px;
  background: #f8fbff !important;
  border: 1px solid #d8e3f0;
  border-radius: 10px;
}

body.james-checkout-redesign #payment ul.payment_methods {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border-bottom: 1px solid #dce7f1 !important;
}

body.james-checkout-redesign #payment ul.payment_methods li {
  margin: 0 0 12px !important;
  padding: 0 0 12px !important;
  list-style: none;
  border-bottom: 1px solid #edf2f7;
}

body.james-checkout-redesign #payment ul.payment_methods li:last-child {
  border-bottom: 0;
}

body.james-checkout-redesign #payment div.payment_box {
  margin: 10px 0 0;
  padding: 14px;
  color: #52647c;
  background: #ffffff;
  border: 1px solid #dce7f1;
  border-radius: 8px;
}

body.james-checkout-redesign #payment div.payment_box::before {
  border-bottom-color: #ffffff;
}

body.james-checkout-redesign .woocommerce-privacy-policy-text,
body.james-checkout-redesign .woocommerce-terms-and-conditions-wrapper {
  color: #52647c;
  font-size: 13px;
  line-height: 1.7;
}

body.james-checkout-redesign .place-order {
  padding: 0 !important;
}

body.james-checkout-redesign #place_order,
body.james-checkout-redesign .button,
body.james-checkout-redesign .woocommerce-form-login .button,
body.james-checkout-redesign .checkout_coupon .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px !important;
  color: #ffffff !important;
  background: #034ea3 !important;
  border: 1px solid #034ea3 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

body.james-checkout-redesign #place_order {
  width: 100%;
  min-height: 56px;
  margin-top: 16px;
  font-size: 18px !important;
}

body.james-checkout-redesign #place_order:hover,
body.james-checkout-redesign #place_order:focus,
body.james-checkout-redesign .button:hover,
body.james-checkout-redesign .button:focus,
body.james-checkout-redesign .woocommerce-form-login .button:hover,
body.james-checkout-redesign .woocommerce-form-login .button:focus,
body.james-checkout-redesign .checkout_coupon .button:hover,
body.james-checkout-redesign .checkout_coupon .button:focus {
  color: #ffffff !important;
  background: #023b7c !important;
  border-color: #023b7c !important;
}

body.james-checkout-redesign .woocommerce-checkout-payment,
body.james-checkout-redesign .woocommerce-additional-fields,
body.james-checkout-redesign .create-account {
  margin-top: 16px;
}

body.james-checkout-redesign .checkout_coupon .form-row-first,
body.james-checkout-redesign .checkout_coupon .form-row-last,
body.james-checkout-redesign .woocommerce-form-login .form-row-first,
body.james-checkout-redesign .woocommerce-form-login .form-row-last {
  width: 100% !important;
}

@media (max-width: 1024px) {
  body.james-checkout-redesign .james-checkout-layout {
    grid-template-columns: 1fr;
  }

  body.james-checkout-redesign .james-checkout-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  body.james-checkout-redesign .james-checkout-page-main {
    padding: 20px 14px 40px;
  }

  body.james-checkout-redesign .james-checkout-card-head {
    padding: 14px 16px 0;
  }

  body.james-checkout-redesign .james-checkout-card-body,
  body.james-checkout-redesign form.woocommerce-form-login,
  body.james-checkout-redesign form.checkout_coupon {
    padding: 16px;
  }

  body.james-checkout-redesign .woocommerce-shipping-fields__field-wrapper,
  body.james-checkout-redesign .woocommerce-billing-fields__field-wrapper,
  body.james-checkout-redesign .woocommerce-additional-fields__field-wrapper,
  body.james-checkout-redesign .james-checkout-product-card-grid {
    grid-template-columns: 1fr;
  }

  body.james-checkout-redesign .james-checkout-product-thumb {
    width: 84px;
    height: 84px;
  }
}


/* =========================================================
   GLOBAL WEBSITE BUTTON COLOUR — 2026.42
   =========================================================
   Enforces the Prime Peptides primary blue on all actionable frontend
   buttons while leaving icon-only controls, selectors and tabs unchanged.
   ========================================================= */
:root {
  --james-global-button-color: #034ea3;
  --james-global-button-hover: #023b7c;
}

body:not(.wp-admin) .elementor-button,
body:not(.wp-admin) .wp-block-button__link,
body:not(.wp-admin) a.wp-element-button,
body:not(.wp-admin) button.wp-element-button,
body:not(.wp-admin) .james-btn,
body:not(.wp-admin) .james-contact-submit,
body:not(.wp-admin) .james-header-search-submit,
body:not(.wp-admin) .james-side-cart-button,
body:not(.wp-admin) .james-cart-highlight-button,
body:not(.wp-admin) .james-cart-table .button,
body:not(.wp-admin) .james-cart-coupon-row .button,
body:not(.wp-admin) .james-checkout-redesign .button,
body:not(.wp-admin) .woocommerce a.button,
body:not(.wp-admin) .woocommerce button.button,
body:not(.wp-admin) .woocommerce input.button,
body:not(.wp-admin) .woocommerce input[type='submit'],
body:not(.wp-admin) .woocommerce #respond input#submit,
body:not(.wp-admin) .woocommerce .single_add_to_cart_button,
body:not(.wp-admin) .woocommerce .checkout-button,
body:not(.wp-admin) .woocommerce #place_order,
body:not(.wp-admin) form button[type='submit']:not(.james-header-action):not(.james-contact-topic),
body:not(.wp-admin) form input[type='submit'],
body:not(.wp-admin) form input[type='button'] {
  color: #ffffff !important;
  background-color: var(--james-global-button-color) !important;
  border-color: var(--james-global-button-color) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body:not(.wp-admin) .elementor-button:hover,
body:not(.wp-admin) .elementor-button:focus,
body:not(.wp-admin) .wp-block-button__link:hover,
body:not(.wp-admin) .wp-block-button__link:focus,
body:not(.wp-admin) a.wp-element-button:hover,
body:not(.wp-admin) a.wp-element-button:focus,
body:not(.wp-admin) button.wp-element-button:hover,
body:not(.wp-admin) button.wp-element-button:focus,
body:not(.wp-admin) .james-btn:hover,
body:not(.wp-admin) .james-btn:focus,
body:not(.wp-admin) .james-contact-submit:hover,
body:not(.wp-admin) .james-contact-submit:focus,
body:not(.wp-admin) .james-header-search-submit:hover,
body:not(.wp-admin) .james-header-search-submit:focus,
body:not(.wp-admin) .james-side-cart-button:hover,
body:not(.wp-admin) .james-side-cart-button:focus,
body:not(.wp-admin) .james-cart-highlight-button:hover,
body:not(.wp-admin) .james-cart-highlight-button:focus,
body:not(.wp-admin) .james-cart-table .button:hover,
body:not(.wp-admin) .james-cart-table .button:focus,
body:not(.wp-admin) .james-cart-coupon-row .button:hover,
body:not(.wp-admin) .james-cart-coupon-row .button:focus,
body:not(.wp-admin) .woocommerce a.button:hover,
body:not(.wp-admin) .woocommerce a.button:focus,
body:not(.wp-admin) .woocommerce button.button:hover,
body:not(.wp-admin) .woocommerce button.button:focus,
body:not(.wp-admin) .woocommerce input.button:hover,
body:not(.wp-admin) .woocommerce input.button:focus,
body:not(.wp-admin) .woocommerce input[type='submit']:hover,
body:not(.wp-admin) .woocommerce input[type='submit']:focus,
body:not(.wp-admin) .woocommerce #respond input#submit:hover,
body:not(.wp-admin) .woocommerce #respond input#submit:focus,
body:not(.wp-admin) .woocommerce .single_add_to_cart_button:hover,
body:not(.wp-admin) .woocommerce .single_add_to_cart_button:focus,
body:not(.wp-admin) .woocommerce .checkout-button:hover,
body:not(.wp-admin) .woocommerce .checkout-button:focus,
body:not(.wp-admin) .woocommerce #place_order:hover,
body:not(.wp-admin) .woocommerce #place_order:focus,
body:not(.wp-admin) form button[type='submit']:not(.james-header-action):not(.james-contact-topic):hover,
body:not(.wp-admin) form button[type='submit']:not(.james-header-action):not(.james-contact-topic):focus,
body:not(.wp-admin) form input[type='submit']:hover,
body:not(.wp-admin) form input[type='submit']:focus,
body:not(.wp-admin) form input[type='button']:hover,
body:not(.wp-admin) form input[type='button']:focus {
  color: #ffffff !important;
  background-color: var(--james-global-button-hover) !important;
  border-color: var(--james-global-button-hover) !important;
}

body:not(.wp-admin) .elementor-button:disabled,
body:not(.wp-admin) .woocommerce button.button:disabled,
body:not(.wp-admin) .woocommerce button.button.disabled,
body:not(.wp-admin) .woocommerce input.button:disabled,
body:not(.wp-admin) .woocommerce input.button.disabled,
body:not(.wp-admin) button[type='submit']:disabled,
body:not(.wp-admin) input[type='submit']:disabled {
  color: #ffffff !important;
  background-color: var(--james-global-button-color) !important;
  border-color: var(--james-global-button-color) !important;
  opacity: 0.55 !important;
}


/* =========================================================
   CONTACT FORM BRAND COLOUR CORRECTION — 2026.43
   =========================================================
   Existing Elementor widget instances may retain earlier saved gradient
   colours. These targeted rules guarantee the current site primary blue.
   ========================================================= */
body:not(.wp-admin) .elementor-widget-james_contact_form .james-contact-card-icon,
body:not(.wp-admin) .james-contact-form-section .james-contact-card-icon {
  --james-contact-icon-start: #034ea3 !important;
  --james-contact-icon-end: #034ea3 !important;
  color: #ffffff !important;
  background: #034ea3 !important;
  background-image: none !important;
}

body:not(.wp-admin) .elementor-widget-james_contact_form .james-contact-topic.is-active,
body:not(.wp-admin) .james-contact-form-section .james-contact-topic.is-active {
  color: #ffffff !important;
  background: #034ea3 !important;
  background-image: none !important;
  border-color: #034ea3 !important;
}

body:not(.wp-admin) .elementor-widget-james_contact_form .james-contact-topic:hover,
body:not(.wp-admin) .elementor-widget-james_contact_form .james-contact-topic:focus-visible,
body:not(.wp-admin) .james-contact-form-section .james-contact-topic:hover,
body:not(.wp-admin) .james-contact-form-section .james-contact-topic:focus-visible {
  border-color: #034ea3 !important;
}

body:not(.wp-admin) .elementor-widget-james_contact_form .james-contact-submit,
body:not(.wp-admin) .james-contact-form-section .james-contact-submit {
  --james-contact-button-start: #034ea3 !important;
  --james-contact-button-end: #034ea3 !important;
  color: #ffffff !important;
  background: #034ea3 !important;
  background-image: none !important;
  border-color: #034ea3 !important;
}

body:not(.wp-admin) .elementor-widget-james_contact_form .james-contact-submit:hover,
body:not(.wp-admin) .elementor-widget-james_contact_form .james-contact-submit:focus-visible,
body:not(.wp-admin) .james-contact-form-section .james-contact-submit:hover,
body:not(.wp-admin) .james-contact-form-section .james-contact-submit:focus-visible {
  color: #ffffff !important;
  background: #023b7c !important;
  background-image: none !important;
  border-color: #023b7c !important;
}

body:not(.wp-admin) .elementor-widget-james_contact_form .james-contact-input:focus,
body:not(.wp-admin) .james-contact-form-section .james-contact-input:focus {
  border-color: #034ea3 !important;
  box-shadow: 0 0 0 2px rgba(3, 78, 163, 0.14) !important;
}


/* =========================================================
   FOOTER BENEFITS COLOUR OVERRIDE — 2026.44
   ========================================================= */
body .james-footer .james-footer-benefits,
body .elementor-widget-james_footer .james-footer-benefits {
  background-color: #034ea3 !important;
  background-image: none !important;
}

body .james-footer .james-footer-benefit-icon,
body .elementor-widget-james_footer .james-footer-benefit-icon,
body .james-footer .james-footer-benefit-icon i,
body .james-footer .james-footer-benefit-icon svg,
body .james-footer .james-footer-benefit-icon svg path,
body .james-footer .james-footer-benefit-icon svg circle,
body .james-footer .james-footer-benefit-icon svg polygon,
body .james-footer .james-footer-benefit-icon svg rect,
body .james-footer .james-footer-benefit-icon svg line,
body .james-footer .james-footer-benefit-icon svg polyline {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}


/* =========================================================
   HEADER ACTION ICON COLOUR OVERRIDE — 2026.45
   ========================================================= */
body .james-header .james-header-action,
body .james-header .james-header-action:visited,
body .james-header .james-header-action i,
body .james-header .james-header-action svg {
  color: #034ea3 !important;
  fill: currentColor !important;
}

body .james-header .james-header-action:hover,
body .james-header .james-header-action:focus,
body .james-header .james-header-action:hover i,
body .james-header .james-header-action:focus i,
body .james-header .james-header-action:hover svg,
body .james-header .james-header-action:focus svg {
  color: #023b7c !important;
  fill: currentColor !important;
}


/* =========================================================
   DESKTOP HEADER MENU TRUE CENTRE ALIGNMENT — 2026.46
   =========================================================
   Uses equal flexible tracks on both sides of the navigation so the menu is
   centred within the Header container, independent of logo/action widths.
   ========================================================= */
body .james-header .james-header-main-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
}

body .james-header .james-header-main-inner > .james-header-logo {
  grid-column: 1;
  justify-self: start;
}

body .james-header .james-header-main-inner > .james-header-nav {
  grid-column: 2;
  justify-self: center;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body .james-header .james-header-main-inner > .james-header-actions {
  grid-column: 3;
  justify-self: end;
  margin-left: 0 !important;
}


/* =========================================================
   SELECTED HOMEPAGE ACCENTS AND ICONS — 2026.47
   =========================================================
   Force the marked hero/quality accent text and the service/quality icon
   tiles to the requested brand blue, while keeping every icon pure white.
   ========================================================= */
body .james-hero .james-title-accent {
  color: #034ea3 !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #034ea3 !important;
}

body .james-quality .james-quality-accent {
  color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #ffffff !important;
}

body .james-services .james-service-icon,
body .james-quality .james-quality-icon {
  color: #ffffff !important;
  background: #034ea3 !important;
  background-color: #034ea3 !important;
  background-image: none !important;
  border-color: #034ea3 !important;
}

body .james-services .james-service-icon i,
body .james-services .james-service-icon svg,
body .james-services .james-service-icon svg path,
body .james-services .james-service-icon svg circle,
body .james-services .james-service-icon svg rect,
body .james-services .james-service-icon svg polygon,
body .james-services .james-service-icon svg line,
body .james-services .james-service-icon svg polyline,
body .james-quality .james-quality-icon i,
body .james-quality .james-quality-icon svg,
body .james-quality .james-quality-icon svg path,
body .james-quality .james-quality-icon svg circle,
body .james-quality .james-quality-icon svg rect,
body .james-quality .james-quality-icon svg polygon,
body .james-quality .james-quality-icon svg line,
body .james-quality .james-quality-icon svg polyline {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}


/* =========================================================
   QUALITY PAGE BRAND COLOUR OVERRIDES — 2026.49
   ========================================================= */
body .james-qhero .james-qhero-accent {
  color: #034ea3 !important;
  -webkit-text-fill-color: #034ea3 !important;
  background: none !important;
  background-image: none !important;
  text-decoration-color: #034ea3 !important;
  border-color: #034ea3 !important;
}

body .james-qhero .james-qhero-gradient-accent .james-qhero-accent,
body .james-qhero.james-qhero-gradient-accent .james-qhero-accent {
  color: #034ea3 !important;
  -webkit-text-fill-color: #034ea3 !important;
  background: none !important;
  background-image: none !important;
  text-decoration-color: #034ea3 !important;
}

body .james-qgrid-section .james-qgrid-icon {
  background: #034ea3 !important;
  background-image: none !important;
  background-color: #034ea3 !important;
  border-color: #034ea3 !important;
  box-shadow:
    0 8px 18px rgba(3, 78, 163, .25),
    0 0 0 4px rgba(3, 78, 163, .08) !important;
}

body .james-qgrid-section .james-qgrid-icon::before {
  background: radial-gradient(
    circle,
    rgba(3, 78, 163, .20) 0%,
    rgba(3, 78, 163, .10) 40%,
    transparent 70%
  ) !important;
}

body .james-qgrid-section .james-qgrid-icon,
body .james-qgrid-section .james-qgrid-icon i,
body .james-qgrid-section .james-qgrid-icon svg,
body .james-qgrid-section .james-qgrid-icon svg path,
body .james-qgrid-section .james-qgrid-icon svg circle,
body .james-qgrid-section .james-qgrid-icon svg rect,
body .james-qgrid-section .james-qgrid-icon svg line,
body .james-qgrid-section .james-qgrid-icon svg polyline,
body .james-qgrid-section .james-qgrid-icon svg polygon {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

body .james-pipeline-section .james-pipeline-number {
  color: #ffffff !important;
  background: #034ea3 !important;
  background-image: none !important;
  border-color: #034ea3 !important;
}

body .james-pipeline-section.james-pipeline-gradient-numbers .james-pipeline-number,
body .james-pipeline-gradient-numbers .james-pipeline-number {
  color: #ffffff !important;
  background: #034ea3 !important;
  background-image: none !important;
}

body .james-pipeline-section .james-pipeline-button,
body .james-pipeline-section .james-pipeline-button:visited {
  color: #ffffff !important;
  background: #034ea3 !important;
  background-image: none !important;
  border-color: #034ea3 !important;
  box-shadow: 0 10px 24px rgba(3, 78, 163, .28) !important;
}

body .james-pipeline-section.james-pipeline-gradient-button .james-pipeline-button,
body .james-pipeline-gradient-button .james-pipeline-button {
  color: #ffffff !important;
  background: #034ea3 !important;
  background-image: none !important;
  border-color: #034ea3 !important;
}

body .james-pipeline-section .james-pipeline-button:hover,
body .james-pipeline-section .james-pipeline-button:focus {
  color: #ffffff !important;
  background: #023b7c !important;
  border-color: #023b7c !important;
}


/* =========================================================
   CATALOGUE CTA STRUCTURAL FULL-BLEED FIX — 2026.52
   =========================================================
   The widget now renders clean semantic CTA markup. A viewport-wide pseudo
   background provides the full-bleed colour while the text remains within
   the live Header width. Elementor ancestors are marked by JavaScript so
   boxed containers cannot clip the background.
   ========================================================= */
body .james-catalogue-cta-overflow,
body .james-catalogue-cta-widget,
body .james-catalogue-cta-widget > .elementor-widget-container {
  overflow: visible !important;
}

body .james-story-content-catalogue-cta {
  position: relative !important;
  isolation: isolate;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 64px 20px !important;
  overflow: visible !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body .james-story-content-catalogue-cta::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: calc(50% + var(--james-catalogue-viewport-shift, 0px));
  width: 100vw;
  width: 100dvw;
  max-width: none;
  transform: translateX(-50%);
  background: var(--james-catalogue-cta-background, #dfe5ee);
  pointer-events: none;
}

body .james-story-content-catalogue-cta .james-catalogue-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100% !important;
  max-width: var(--james-live-content-width, 1360px) !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  color: #034ea3 !important;
  text-align: center !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body .james-story-content-catalogue-cta .james-catalogue-cta-eyebrow {
  margin: 0 0 18px !important;
  color: #034ea3 !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase !important;
}

body .james-story-content-catalogue-cta .james-catalogue-cta-heading {
  width: 100%;
  max-width: 920px;
  margin: 0 auto !important;
  color: #034ea3 !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: clamp(30px, 2.35vw, 40px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: -.025em !important;
  text-align: center !important;
  text-wrap: balance;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (max-width: 1024px) {
  body .james-story-content-catalogue-cta {
    padding: 54px 18px !important;
  }

  body .james-story-content-catalogue-cta .james-catalogue-cta-heading {
    max-width: 780px;
    font-size: clamp(29px, 4vw, 36px) !important;
  }
}

@media (max-width: 767px) {
  body .james-story-content-catalogue-cta {
    padding: 42px 14px !important;
  }

  body .james-story-content-catalogue-cta .james-catalogue-cta-inner {
    padding: 0 6px !important;
  }

  body .james-story-content-catalogue-cta .james-catalogue-cta-eyebrow {
    margin-bottom: 13px !important;
    font-size: 10px !important;
    letter-spacing: .18em !important;
  }

  body .james-story-content-catalogue-cta .james-catalogue-cta-heading {
    max-width: 620px;
    font-size: clamp(25px, 7.4vw, 31px) !important;
    line-height: 1.24 !important;
  }
}


/* =========================================================
   CATALOGUE CTA DIRECT VIEWPORT BREAKOUT — 2026.53
   ========================================================= */
body .james-story-content-catalogue-cta {
  left: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: 0 !important;
  background: var(--james-catalogue-cta-background, #dfe5ee) !important;
}

body .james-story-content-catalogue-cta::before {
  display: none !important;
  content: none !important;
}

body .james-story-content-catalogue-cta .james-catalogue-cta-heading {
  font-size: 40px !important;
  line-height: 1.2 !important;
  max-width: 900px !important;
}

@media (max-width: 1024px) {
  body .james-story-content-catalogue-cta .james-catalogue-cta-heading {
    font-size: 36px !important;
  }
}

@media (max-width: 767px) {
  body .james-story-content-catalogue-cta .james-catalogue-cta-heading {
    font-size: 30px !important;
  }
}

/* =========================================================
   CUSTOMER CHECKOUT EMAIL OTP — 2026.54
   ========================================================= */
html.james-checkout-otp-open,
body.james-checkout-otp-open {
  overflow: hidden !important;
}

.james-checkout-otp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.james-checkout-otp-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.james-checkout-otp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 48, .66);
  backdrop-filter: blur(3px);
}

.james-checkout-otp-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 34px;
  color: #183153;
  background: #ffffff;
  border: 1px solid #d7e3ef;
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(5, 31, 61, .28);
  transform: translateY(16px) scale(.98);
  transition: transform .22s ease;
}

.james-checkout-otp-modal.is-open .james-checkout-otp-dialog {
  transform: translateY(0) scale(1);
}

.james-checkout-otp-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #365174 !important;
  background: #f1f5f9 !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.james-checkout-otp-close:hover,
.james-checkout-otp-close:focus {
  color: #ffffff !important;
  background: #034ea3 !important;
}

.james-checkout-otp-brandmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  color: #ffffff;
  background: #034ea3;
  border-radius: 14px;
}

.james-checkout-otp-brandmark svg {
  width: 26px;
  height: 26px;
}

.james-checkout-otp-dialog h2 {
  margin: 0 44px 10px 0;
  color: #0d2745;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 750;
}

.james-checkout-otp-intro {
  margin: 0 0 20px;
  color: #607089;
  font-size: 14px;
  line-height: 1.65;
}

.james-checkout-otp-message {
  display: none;
  margin: 0 0 16px;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.james-checkout-otp-message.is-visible {
  display: block;
}

.james-checkout-otp-message.is-info {
  color: #174b80;
  background: #edf6ff;
  border: 1px solid #cfe6fb;
}

.james-checkout-otp-message.is-success {
  color: #17643a;
  background: #edf9f1;
  border: 1px solid #c9ebd4;
}

.james-checkout-otp-message.is-error {
  color: #a22b25;
  background: #fff1f0;
  border: 1px solid #f3cbc8;
}

.james-checkout-otp-step {
  display: none;
}

.james-checkout-otp-step.is-active {
  display: block;
}

.james-checkout-otp-step label {
  display: block;
  margin: 0 0 7px;
  color: #183153;
  font-size: 13px;
  font-weight: 700;
}

.james-checkout-otp-step input {
  width: 100%;
  min-height: 50px;
  margin: 0 0 15px;
  padding: 11px 14px;
  color: #183153;
  background: #fbfdff;
  border: 1px solid #cfdeec;
  border-radius: 9px;
  box-shadow: none;
  font-size: 16px;
  outline: none;
}

.james-checkout-otp-step input:focus {
  border-color: #034ea3;
  box-shadow: 0 0 0 3px rgba(3, 78, 163, .10);
}

#james-checkout-otp-code {
  text-align: center;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: .32em;
  padding-left: calc(14px + .32em);
}

.james-checkout-otp-primary,
.james-checkout-otp-primary:visited {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 52px;
  margin: 3px 0 0 !important;
  padding: 12px 18px !important;
  color: #ffffff !important;
  background: #034ea3 !important;
  border: 1px solid #034ea3 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.james-checkout-otp-primary:hover,
.james-checkout-otp-primary:focus {
  color: #ffffff !important;
  background: #023b7c !important;
  border-color: #023b7c !important;
}

.james-checkout-otp-primary.is-loading {
  opacity: .72;
  cursor: wait;
}

.james-checkout-otp-secondary,
.james-checkout-otp-change {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 44px;
  margin: 10px 0 0 !important;
  padding: 9px 14px !important;
  color: #034ea3 !important;
  background: #ffffff !important;
  border: 1px solid #bcd0e4 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  cursor: pointer;
}

.james-checkout-otp-change {
  min-height: auto;
  border: 0 !important;
  background: transparent !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.james-checkout-otp-secondary:disabled {
  color: #8b98aa !important;
  background: #f3f6f9 !important;
  border-color: #dce4ec !important;
  cursor: not-allowed;
}

.james-checkout-otp-sent-to {
  margin: 0 0 14px;
  color: #607089;
  font-size: 13px;
}

.james-checkout-otp-sent-to strong {
  color: #183153;
}

.james-checkout-otp-timer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: -3px 0 14px;
  color: #607089;
  font-size: 13px;
}

.james-checkout-otp-timer strong {
  color: #034ea3;
}

.james-checkout-otp-privacy {
  margin: 17px 0 0;
  padding-top: 14px;
  color: #7a8799;
  border-top: 1px solid #e4ebf2;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 600px) {
  .james-checkout-otp-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .james-checkout-otp-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 28px 20px 22px;
    border-radius: 18px 18px 12px 12px;
  }

  .james-checkout-otp-dialog h2 {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .james-checkout-otp-modal,
  .james-checkout-otp-dialog {
    transition: none;
  }
}

/* =========================================================
   JAMES PRODUCT ARCHIVE WIDGET — 2026.55
   Dynamic WooCommerce catalogue with filters, sorting, views and pagination.
   ========================================================= */
.james-archive-section {
  --james-archive-primary: #034ea3;
  --james-archive-accent: #00aeed;
  --james-archive-heading: #0d1220;
  --james-archive-body: #1d3459;
  --james-archive-muted: #738299;
  --james-archive-line: #dfe7ef;
  --james-archive-sidebar: 250px;
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
}

.james-archive-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.james-archive-heading {
  margin: 0 0 34px;
  color: var(--james-archive-heading);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.james-archive-form {
  margin: 0;
}

.james-archive-layout {
  display: grid;
  grid-template-columns: minmax(190px, var(--james-archive-sidebar)) minmax(0, 1fr);
  align-items: start;
  gap: 36px;
}

.james-archive-no-filters .james-archive-layout {
  grid-template-columns: minmax(0, 1fr);
}

.james-archive-sidebar,
.james-archive-main {
  min-width: 0;
}

.james-archive-sidebar {
  position: sticky;
  top: 28px;
}

.james-archive-filter-title {
  margin: 0 0 28px;
  color: var(--james-archive-heading);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
}

.james-archive-filter-group {
  min-width: 0;
  margin: 0;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--james-archive-line);
}

.james-archive-filter-group + .james-archive-filter-group {
  padding-top: 20px;
}

.james-archive-category-group {
  display: grid;
  gap: 3px;
}

.james-archive-filter-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  color: var(--james-archive-body);
  background: transparent;
  border: 0;
  border-radius: 7px;
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.james-archive-filter-button:hover,
.james-archive-filter-button:focus {
  color: var(--james-archive-primary);
  background: #f1f6fb;
  outline: none;
}

.james-archive-filter-button.is-active {
  color: #ffffff;
  background: var(--james-archive-primary);
  font-weight: 700;
}

.james-archive-filter-label {
  display: block;
  width: 100%;
  margin: 0 0 15px;
  padding: 0;
  color: var(--james-archive-heading);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.james-archive-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: var(--james-archive-body);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.james-archive-check:last-child {
  margin-bottom: 0;
}

.james-archive-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--james-archive-primary);
}

.james-archive-price-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.james-archive-price-fields label {
  position: relative;
  display: block;
  min-width: 0;
}

.james-archive-price-fields input {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 8px 8px 8px 28px;
  color: var(--james-archive-body);
  background: #ffffff;
  border: 1px solid #cfdbe7;
  border-radius: 6px;
  box-shadow: none;
  font-size: 14px;
}

.james-archive-price-fields input:focus {
  border-color: var(--james-archive-primary);
  outline: none;
}

.james-archive-currency {
  position: absolute;
  top: 50%;
  left: 10px;
  z-index: 1;
  color: var(--james-archive-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.james-archive-price-to {
  color: var(--james-archive-muted);
  font-size: 13px;
}

.james-archive-price-help {
  margin: 13px 0 0;
  color: var(--james-archive-muted);
  font-size: 13px;
  line-height: 1.5;
}

.james-archive-filter-actions {
  display: grid;
  gap: 10px;
  padding-top: 20px;
}

.james-archive-apply,
body .james-archive-apply.button {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  color: #ffffff !important;
  background: var(--james-archive-primary) !important;
  border: 1px solid var(--james-archive-primary) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.james-archive-clear {
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--james-archive-primary);
  background: transparent;
  border: 1px solid #cdd9e6;
  border-radius: 7px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.james-archive-clear:hover,
.james-archive-clear:focus {
  color: #ffffff;
  background: var(--james-archive-primary);
  border-color: var(--james-archive-primary);
  outline: none;
}

.james-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
  color: var(--james-archive-body);
  font-size: 14px;
  line-height: 1.4;
}

.james-archive-count {
  color: var(--james-archive-body);
  white-space: nowrap;
}

.james-archive-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-left: auto;
}

.james-archive-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500;
}

.james-archive-sort select {
  min-width: 145px;
  height: 40px;
  margin: 0;
  padding: 7px 32px 7px 10px;
  color: var(--james-archive-body);
  background-color: #ffffff;
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: none;
  font-size: 14px;
  cursor: pointer;
}

.james-archive-sort select:focus {
  border-color: var(--james-archive-primary);
  outline: none;
}

.james-archive-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.james-archive-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  color: #8593a5;
  background: transparent;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  cursor: pointer;
}

.james-archive-view-button:hover,
.james-archive-view-button:focus,
.james-archive-view-button.is-active {
  color: var(--james-archive-primary);
  background: #eef4fa;
  outline: none;
}

.james-archive-view-button svg {
  width: 20px;
  height: 20px;
}

.james-archive-products {
  display: grid;
  gap: 18px;
}

.james-archive-products.is-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.james-archive-products.is-list {
  grid-template-columns: minmax(0, 1fr);
}

.james-archive-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce6ef;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(13, 42, 76, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.james-archive-card:hover {
  border-color: rgba(3, 78, 163, 0.35);
  box-shadow: 0 12px 28px rgba(19, 63, 108, 0.10);
  transform: translateY(-2px);
}

.james-archive-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f8fb;
  border-bottom: 1px solid #dfe8f0;
}

.james-archive-card-media > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
}

.james-archive-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.james-archive-card:hover .james-archive-card-media img {
  transform: scale(1.025);
}

.james-archive-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--james-archive-primary);
  background: #eef4ff;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.james-archive-badge-no-image {
  position: static;
  margin: 14px 14px 0 auto;
}

.james-archive-card-content {
  padding: 18px;
}

.james-archive-product-title {
  margin: 0 0 8px;
  color: var(--james-archive-heading);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.james-archive-product-title a {
  color: inherit;
  text-decoration: none;
}

.james-archive-product-title a:hover,
.james-archive-product-title a:focus {
  color: var(--james-archive-primary);
}

.james-archive-rating {
  margin: 0 0 7px;
}

.james-archive-rating .star-rating {
  float: none;
  margin: 0;
  color: var(--james-archive-primary);
}

.james-archive-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--james-archive-primary);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.james-archive-price ins {
  color: var(--james-archive-primary);
  background: transparent;
  text-decoration: none;
}

.james-archive-price del {
  color: #9aa7b5;
  font-weight: 500;
}

.james-archive-description {
  margin-top: 12px;
  color: var(--james-archive-muted);
  font-size: 14px;
  line-height: 1.65;
}

.james-archive-add-to-cart {
  margin-top: 15px;
}

.james-archive-add-to-cart .button,
body .james-archive-add-to-cart .button {
  min-height: 42px;
  margin: 0;
  padding: 10px 16px !important;
  color: #ffffff !important;
  background: var(--james-archive-primary) !important;
  border: 1px solid var(--james-archive-primary) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.james-archive-add-to-cart .button:hover,
.james-archive-add-to-cart .button:focus {
  color: #ffffff !important;
  background: #023b7c !important;
  border-color: #023b7c !important;
}

.james-archive-products.is-list .james-archive-card {
  display: grid;
  grid-template-columns: minmax(180px, 30%) minmax(0, 1fr);
}

.james-archive-products.is-list .james-archive-card-media {
  height: 100%;
  min-height: 230px;
  border-right: 1px solid #dfe8f0;
  border-bottom: 0;
}

.james-archive-products.is-list .james-archive-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
}

.james-archive-products.is-list .james-archive-product-title {
  font-size: 22px;
}

.james-archive-empty,
.james-archive-notice {
  padding: 34px;
  color: var(--james-archive-body);
  background: #f5f9fc;
  border: 1px solid #dce6ef;
  border-radius: 10px;
  text-align: center;
}

.james-archive-pagination {
  margin-top: 32px;
}

.james-archive-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.james-archive-pagination li {
  margin: 0;
}

.james-archive-pagination a,
.james-archive-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  color: var(--james-archive-body);
  background: #ffffff;
  border: 1px solid #d5e0eb;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
}

.james-archive-pagination a:hover,
.james-archive-pagination a:focus,
.james-archive-pagination .current {
  color: #ffffff;
  background: var(--james-archive-primary);
  border-color: var(--james-archive-primary);
}

@media (max-width: 1024px) {
  .james-archive-layout {
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
    gap: 26px;
  }

  .james-archive-products.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .james-archive-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-archive-sidebar {
    position: static;
  }

  .james-archive-filter-title {
    margin-bottom: 18px;
    font-size: 22px;
  }

  .james-archive-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .james-archive-toolbar-actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .james-archive-sort {
    flex: 1 1 auto;
  }

  .james-archive-sort select {
    min-width: 0;
    width: 100%;
  }

  .james-archive-products.is-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-archive-products.is-list .james-archive-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-archive-products.is-list .james-archive-card-media {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #dfe8f0;
  }
}

/* =========================================================
   JAMES BLOG ARCHIVE WIDGET — 2026.56
   ========================================================= */
.james-blog-archive {
  --james-blog-primary: #034ea3;
  --james-blog-primary-dark: #023b7c;
  --james-blog-secondary: #00aeed;
  --james-blog-heading: #0d1220;
  --james-blog-body: #1d3459;
  --james-blog-muted: #607089;
  --james-blog-border: #d5e0eb;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  font-family: Inter, Arial, sans-serif;
}

.james-blog-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  background-color: var(--james-blog-primary);
  background-image: linear-gradient(120deg, #034ea3 0%, #006fd1 58%, #00aeed 100%);
}

.james-blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(3, 78, 163, .78);
  pointer-events: none;
}

.james-blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background:
    radial-gradient(circle at 8% 25%, rgba(255, 255, 255, .72) 0 7px, transparent 8px),
    radial-gradient(circle at 15% 48%, rgba(255, 255, 255, .45) 0 13px, transparent 14px),
    radial-gradient(circle at 89% 26%, rgba(255, 255, 255, .66) 0 10px, transparent 11px),
    radial-gradient(circle at 82% 60%, rgba(255, 255, 255, .40) 0 17px, transparent 18px),
    linear-gradient(34deg, transparent 0 46%, rgba(255, 255, 255, .24) 47% 48%, transparent 49% 100%);
  pointer-events: none;
}

.james-blog-hero-decoration {
  position: absolute;
  width: 220px;
  height: 220px;
  opacity: .22;
  border: 2px solid rgba(255, 255, 255, .46);
  border-radius: 50%;
  pointer-events: none;
}

.james-blog-hero-decoration::before,
.james-blog-hero-decoration::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
}

.james-blog-hero-decoration::before {
  width: 44px;
  height: 44px;
  top: 20px;
  left: 40px;
}

.james-blog-hero-decoration::after {
  width: 72px;
  height: 72px;
  right: 18px;
  bottom: 22px;
}

.james-blog-hero-decoration-left {
  left: -90px;
  top: -100px;
}

.james-blog-hero-decoration-right {
  right: -80px;
  bottom: -120px;
}

.james-blog-hero-inner,
.james-blog-inner {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-blog-hero-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
}

.james-blog-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.james-blog-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.james-blog-breadcrumb a:hover,
.james-blog-breadcrumb a:focus {
  color: #ffffff;
  opacity: .82;
}

.james-blog-breadcrumb svg {
  width: 13px;
  height: 13px;
  display: block;
}

.james-blog-breadcrumb-separator {
  opacity: .72;
}

.james-blog-content-section {
  width: 100%;
  background: #ffffff;
}

.james-blog-layout {
  --james-blog-main-width: 70%;
  display: grid;
  grid-template-columns: minmax(0, var(--james-blog-main-width)) minmax(250px, 1fr);
  gap: 54px;
  align-items: start;
}

.james-blog-no-sidebar .james-blog-layout {
  grid-template-columns: minmax(0, 1fr);
}

.james-blog-main,
.james-blog-sidebar {
  min-width: 0;
}

.james-blog-posts {
  display: grid;
  gap: 48px;
}

.james-blog-post {
  min-width: 0;
  margin: 0;
  background: #ffffff;
}

.james-blog-post-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.james-blog-post-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f2f7fc;
}

.james-blog-post-image .james-blog-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.james-blog-post-image-link:hover .james-blog-image,
.james-blog-post-image-link:focus .james-blog-image {
  transform: scale(1.025);
}

.james-blog-post-content {
  padding-top: 18px;
}

.james-blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--james-blog-muted);
  font-size: 12px;
  line-height: 1.5;
}

.james-blog-post-meta a {
  color: inherit;
  text-decoration: none;
}

.james-blog-post-meta a:hover,
.james-blog-post-meta a:focus {
  color: var(--james-blog-primary);
}

.james-blog-meta-separator {
  opacity: .55;
}

.james-blog-post-title {
  margin: 0 0 10px;
  color: var(--james-blog-heading);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.02em;
}

.james-blog-post-title a {
  color: inherit;
  text-decoration: none;
}

.james-blog-post-title a:hover,
.james-blog-post-title a:focus {
  color: var(--james-blog-primary);
}

.james-blog-post-excerpt {
  margin: 0;
  color: var(--james-blog-body);
  font-size: 15px;
  line-height: 1.72;
}

.james-blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--james-blog-primary);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
}

.james-blog-read-more::after {
  content: "→";
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease;
}

.james-blog-read-more:hover,
.james-blog-read-more:focus {
  color: var(--james-blog-primary-dark);
}

.james-blog-read-more:hover::after,
.james-blog-read-more:focus::after {
  transform: translateX(3px);
}

.james-blog-sidebar {
  position: sticky;
  top: 26px;
}

.james-blog-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  margin: 0 0 34px;
}

.james-blog-search-input {
  width: 100%;
  height: 50px;
  min-width: 0;
  margin: 0;
  padding: 0 15px;
  color: var(--james-blog-body);
  background: #ffffff;
  border: 1px solid var(--james-blog-border);
  border-right: 0;
  border-radius: 5px 0 0 5px;
  box-shadow: none;
  font-size: 14px;
  line-height: 1;
}

.james-blog-search-input:focus {
  border-color: var(--james-blog-primary);
  outline: 0;
}

.james-blog-search-button,
body:not(.wp-admin) .james-blog-search-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 50px !important;
  height: 50px;
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  background: var(--james-blog-primary) !important;
  border: 1px solid var(--james-blog-primary) !important;
  border-radius: 0 5px 5px 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.james-blog-search-button:hover,
.james-blog-search-button:focus,
body:not(.wp-admin) .james-blog-search-button:hover,
body:not(.wp-admin) .james-blog-search-button:focus {
  color: #ffffff !important;
  background: var(--james-blog-primary-dark) !important;
  border-color: var(--james-blog-primary-dark) !important;
}

.james-blog-search-button svg {
  display: block;
  width: 19px;
  height: 19px;
}

.james-blog-sidebar-title {
  margin: 0 0 22px;
  color: var(--james-blog-heading);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}

.james-blog-latest-list {
  display: grid;
  gap: 22px;
}

.james-blog-latest-item {
  --james-blog-latest-size: 84px;
  display: grid;
  grid-template-columns: var(--james-blog-latest-size) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
}

.james-blog-latest-item:not(:has(.james-blog-latest-image)) {
  grid-template-columns: minmax(0, 1fr);
}

.james-blog-latest-image {
  display: block;
  width: var(--james-blog-latest-size);
  height: var(--james-blog-latest-size);
  overflow: hidden;
  background: #f2f7fc;
  border-radius: 3px;
}

.james-blog-latest-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.james-blog-latest-content {
  min-width: 0;
}

.james-blog-latest-title {
  margin: 0 0 7px;
  color: var(--james-blog-heading);
  font-size: 17px;
  line-height: 1.22;
  font-weight: 800;
}

.james-blog-latest-title a {
  color: inherit;
  text-decoration: none;
}

.james-blog-latest-title a:hover,
.james-blog-latest-title a:focus {
  color: var(--james-blog-primary);
}

.james-blog-latest-excerpt {
  color: #52647c;
  font-size: 12px;
  line-height: 1.55;
}

.james-blog-empty {
  padding: 36px;
  color: var(--james-blog-body);
  background: #f5f9fc;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  text-align: center;
}

.james-blog-pagination {
  margin-top: 44px;
}

.james-blog-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.james-blog-pagination li {
  margin: 0;
}

.james-blog-pagination a,
.james-blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  color: var(--james-blog-body);
  background: #ffffff;
  border: 1px solid var(--james-blog-border);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}

.james-blog-pagination a:hover,
.james-blog-pagination a:focus,
.james-blog-pagination .current {
  color: #ffffff;
  background: var(--james-blog-primary);
  border-color: var(--james-blog-primary);
}

@media (max-width: 1024px) {
  .james-blog-layout {
    --james-blog-main-width: 64%;
    gap: 34px;
  }

  .james-blog-sidebar-title {
    font-size: 22px;
  }

  .james-blog-latest-item {
    --james-blog-latest-size: 72px;
    gap: 11px;
  }

  .james-blog-latest-title {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .james-blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-blog-sidebar {
    position: static;
  }

  .james-blog-posts {
    gap: 38px;
  }

  .james-blog-post-title {
    font-size: 22px;
  }

  .james-blog-post-excerpt {
    font-size: 14px;
  }

  .james-blog-sidebar {
    padding-top: 6px;
  }

  .james-blog-pagination ul.page-numbers {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .james-blog-post-image .james-blog-image,
  .james-blog-read-more::after {
    transition: none;
  }
}


/* =========================================================
   SINGLE BLOG POST WIDTH ALIGNMENT — 2026.57
   ========================================================= */
body.james-blog-single-redesign {
  background: #ffffff;
}

body.james-blog-single-redesign #primary,
body.james-blog-single-redesign .content-area,
body.james-blog-single-redesign .site-main,
body.james-blog-single-redesign main,
body.james-blog-single-redesign article {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.james-blog-single-redesign #secondary,
body.james-blog-single-redesign .widget-area,
body.james-blog-single-redesign .sidebar {
  display: none !important;
}

body.james-blog-single-redesign .james-blog-single-main {
  padding: 28px 20px 64px;
  box-sizing: border-box;
}

body.james-blog-single-redesign .james-blog-single-inner {
  width: 100% !important;
  max-width: var(--james-live-content-width, 1360px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box;
}

body.james-blog-single-redesign .james-blog-single-header,
body.james-blog-single-redesign .james-blog-single-featured,
body.james-blog-single-redesign .james-blog-single-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

body.james-blog-single-redesign .james-blog-single-title {
  width: 100%;
  max-width: none;
  margin: 0 0 22px;
  color: #0d1220;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.025em;
}

body.james-blog-single-redesign .james-blog-single-featured {
  display: block;
  margin-bottom: 18px !important;
  overflow: hidden;
  background: #f2f7fc;
}

body.james-blog-single-redesign .james-blog-single-featured-image,
body.james-blog-single-redesign .james-blog-single-content img,
body.james-blog-single-redesign .james-blog-single-content figure,
body.james-blog-single-redesign .james-blog-single-content .wp-block-image,
body.james-blog-single-redesign .james-blog-single-content .alignwide,
body.james-blog-single-redesign .james-blog-single-content .alignfull {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.james-blog-single-redesign .james-blog-single-featured-image {
  display: block;
  object-fit: cover;
}

body.james-blog-single-redesign .james-blog-single-content {
  color: #1d3459;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

body.james-blog-single-redesign .james-blog-single-content > * {
  max-width: 100% !important;
}

body.james-blog-single-redesign .james-blog-single-content p,
body.james-blog-single-redesign .james-blog-single-content ul,
body.james-blog-single-redesign .james-blog-single-content ol,
body.james-blog-single-redesign .james-blog-single-content blockquote,
body.james-blog-single-redesign .james-blog-single-content table {
  margin-top: 0;
  margin-bottom: 1.15em;
}

body.james-blog-single-redesign .james-blog-single-content h2,
body.james-blog-single-redesign .james-blog-single-content h3,
body.james-blog-single-redesign .james-blog-single-content h4,
body.james-blog-single-redesign .james-blog-single-content h5,
body.james-blog-single-redesign .james-blog-single-content h6 {
  color: #0d1220;
  line-height: 1.25;
}

body.james-blog-single-redesign .james-blog-single-content a {
  color: #034ea3;
}

body.james-blog-single-redesign .james-blog-single-content .elementor,
body.james-blog-single-redesign .james-blog-single-content .elementor-section-wrap,
body.james-blog-single-redesign .james-blog-single-content .e-con,
body.james-blog-single-redesign .james-blog-single-content .e-con-inner,
body.james-blog-single-redesign .james-blog-single-content .elementor-container {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 767px) {
  body.james-blog-single-redesign .james-blog-single-main {
    padding: 22px 16px 46px;
  }

  body.james-blog-single-redesign .james-blog-single-title {
    margin-bottom: 16px;
    font-size: clamp(30px, 9vw, 38px);
  }

  body.james-blog-single-redesign .james-blog-single-content {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* =========================================================
   JAMES DUAL BUTTONS WIDGET — 2026.58
   ========================================================= */
.elementor-widget-james_dual_buttons,
.elementor-widget-james_dual_buttons > .elementor-widget-container,
.james-dual-buttons-section {
  width: 100%;
  min-width: 0;
}

.james-dual-buttons-section {
  box-sizing: border-box;
}

.james-dual-buttons {
  --james-dual-bg: #034ea3;
  --james-dual-text: #ffffff;
  --james-dual-border: #034ea3;
  --james-dual-hover-bg: #ffffff;
  --james-dual-hover-text: #034ea3;
  --james-dual-hover-border: #034ea3;
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  margin-inline: auto;
  min-width: 0;
}

body:not(.wp-admin) .elementor-widget-james_dual_buttons .james-dual-button,
body:not(.wp-admin) .elementor-widget-james_dual_buttons .james-dual-button:visited {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 140px;
  max-width: 100%;
  min-height: 48px;
  padding: 13px 24px;
  color: var(--james-dual-text) !important;
  background: var(--james-dual-bg) !important;
  background-color: var(--james-dual-bg) !important;
  background-image: none !important;
  border-style: solid !important;
  border-width: 2px;
  border-color: var(--james-dual-border) !important;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: none;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition-property: color, background-color, border-color, box-shadow, transform;
  transition-duration: .25s;
  transition-timing-function: ease;
}

body:not(.wp-admin) .elementor-widget-james_dual_buttons .james-dual-button:hover,
body:not(.wp-admin) .elementor-widget-james_dual_buttons .james-dual-button:focus {
  color: var(--james-dual-hover-text) !important;
  background: var(--james-dual-hover-bg) !important;
  background-color: var(--james-dual-hover-bg) !important;
  background-image: none !important;
  border-color: var(--james-dual-hover-border) !important;
  text-decoration: none !important;
  outline: none;
}

.elementor-widget-james_dual_buttons .james-dual-button-text {
  min-width: 0;
}

.elementor-widget-james_dual_buttons .james-dual-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor !important;
  font-size: 14px;
  line-height: 1;
}

.elementor-widget-james_dual_buttons .james-dual-button-icon i,
.elementor-widget-james_dual_buttons .james-dual-button-icon svg,
.elementor-widget-james_dual_buttons .james-dual-button-icon svg path,
.elementor-widget-james_dual_buttons .james-dual-button-icon svg circle,
.elementor-widget-james_dual_buttons .james-dual-button-icon svg rect,
.elementor-widget-james_dual_buttons .james-dual-button-icon svg polygon,
.elementor-widget-james_dual_buttons .james-dual-button-icon svg line,
.elementor-widget-james_dual_buttons .james-dual-button-icon svg polyline {
  color: currentColor !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.elementor-widget-james_dual_buttons .james-dual-button-icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.james-dual-equal-yes .james-dual-button {
  flex: 1 1 0 !important;
  min-width: 0;
}

@media (max-width: 767px) {
  .elementor-widget-james_dual_buttons:not(.james-dual-stack-mobile-yes) .james-dual-button {
    flex-shrink: 1;
  }

  .james-dual-stack-mobile-yes .james-dual-buttons {
    flex-direction: column;
  }

  .james-dual-stack-mobile-yes .james-dual-button {
    width: 100%;
  }
}

/* =========================================================
   FULL CONTACT PAGE WIDGET — 2026.59
   ========================================================= */
.james-contact-page-section {
  --jcp-primary: #034ea3;
  --jcp-navy: #0d2240;
  --jcp-body: #526680;
  --jcp-border: #dce5ef;
  width: 100%;
  overflow: hidden;
  font-family: Inter, Arial, sans-serif;
}

.james-contact-page-section .jcp-container {
  width: 100%;
  max-width: var(--james-live-content-width, 1360px);
  margin-inline: auto;
}

.jcp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #eaf4ff 0%, #f7fbff 65%, #edf6ff 100%);
}

.jcp-hero::before,
.jcp-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.jcp-hero::before {
  width: 420px;
  height: 420px;
  right: -130px;
  top: -170px;
  background: radial-gradient(circle, rgba(3, 78, 163, .17), rgba(3, 78, 163, 0) 70%);
}

.jcp-hero::after {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: -170px;
  background: radial-gradient(circle, rgba(0, 174, 237, .13), rgba(0, 174, 237, 0) 70%);
}

.jcp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  align-items: center;
  gap: 64px;
}

.jcp-hero-copy {
  max-width: 800px;
}

.jcp-hero-eyebrow,
.jcp-section-eyebrow {
  margin: 0 0 14px;
  color: var(--jcp-primary);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.jcp-hero-title {
  margin: 0;
  color: var(--jcp-navy);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.035em;
}

.jcp-hero-description {
  max-width: 760px;
  margin: 24px 0 0;
  color: #405675;
  font-size: 18px;
  line-height: 1.7;
}

.jcp-hero-description p,
.jcp-section-description p,
.jcp-form-copy p,
.jcp-method-description p,
.jcp-info-content p,
.jcp-delivery-note p {
  margin: 0;
}

.jcp-hero-description p + p,
.jcp-section-description p + p,
.jcp-form-copy p + p,
.jcp-method-description p + p,
.jcp-info-content p + p,
.jcp-delivery-note p + p {
  margin-top: .8em;
}

.jcp-hero-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  padding: 8px 14px;
  color: var(--jcp-primary);
  background: rgba(255, 255, 255, .74);
  border: 1px solid var(--jcp-primary);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.jcp-hero-visual {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jcp-hero-icon {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 138px;
  height: 138px;
  color: #ffffff;
  background: var(--jcp-primary);
  border: 12px solid rgba(255, 255, 255, .8);
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(3, 78, 163, .25);
  transform: rotate(-4deg);
}

.jcp-hero-icon i,
.jcp-hero-icon svg {
  width: 58px;
  height: 58px;
  color: #ffffff;
  fill: currentColor;
  font-size: 58px;
}

.jcp-hero-orbit {
  position: absolute;
  border: 1px solid rgba(3, 78, 163, .22);
  border-radius: 50%;
}

.jcp-orbit-one {
  width: 245px;
  height: 245px;
}

.jcp-orbit-two {
  width: 320px;
  height: 170px;
  transform: rotate(-22deg);
}

.jcp-main {
  background: #f6f8fb;
}

.jcp-main-inner {
  display: flex;
  flex-direction: column;
  gap: 76px;
}

.jcp-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.jcp-section-title,
.jcp-form-heading {
  margin: 0;
  color: var(--jcp-navy);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.18;
  font-weight: 750;
  letter-spacing: -.025em;
}

.jcp-section-description,
.jcp-form-copy {
  margin-top: 14px;
  color: var(--jcp-body);
  font-size: 16px;
  line-height: 1.7;
}

.jcp-methods-grid,
.jcp-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.jcp-method-card,
.jcp-info-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--jcp-border);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(16, 48, 84, .05);
}

.jcp-method-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.jcp-method-icon,
.jcp-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  color: #ffffff;
  background: var(--jcp-primary);
  border-radius: 14px;
}

.jcp-method-icon i,
.jcp-method-icon svg,
.jcp-info-icon i,
.jcp-info-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
  fill: currentColor;
  font-size: 24px;
}

.jcp-method-icon svg path,
.jcp-info-icon svg path {
  fill: currentColor;
  stroke: currentColor;
}

.jcp-method-title,
.jcp-info-title {
  margin: 0;
  color: var(--jcp-navy);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.jcp-method-description,
.jcp-info-content {
  margin-top: 10px;
  color: var(--jcp-body);
  font-size: 15px;
  line-height: 1.65;
}

.jcp-method-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--jcp-primary);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}

.jcp-method-link:hover,
.jcp-method-link:focus {
  color: #023b7c;
  text-decoration: none;
}

.jcp-form-section {
  padding: 56px;
  background: linear-gradient(145deg, #eaf3fd 0%, #f3f8fd 100%);
  border: 1px solid #d8e5f1;
  border-radius: 26px;
}

.jcp-form-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: start;
}

.jcp-form-intro {
  position: sticky;
  top: 28px;
}

.jcp-delivery-note {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 28px;
  padding: 18px;
  color: #365174;
  background: #ffffff;
  border: 1px solid #d6e3ef;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.65;
}

.jcp-delivery-note > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: var(--jcp-primary);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.jcp-form-card {
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--jcp-border);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(17, 51, 88, .08);
}

.jcp-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.jcp-field {
  min-width: 0;
}

.jcp-field-wide,
.jcp-field-message,
.jcp-field-upload {
  grid-column: 1 / -1;
}

.jcp-field-label {
  display: block;
  margin: 0 0 8px;
  color: #17304f;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.jcp-required {
  margin-left: 3px;
  color: #d32626;
}

.jcp-input {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: #17304f;
  background: #fbfdff;
  border: 1px solid #cfdbe8;
  border-radius: 9px;
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

select.jcp-input {
  appearance: auto;
}

textarea.jcp-input {
  min-height: 150px;
  resize: vertical;
}

.jcp-input::placeholder {
  color: #91a0b3;
}

.jcp-input:focus {
  background: #ffffff;
  border-color: var(--jcp-primary);
  box-shadow: 0 0 0 3px rgba(3, 78, 163, .12);
  outline: 0;
}

.jcp-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.jcp-upload-box {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 15px 18px;
  color: #365174;
  background: #f8fbff;
  border: 1px dashed #9db4ce;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.jcp-upload-box:hover,
.jcp-upload-box:focus-within {
  background: #eef6ff;
  border-color: var(--jcp-primary);
}

.jcp-upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background: var(--jcp-primary);
  border-radius: 10px;
  font-size: 22px;
  font-weight: 700;
}

.jcp-upload-copy {
  display: grid;
  gap: 3px;
}

.jcp-upload-copy strong {
  color: var(--jcp-navy);
  font-size: 14px;
}

.jcp-upload-copy small {
  color: #71839a;
  font-size: 12px;
  line-height: 1.45;
}

.jcp-file-list {
  display: none;
  margin-top: 8px;
  color: #405675;
  font-size: 12px;
  line-height: 1.5;
}

.jcp-file-list.is-visible {
  display: block;
}

.jcp-privacy-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 20px 0;
  color: #5c6f87;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
}

.jcp-privacy-check input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--jcp-primary);
}

.jcp-privacy-check a {
  color: var(--jcp-primary);
  font-weight: 600;
}

.jcp-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 15px 24px;
  color: #ffffff !important;
  background: var(--jcp-primary) !important;
  border: 2px solid var(--jcp-primary) !important;
  border-radius: 9px;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.jcp-submit:hover,
.jcp-submit:focus {
  color: var(--jcp-primary) !important;
  background: #ffffff !important;
  border-color: var(--jcp-primary) !important;
  transform: translateY(-1px);
  outline: 0;
}

.jcp-submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.jcp-submit-icon,
.jcp-submit-icon i,
.jcp-submit-icon svg {
  display: inline-flex;
  width: 17px;
  height: 17px;
  color: currentColor;
  fill: currentColor;
}

.jcp-form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.5;
}

.jcp-form-status.is-visible {
  display: block;
}

.jcp-form-status.is-loading {
  color: #244466;
  background: #eaf3fd;
  border: 1px solid #c8dced;
}

.jcp-form-status.is-success {
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #bbefcc;
}

.jcp-form-status.is-error {
  color: #991b1b;
  background: #fff1f1;
  border: 1px solid #f4c7c7;
}

.jcp-honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.jcp-info-card {
  min-height: 100%;
}

.jcp-info-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
}

.jcp-info-icon i,
.jcp-info-icon svg {
  width: 21px;
  height: 21px;
  font-size: 21px;
}

@media (max-width: 1024px) {
  .jcp-hero-inner {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 36px;
  }

  .jcp-hero-visual {
    min-height: 240px;
  }

  .jcp-hero-icon {
    width: 112px;
    height: 112px;
  }

  .jcp-form-section {
    padding: 38px;
  }

  .jcp-form-layout {
    grid-template-columns: 1fr;
  }

  .jcp-form-intro {
    position: static;
  }

  .jcp-methods-grid,
  .jcp-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .jcp-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .jcp-hero-visual {
    min-height: 190px;
  }

  .jcp-hero-title {
    font-size: 36px;
  }

  .jcp-hero-description {
    font-size: 16px;
  }

  .jcp-main-inner {
    gap: 42px;
  }

  .jcp-methods-grid,
  .jcp-info-grid,
  .jcp-fields-grid {
    grid-template-columns: 1fr;
  }

  .jcp-form-section {
    padding: 24px 16px;
    border-radius: 18px;
  }

  .jcp-form-card {
    padding: 24px 18px;
  }

  .jcp-mobile-form-first-yes .jcp-form-card {
    grid-row: 1;
  }

  .jcp-mobile-form-first-yes .jcp-form-intro {
    grid-row: 2;
  }

  .jcp-method-card {
    min-height: auto;
  }
}

/* =========================================================
   CUSTOMER ACCOUNT DASHBOARD WIDGET — 2026.60
   ========================================================= */
.james-customer-account {
  --jca-primary: #034ea3;
  --jca-primary-hover: #023b7c;
  --jca-heading: #0d223f;
  --jca-text: #38506f;
  --jca-muted: #718198;
  --jca-border: #dbe5f0;
  color: var(--jca-text);
  font-family: Inter, sans-serif;
}

.james-customer-account * {
  box-sizing: border-box;
}

.james-customer-account-inner {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.james-customer-login-shell {
  display: flex;
  justify-content: center;
}

.james-customer-login-card {
  width: 100%;
  max-width: 760px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--jca-border);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(13, 34, 63, .08);
}

.james-customer-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--jca-primary);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .16em;
}

.james-customer-main-title {
  margin: 0 0 14px;
  color: var(--jca-heading);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
}

.james-customer-description {
  max-width: 760px;
  color: var(--jca-text);
  font-size: 16px;
  line-height: 1.7;
}

.james-customer-description p {
  margin: 0;
}

.james-customer-message {
  display: none;
  margin: 18px 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.james-customer-message:not(:empty) {
  display: block;
}

.james-customer-message.is-success {
  color: #0f6637;
  background: #ecfdf3;
  border: 1px solid #b8e7c9;
}

.james-customer-message.is-error {
  color: #9b1c1c;
  background: #fff1f1;
  border: 1px solid #f1b9b9;
}

.james-customer-message.is-info {
  color: #164c82;
  background: #eef7ff;
  border: 1px solid #bfdbf4;
}

.james-customer-login-form {
  display: none;
  margin-top: 24px;
}

.james-customer-login-form.is-active {
  display: block;
}

.james-customer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.james-customer-field {
  min-width: 0;
}

.james-customer-field-wide {
  grid-column: 1 / -1;
}

.james-customer-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--jca-heading);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.james-customer-field input,
.james-customer-field select {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  color: var(--jca-heading);
  background: #fff;
  border: 1px solid #cdd9e7;
  border-radius: 8px;
  box-shadow: none;
  font-size: 15px;
  line-height: 1.3;
}

.james-customer-field input:focus,
.james-customer-field select:focus {
  border-color: var(--jca-primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(3, 78, 163, .1);
}

.james-customer-field input[readonly] {
  color: var(--jca-muted);
  background: #f2f5f8;
}

.james-customer-field small {
  display: block;
  margin-top: 7px;
  color: var(--jca-muted);
  font-size: 12px;
  line-height: 1.5;
}

.james-customer-account .jca-button,
.james-customer-account .jca-button:visited {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  padding: 13px 22px;
  border: 2px solid var(--jca-primary) !important;
  border-radius: 8px;
  box-shadow: none !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.james-customer-account .jca-button-primary,
.james-customer-account .jca-button-primary:visited {
  color: #fff !important;
  background: var(--jca-primary) !important;
}

.james-customer-account .jca-button-primary:hover,
.james-customer-account .jca-button-primary:focus {
  color: #fff !important;
  background: var(--jca-primary-hover) !important;
  border-color: var(--jca-primary-hover) !important;
}

.james-customer-account .jca-button-outline,
.james-customer-account .jca-button-outline:visited {
  color: var(--jca-primary) !important;
  background: #fff !important;
}

.james-customer-account .jca-button-outline:hover,
.james-customer-account .jca-button-outline:focus {
  color: #fff !important;
  background: var(--jca-primary) !important;
}

.james-customer-account .jca-button.is-busy,
.james-customer-account .jca-button:disabled {
  opacity: .62;
  cursor: wait;
}

.james-customer-login-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 13px 15px;
  color: var(--jca-muted);
  background: #f5f8fc;
  border: 1px solid var(--jca-border);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.55;
}

.james-customer-login-note p {
  margin: 0;
}

.james-customer-section-title {
  margin: 0 0 8px;
  color: var(--jca-heading);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.james-customer-sent-to,
.james-customer-otp-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--jca-muted);
  font-size: 13px;
}

.james-customer-otp-timer {
  margin: 10px 0 16px;
}

.james-customer-otp-timer strong {
  color: var(--jca-primary);
}

.james-customer-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.jca-link-button {
  padding: 0 !important;
  color: var(--jca-primary) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.james-customer-dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.james-customer-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 9px 12px;
  color: #0f6637;
  background: #ecfdf3;
  border: 1px solid #b8e7c9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.james-customer-dashboard-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.james-customer-sidebar {
  position: sticky;
  top: 24px;
  padding: 22px;
  color: #fff;
  background: #0c2748;
  border-radius: 16px;
}

.james-customer-sidebar-profile {
  display: grid;
  gap: 4px;
  padding: 0 4px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.james-customer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 9px;
  color: #fff;
  background: var(--jca-primary);
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
}

.james-customer-sidebar-profile strong {
  color: #fff;
  font-size: 16px;
}

.james-customer-sidebar-profile span:not(.james-customer-avatar) {
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.james-customer-nav {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.james-customer-nav-button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px !important;
  color: rgba(255, 255, 255, .78) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.james-customer-nav-button:hover,
.james-customer-nav-button:focus,
.james-customer-nav-button.is-active {
  color: #fff !important;
  background: var(--jca-primary) !important;
}

.james-customer-nav-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  color: inherit;
  font-size: 16px;
}

.james-customer-logout {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 0 0 7px 7px !important;
}

.james-customer-dashboard-content {
  min-width: 0;
}

.james-customer-tab-panel {
  display: none;
}

.james-customer-tab-panel.is-active {
  display: grid;
  gap: 20px;
}

.james-customer-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.james-customer-summary-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 19px;
  background: #fff;
  border: 1px solid var(--jca-border);
  border-radius: 12px;
}

.james-customer-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: #fff;
  background: var(--jca-primary);
  border-radius: 10px;
  font-size: 19px;
  font-weight: 800;
}

.james-customer-summary-card div {
  display: grid;
  min-width: 0;
}

.james-customer-summary-card strong {
  color: var(--jca-heading);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.james-customer-summary-card span:last-child {
  color: var(--jca-muted);
  font-size: 12px;
}

.james-customer-content-card {
  min-width: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--jca-border);
  border-radius: 16px;
}

.james-customer-card-heading {
  margin-bottom: 18px;
}

.james-customer-card-heading h3,
.james-customer-support-card h3 {
  margin: 0;
  color: var(--jca-heading);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.james-customer-orders-list {
  display: grid;
  gap: 12px;
}

.james-customer-order {
  border: 1px solid var(--jca-border);
  border-radius: 10px;
  overflow: hidden;
}

.james-customer-order-main {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
}

.james-customer-order-main > div {
  display: grid;
  gap: 3px;
}

.james-customer-order-main span {
  color: var(--jca-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.james-customer-order-main strong {
  color: var(--jca-heading);
  font-size: 13px;
}

.james-customer-status {
  display: inline-flex;
  width: max-content;
  padding: 4px 7px;
  color: #164c82 !important;
  background: #eef7ff;
  border-radius: 999px;
  font-size: 11px !important;
}

.james-customer-status-completed {
  color: #0f6637 !important;
  background: #ecfdf3;
}

.james-customer-status-cancelled,
.james-customer-status-failed,
.james-customer-status-refunded {
  color: #9b1c1c !important;
  background: #fff1f1;
}

.james-customer-order-details {
  padding: 14px 15px;
  background: #f7f9fc;
  border-top: 1px solid var(--jca-border);
}

.james-customer-order-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
  color: var(--jca-text);
  font-size: 13px;
}

.james-customer-order-note {
  margin: 10px 0 0;
  color: var(--jca-muted);
  font-size: 12px;
}

.james-customer-support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  color: #fff;
  background: linear-gradient(110deg, #034ea3, #0078d4);
  border-radius: 14px;
}

.james-customer-support-card h3 {
  color: #fff;
}

.james-customer-support-card p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.james-customer-support-card .jca-button-primary {
  color: var(--jca-primary) !important;
  background: #fff !important;
  border-color: #fff !important;
}

.james-customer-support-card .jca-button-primary:hover {
  color: #fff !important;
  background: transparent !important;
}

.james-customer-downloads-list {
  display: grid;
  gap: 12px;
}

.james-customer-download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px;
  border: 1px solid var(--jca-border);
  border-radius: 10px;
}

.james-customer-download-item div {
  display: grid;
  gap: 4px;
}

.james-customer-download-item strong {
  color: var(--jca-heading);
}

.james-customer-download-item span {
  color: var(--jca-muted);
  font-size: 12px;
}

.james-customer-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.james-customer-empty {
  padding: 30px 18px;
  text-align: center;
  background: #f7f9fc;
  border: 1px dashed var(--jca-border);
  border-radius: 10px;
}

.james-customer-empty p {
  margin: 0;
  color: var(--jca-muted);
}

@media (max-width: 1100px) {
  .james-customer-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .james-customer-order-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .james-customer-order-main .jca-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .james-customer-dashboard-layout {
    grid-template-columns: 1fr !important;
  }

  .james-customer-sidebar {
    position: static;
  }

  .james-customer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .james-customer-logout {
    margin: 0;
    border-top: 0 !important;
  }

  .james-customer-address-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .james-customer-main-title {
    font-size: 29px;
  }

  .james-customer-login-card,
  .james-customer-content-card {
    padding: 20px;
  }

  .james-customer-form-grid,
  .james-customer-summary-grid {
    grid-template-columns: 1fr;
  }

  .james-customer-field-wide {
    grid-column: auto;
  }

  .james-customer-dashboard-header,
  .james-customer-support-card,
  .james-customer-download-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .james-customer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .james-customer-order-main {
    grid-template-columns: 1fr;
  }

  .james-customer-order-main .jca-button {
    grid-column: auto;
  }

  .james-customer-account .jca-button,
  .james-customer-support-card .jca-button,
  .james-customer-download-item .jca-button {
    width: 100%;
  }
}

/* =========================================================
   CUSTOMER MOBILE-FIRST LOGIN / PROFILE COMPLETION — 2026.62
   ========================================================= */
.james-customer-mobile-only-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

.james-customer-profile-step-shell .james-customer-login-card {
  max-width: 760px;
}

.james-customer-verified-number {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 18px 0;
  padding: 13px 15px;
  color: var(--jca-heading, #0d223f);
  background: #f1f7fd;
  border: 1px solid var(--jca-border, #dbe5f0);
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.45;
}

.james-customer-verified-number > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #ffffff;
  background: var(--jca-primary, #034ea3);
  border-radius: 50%;
  font-weight: 700;
}

.james-customer-profile-completion-form .james-customer-form-grid {
  margin-bottom: 18px;
}

@media (max-width: 767px) {
  .james-customer-profile-completion-form .james-customer-form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* =========================================================
   CHECKOUT SMS-ONLY PROFILE STEP — 2026.64
   ========================================================= */
.james-checkout-otp-profile-title {
  margin: 0 0 8px;
  color: #0b2545;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 750;
}

.james-checkout-otp-profile-copy {
  margin: 0 0 16px;
  color: #607089;
  font-size: 14px;
  line-height: 1.6;
}

#james-checkout-profile-form .james-checkout-otp-sent-to {
  margin-bottom: 16px;
}


/* =========================================================
   COMPACT CUSTOMER LOGIN MODAL — 2026.66
   ========================================================= */
html.james-customer-auth-modal-open,
body.james-customer-auth-modal-open {
  overflow: hidden !important;
}

html.james-customer-auth-modal-open .james-customer-login-shell {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000002 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 20px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: rgba(7, 25, 48, .58) !important;
  -webkit-backdrop-filter: blur(8px) saturate(.85) !important;
  backdrop-filter: blur(8px) saturate(.85) !important;
}

html.james-customer-auth-modal-open .james-customer-login-card {
  width: min(100%, 510px) !important;
  max-width: 510px !important;
  max-height: calc(100vh - 40px) !important;
  margin: auto !important;
  padding: 25px 26px !important;
  overflow-y: auto !important;
  background: #ffffff !important;
  border: 1px solid rgba(219, 229, 240, .95) !important;
  border-radius: 15px !important;
  box-shadow: 0 24px 70px rgba(3, 18, 37, .34) !important;
}

html.james-customer-auth-modal-open .james-customer-profile-step-shell .james-customer-login-card {
  width: min(100%, 560px) !important;
  max-width: 560px !important;
}

html.james-customer-auth-modal-open .james-customer-eyebrow {
  margin-bottom: 8px !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
}

html.james-customer-auth-modal-open .james-customer-main-title {
  margin: 0 0 10px !important;
  font-size: clamp(26px, 3vw, 34px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.02em !important;
}

html.james-customer-auth-modal-open .james-customer-description {
  max-width: none !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

html.james-customer-auth-modal-open .james-customer-message {
  margin: 13px 0 !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
}

html.james-customer-auth-modal-open .james-customer-login-form {
  margin-top: 18px !important;
}

html.james-customer-auth-modal-open .james-customer-form-grid {
  gap: 12px !important;
  margin-bottom: 14px !important;
}

html.james-customer-auth-modal-open .james-customer-field label {
  margin-bottom: 5px !important;
  font-size: 12px !important;
}

html.james-customer-auth-modal-open .james-customer-field input,
html.james-customer-auth-modal-open .james-customer-field select {
  min-height: 44px !important;
  padding: 9px 12px !important;
  border-radius: 7px !important;
  font-size: 14px !important;
}

html.james-customer-auth-modal-open .james-customer-account .jca-button,
html.james-customer-auth-modal-open .james-customer-account .jca-button:visited {
  min-height: 43px !important;
  padding: 10px 19px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
}

html.james-customer-auth-modal-open .james-customer-login-note {
  margin-top: 15px !important;
  padding: 10px 12px !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

html.james-customer-auth-modal-open .james-customer-section-title {
  margin-bottom: 6px !important;
  font-size: 19px !important;
}

html.james-customer-auth-modal-open .james-customer-sent-to,
html.james-customer-auth-modal-open .james-customer-otp-timer {
  font-size: 12px !important;
}

html.james-customer-auth-modal-open .james-customer-otp-timer {
  margin: 8px 0 13px !important;
}

html.james-customer-auth-modal-open .james-customer-login-actions {
  gap: 13px !important;
  margin-top: 11px !important;
}

html.james-customer-auth-modal-open .jca-link-button {
  font-size: 12px !important;
}

html.james-customer-auth-modal-open .james-customer-verified-number {
  margin: 12px 0 !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
}

@media (max-width: 767px) {
  html.james-customer-auth-modal-open .james-customer-login-shell {
    padding: 12px !important;
    align-items: center !important;
  }

  html.james-customer-auth-modal-open .james-customer-login-card,
  html.james-customer-auth-modal-open .james-customer-profile-step-shell .james-customer-login-card {
    width: min(100%, 440px) !important;
    max-width: 440px !important;
    max-height: calc(100vh - 24px) !important;
    padding: 20px 18px !important;
    border-radius: 13px !important;
  }

  html.james-customer-auth-modal-open .james-customer-main-title {
    font-size: 27px !important;
  }

  html.james-customer-auth-modal-open .james-customer-description {
    font-size: 13px !important;
  }

  html.james-customer-auth-modal-open .james-customer-profile-completion-form .james-customer-form-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.james-customer-auth-modal-open .james-customer-login-card {
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   JAMES BLOG DETAILS WIDGET — 2026.67
   ========================================================= */
.james-blog-detail {
  --james-blog-primary: #034ea3;
  --james-blog-navy: #102a4c;
  --james-blog-text: #334b67;
  --james-blog-muted: #60738d;
  font-family: Inter, Arial, sans-serif;
  color: var(--james-blog-text);
  background: #fff;
  overflow: clip;
}

.james-blog-detail-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.james-blog-detail-hero {
  position: relative;
  padding: 76px 24px 104px;
  background-color: #eaf4fc;
  overflow: hidden;
}

.james-blog-detail-hero::before,
.james-blog-detail-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.james-blog-detail-hero::before {
  width: 440px;
  height: 440px;
  top: -270px;
  right: -100px;
  background: rgba(0, 174, 237, .13);
}

.james-blog-detail-hero::after {
  width: 300px;
  height: 300px;
  left: -130px;
  bottom: -210px;
  background: rgba(3, 78, 163, .10);
}

.james-blog-detail-hero-inner {
  position: relative;
  z-index: 1;
}

.james-blog-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 30px;
  color: #416488;
  font-size: 13px;
  line-height: 1.5;
}

.james-blog-detail-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.james-blog-detail-breadcrumb a:hover,
.james-blog-detail-breadcrumb a:focus {
  color: var(--james-blog-primary);
}

.james-blog-detail-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.james-blog-detail-category {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 13px;
  color: #fff;
  background: var(--james-blog-primary);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
}

.james-blog-detail-category:hover,
.james-blog-detail-category:focus {
  color: #fff;
  background: #023b7c;
}

.james-blog-detail-title {
  max-width: 1050px;
  margin: 0;
  color: var(--james-blog-navy);
  font-size: clamp(38px, 4.3vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.james-blog-detail-excerpt {
  max-width: 840px;
  margin: 26px 0 0;
  color: #536b87;
  font-size: 19px;
  line-height: 1.7;
}

.james-blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--james-blog-muted);
  font-size: 13px;
  line-height: 1.5;
}

.james-blog-detail-meta-item {
  position: relative;
}

.james-blog-detail-meta-item + .james-blog-detail-meta-item::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  top: 50%;
  left: -14px;
  margin-top: -2px;
  background: #9cb0c5;
  border-radius: 50%;
}

.james-blog-detail-body {
  padding: 60px 24px 80px;
  background: #fff;
}

.james-blog-detail-featured {
  position: relative;
  margin: -112px 0 58px;
  overflow: hidden;
  background: #e9f0f7;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(16, 42, 76, .16);
}

.james-blog-detail-featured img {
  display: block;
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.james-blog-detail-featured figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  color: #fff;
  background: rgba(4, 28, 55, .78);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
  backdrop-filter: blur(6px);
}

.james-blog-detail-layout {
  --james-blog-article-width: 860px;
  --james-blog-sidebar-width: 300px;
  display: grid;
  grid-template-columns: minmax(0, var(--james-blog-article-width)) minmax(220px, var(--james-blog-sidebar-width));
  justify-content: center;
  align-items: start;
  gap: 44px;
}

.james-blog-detail-layout.james-blog-detail-no-sidebar {
  grid-template-columns: minmax(0, var(--james-blog-article-width));
}

.james-blog-detail-main,
.james-blog-detail-sidebar {
  min-width: 0;
}

.james-blog-detail-content {
  color: var(--james-blog-text);
  font-size: 17px;
  line-height: 1.85;
}

.james-blog-detail-content > *:first-child {
  margin-top: 0;
}

.james-blog-detail-content > *:last-child {
  margin-bottom: 0;
}

.james-blog-detail-content p,
.james-blog-detail-content ul,
.james-blog-detail-content ol,
.james-blog-detail-content figure,
.james-blog-detail-content table,
.james-blog-detail-content blockquote {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.james-blog-detail-content h1,
.james-blog-detail-content h2,
.james-blog-detail-content h3,
.james-blog-detail-content h4,
.james-blog-detail-content h5,
.james-blog-detail-content h6 {
  margin: 1.55em 0 .65em;
  color: var(--james-blog-navy);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.02em;
}

.james-blog-detail-content h2 { font-size: clamp(28px, 3vw, 40px); }
.james-blog-detail-content h3 { font-size: clamp(23px, 2.3vw, 31px); }
.james-blog-detail-content h4 { font-size: 22px; }

.james-blog-detail-content a {
  color: var(--james-blog-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.james-blog-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.james-blog-detail-content blockquote {
  padding: 22px 26px;
  color: #244767;
  background: #f2f7fb;
  border-left: 4px solid var(--james-blog-primary);
  border-radius: 0 12px 12px 0;
  font-size: 20px;
  line-height: 1.65;
}

.james-blog-detail-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.james-blog-detail-content th,
.james-blog-detail-content td {
  padding: 12px 14px;
  border: 1px solid #dbe6f0;
  text-align: left;
}

.james-blog-detail-sidebar-sticky {
  position: sticky;
  top: 30px;
  display: grid;
  gap: 18px;
}

.james-blog-detail-side-card {
  padding: 24px;
  color: #405875;
  background: #f7fafc;
  border: 1px solid #dce7f1;
  border-radius: 16px;
}

.james-blog-detail-side-card h3 {
  margin: 0 0 16px;
  color: var(--james-blog-navy);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.james-blog-detail-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.james-blog-detail-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--james-blog-primary);
  border: 1px solid var(--james-blog-primary);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.james-blog-detail-share-link:hover,
.james-blog-detail-share-link:focus {
  color: var(--james-blog-primary);
  background: #fff;
}

.james-blog-detail-side-label {
  display: block;
  margin-bottom: 14px;
  color: #6e8198;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.james-blog-detail-author-avatar {
  margin-bottom: 14px;
}

.james-blog-detail-author-avatar img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

.james-blog-detail-author-name {
  display: inline-block;
  color: var(--james-blog-navy);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  text-decoration: none;
}

.james-blog-detail-author-bio {
  margin: 10px 0 0;
  color: #5f738b;
  font-size: 13px;
  line-height: 1.65;
}

.james-blog-detail-tags {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid #e1e9f1;
}

.james-blog-detail-tags > strong {
  padding-top: 8px;
  color: var(--james-blog-navy);
  font-size: 13px;
}

.james-blog-detail-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.james-blog-detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  color: var(--james-blog-primary);
  background: #eef5fb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.james-blog-detail-cta {
  margin-top: 48px;
  padding: 38px;
  color: #fff;
  background-color: var(--james-blog-primary);
  border-radius: 18px;
  overflow: hidden;
}

.james-blog-detail-cta-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #bfe7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.james-blog-detail-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.025em;
}

.james-blog-detail-cta-copy {
  max-width: 680px;
  margin-top: 14px;
  color: #e5f2ff;
  font-size: 15px;
  line-height: 1.7;
}

.james-blog-detail-cta-copy p {
  margin: 0;
}

.james-blog-detail-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.james-blog-detail-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 2px solid #fff;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.james-blog-detail-cta-primary {
  color: var(--james-blog-primary);
  background: #fff;
}

.james-blog-detail-cta-secondary {
  color: #fff;
  background: transparent;
}

.james-blog-detail-cta-primary:hover,
.james-blog-detail-cta-primary:focus {
  color: #fff;
  background: transparent;
}

.james-blog-detail-cta-secondary:hover,
.james-blog-detail-cta-secondary:focus {
  color: var(--james-blog-primary);
  background: #fff;
}

.james-blog-detail-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid #e1e9f1;
}

.james-blog-detail-nav-link {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  background: #f7fafc;
  border: 1px solid #dce7f1;
  border-radius: 13px;
  text-decoration: none;
}

.james-blog-detail-nav-next {
  text-align: right;
}

.james-blog-detail-nav-link span {
  margin-bottom: 6px;
  color: #75879b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.james-blog-detail-nav-link strong {
  color: var(--james-blog-navy);
  font-size: 15px;
  line-height: 1.45;
}

.james-blog-detail-nav-link:hover,
.james-blog-detail-nav-link:focus {
  border-color: var(--james-blog-primary);
}

.james-blog-detail-related {
  padding: 76px 24px 88px;
  background: #f4f8fc;
}

.james-blog-detail-related-header {
  margin-bottom: 30px;
}

.james-blog-detail-related-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--james-blog-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.james-blog-detail-related-heading {
  margin: 0;
  color: var(--james-blog-navy);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.025em;
}

.james-blog-detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.james-blog-detail-related-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce7f1;
  border-radius: 15px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.james-blog-detail-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(16, 42, 76, .10);
}

.james-blog-detail-related-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8f0f7;
}

.james-blog-detail-related-image img,
.james-blog-detail-related-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.james-blog-detail-related-card:hover .james-blog-detail-related-image img {
  transform: scale(1.035);
}

.james-blog-detail-related-card-body {
  padding: 20px;
}

.james-blog-detail-related-card time {
  color: #7b8ca0;
  font-size: 11px;
}

.james-blog-detail-related-card h3 {
  margin: 9px 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.james-blog-detail-related-title {
  color: var(--james-blog-navy);
  text-decoration: none;
}

.james-blog-detail-related-excerpt {
  margin: 0;
  color: var(--james-blog-muted);
  font-size: 13px;
  line-height: 1.65;
}

.james-blog-detail-related-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  color: var(--james-blog-primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.james-blog-detail-editor-notice {
  padding: 24px;
  color: #634b00;
  background: #fff8d8;
  border: 1px solid #eadb8e;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .james-blog-detail-hero {
    padding: 58px 20px 80px;
  }

  .james-blog-detail-body {
    padding: 45px 20px 60px;
  }

  .james-blog-detail-featured {
    margin-top: -88px;
    margin-bottom: 42px;
  }

  .james-blog-detail-featured img {
    height: 460px;
  }

  .james-blog-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .james-blog-detail-sidebar-sticky {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .james-blog-detail-related {
    padding: 58px 20px 68px;
  }
}

@media (max-width: 767px) {
  .james-blog-detail-hero {
    padding: 42px 16px 62px;
  }

  .james-blog-detail-breadcrumb {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .james-blog-detail-title {
    font-size: clamp(32px, 10vw, 45px);
  }

  .james-blog-detail-excerpt {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.65;
  }

  .james-blog-detail-meta {
    gap: 8px 18px;
    margin-top: 20px;
  }

  .james-blog-detail-meta-item + .james-blog-detail-meta-item::before {
    left: -11px;
  }

  .james-blog-detail-body {
    padding: 32px 16px 44px;
  }

  .james-blog-detail-featured {
    margin: -70px 0 30px;
    border-radius: 14px;
  }

  .james-blog-detail-featured img {
    height: 270px;
  }

  .james-blog-detail-content {
    font-size: 16px;
    line-height: 1.78;
  }

  .james-blog-detail-content blockquote {
    padding: 18px 20px;
    font-size: 17px;
  }

  .james-blog-detail-sidebar-sticky {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-blog-detail-tags {
    flex-direction: column;
    gap: 10px;
  }

  .james-blog-detail-cta {
    padding: 26px 22px;
  }

  .james-blog-detail-cta-buttons,
  .james-blog-detail-cta-button {
    width: 100%;
  }

  .james-blog-detail-navigation {
    grid-template-columns: minmax(0, 1fr);
  }

  .james-blog-detail-nav-next {
    text-align: left;
  }

  .james-blog-detail-related {
    padding: 44px 16px 52px;
  }

  .james-blog-detail-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* =========================================================
   BLOG DETAILS FEATURED IMAGE SOURCE FIX — 2026.68
   =========================================================
   The Elementor Blog Details widget is the sole renderer of its featured
   image. Legacy plugin template image wrappers are suppressed on pages that
   contain this widget, preventing a cached duplicate from appearing.
   ========================================================= */
body.james-blog-single-redesign:has(.james-blog-detail) .james-blog-single-header,
body.james-blog-single-redesign:has(.james-blog-detail) .james-blog-single-featured {
  display: none !important;
}

/* =========================================================
   SITE-WIDE AGE VERIFICATION — 2026.69
   ========================================================= */
html.james-age-gate-lock,
body.james-age-gate-lock,
body.james-age-gate-active {
  overflow: hidden !important;
}

.james-age-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: Inter, Arial, sans-serif;
  opacity: 1;
  visibility: visible;
  transition: opacity .22s ease, visibility .22s ease;
}

.james-age-gate.is-closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.james-age-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 19, 40, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.james-age-gate-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px 36px 30px;
  color: #102b4d;
  background: #ffffff;
  border: 1px solid rgba(3, 78, 163, .18);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(3, 22, 48, .34);
  text-align: center;
}

.james-age-gate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  color: #ffffff;
  background: #034ea3;
  border-radius: 14px;
}

.james-age-gate-icon svg {
  width: 27px;
  height: 27px;
  display: block;
}

.james-age-gate-eyebrow {
  margin: 0 0 8px;
  color: #034ea3;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.james-age-gate-card h2 {
  margin: 0;
  color: #102b4d;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.025em;
}

.james-age-gate-message {
  margin: 16px auto 0;
  max-width: 430px;
  color: #526780;
  font-size: 15px;
  line-height: 1.65;
}

.james-age-gate-message p {
  margin: 0;
}

.james-age-gate-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 14px;
  color: #405a79;
  background: #f2f7fc;
  border: 1px solid #d9e8f6;
  border-radius: 10px;
  text-align: left;
}

.james-age-gate-note > span {
  flex: 0 0 auto;
  color: #034ea3;
  font-weight: 800;
}

.james-age-gate-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.james-age-gate-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
  gap: 10px;
  margin-top: 22px;
}

body .james-age-gate button.james-age-gate-confirm,
body .james-age-gate button.james-age-gate-decline {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 !important;
  padding: 11px 18px !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

body .james-age-gate button.james-age-gate-confirm {
  color: #ffffff !important;
  background: #034ea3 !important;
  border: 2px solid #034ea3 !important;
}

body .james-age-gate button.james-age-gate-confirm:hover,
body .james-age-gate button.james-age-gate-confirm:focus {
  color: #034ea3 !important;
  background: #ffffff !important;
  border-color: #034ea3 !important;
  transform: translateY(-1px);
}

body .james-age-gate button.james-age-gate-decline {
  color: #034ea3 !important;
  background: #ffffff !important;
  border: 2px solid #c9d9e8 !important;
}

body .james-age-gate button.james-age-gate-decline:hover,
body .james-age-gate button.james-age-gate-decline:focus {
  color: #ffffff !important;
  background: #034ea3 !important;
  border-color: #034ea3 !important;
}

.james-age-gate-privacy {
  margin: 14px 0 0;
  color: #8190a3;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .james-age-gate {
    padding: 14px;
  }

  .james-age-gate-card {
    max-height: calc(100vh - 28px);
    padding: 26px 20px 22px;
    border-radius: 14px;
  }

  .james-age-gate-icon {
    width: 48px;
    height: 48px;
  }

  .james-age-gate-card h2 {
    font-size: 28px;
  }

  .james-age-gate-message {
    margin-top: 13px;
    font-size: 14px;
  }

  .james-age-gate-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .james-age-gate,
  body .james-age-gate button {
    transition: none !important;
  }
}

/* =========================================================
   James – Ireland Delivery Hero
   ========================================================= */
.james-ireland-delivery {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #1874e8;
    background: #f5faff;
    font-family: Inter, Arial, sans-serif;
}

.james-ireland-delivery,
.james-ireland-delivery * {
    box-sizing: border-box;
}

.james-ireland-delivery-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    min-height: inherit;
    margin: 0 auto;
    display: flex;
    align-items: center;
    column-gap: 30px;
    padding: 48px 34px;
}

.james-ireland-delivery-content {
    position: relative;
    z-index: 4;
    flex: 0 0 51%;
    max-width: 51%;
    min-width: 0;
}

.james-ireland-delivery-eyebrow {
    margin: 0 0 28px;
    color: #075dd8;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.james-ireland-delivery-heading {
    margin: 0;
    padding: 0;
    color: #071430;
    font-size: 55px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -1.8px;
}

.james-ireland-delivery-heading-main,
.james-ireland-delivery-heading-accent {
    display: block;
}

.james-ireland-delivery-heading-accent {
    margin-top: 2px;
    color: #0958cd;
}

.james-ireland-delivery-description {
    max-width: 590px;
    margin-top: 34px;
    color: #3c4860;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
}

.james-ireland-delivery-description p {
    margin: 0;
    color: inherit;
    font: inherit;
}

.james-ireland-delivery-description p + p {
    margin-top: .8em;
}

.james-ireland-delivery-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 42px;
}

.james-ireland-delivery-button {
    min-height: 53px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px 26px;
    border: 2px solid transparent;
    border-radius: 11px;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    cursor: pointer;
}

.james-ireland-delivery-button:hover {
    transform: translateY(-1px);
    text-decoration: none !important;
}

.james-ireland-delivery-button-primary {
    background: #075ed6;
    border-color: #075ed6;
    color: #fff;
    box-shadow: 0 8px 18px rgba(7, 94, 214, .13);
}

.james-ireland-delivery-button-secondary {
    background: rgba(255,255,255,.38);
    border-color: #075ed6;
    color: #0759c8;
}

.james-ireland-delivery-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
    font-size: 14px;
}

.james-ireland-delivery-button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.james-ireland-delivery-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 44px;
    row-gap: 15px;
    margin-top: 43px;
}

.james-ireland-delivery-feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #334056;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    white-space: nowrap;
}

.james-ireland-delivery-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #075ed6;
    font-size: 15px;
    line-height: 1;
}

.james-ireland-delivery-feature-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.james-ireland-delivery-visual {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 650px;
    align-self: stretch;
    isolation: isolate;
}

.james-ireland-delivery-visual-bg,
.james-ireland-delivery-dots,
.james-ireland-delivery-rings,
.james-ireland-delivery-route {
    pointer-events: none;
}

.james-ireland-delivery-visual-bg {
    position: absolute;
    inset: 0;
    z-index: -4;
    background-image: var(--james-ireland-visual-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.james-ireland-delivery-dots {
    --james-ireland-dot-color: #8fc4ff;
    --james-ireland-dot-size: 1.5px;
    --james-ireland-dot-spacing: 18px;
    position: absolute;
    z-index: -3;
    top: 2%;
    right: -7%;
    width: 79%;
    height: 88%;
    opacity: .55;
    background-image: radial-gradient(circle, var(--james-ireland-dot-color) var(--james-ireland-dot-size), transparent calc(var(--james-ireland-dot-size) + .35px));
    background-size: var(--james-ireland-dot-spacing) var(--james-ireland-dot-spacing);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 42%, transparent 78%);
    mask-image: radial-gradient(ellipse at center, #000 42%, transparent 78%);
}

.james-ireland-delivery-rings {
    position: absolute;
    z-index: -2;
    top: 51%;
    left: 52%;
    width: 390px;
    height: 390px;
    transform: translate(-50%, -50%);
    color: #a8d1fa;
    opacity: .55;
}

.james-ireland-delivery-rings span {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.james-ireland-delivery-rings span:nth-child(1) { width: 100%; height: 100%; opacity: .45; }
.james-ireland-delivery-rings span:nth-child(2) { width: 72%; height: 72%; opacity: .65; }
.james-ireland-delivery-rings span:nth-child(3) { width: 46%; height: 46%; opacity: .75; }

.james-ireland-delivery-route {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    color: #0868ec;
}

.james-ireland-delivery-route path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2px;
    stroke-dasharray: 8 8;
    stroke-linecap: round;
    opacity: .95;
}

.james-ireland-delivery-route circle {
    fill: currentColor;
}

.james-ireland-delivery-product {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.james-ireland-delivery-product-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 230px;
    max-width: none;
    height: auto;
    max-height: 590px;
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(20,48,78,.13));
}

.james-ireland-delivery-ground-shadow {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: -6px;
    width: 210px;
    height: 16px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: rgba(23,50,73,.18);
    filter: blur(9px);
    opacity: .7;
}

.james-ireland-delivery-card {
    position: absolute;
    z-index: 5;
    width: 222px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border: 1px solid #eef3f9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(21,55,90,.08);
}

.james-ireland-delivery-card-dispatch {
    top: 10%;
    left: 3%;
}

.james-ireland-delivery-card-delivery {
    top: 61%;
    left: 67%;
}

.james-ireland-delivery-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    color: #4d7bf3;
    font-size: 29px;
    line-height: 1;
}

.james-ireland-delivery-card-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.james-ireland-delivery-card-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.james-ireland-delivery-card-title {
    display: block;
    color: #071430;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
}

.james-ireland-delivery-card-subtitle {
    display: block;
    color: #4b5a73;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 400;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .james-ireland-delivery-heading {
        font-size: 46px;
    }
    .james-ireland-delivery-content {
        flex-basis: 53%;
        max-width: 53%;
    }
    .james-ireland-delivery-card {
        width: 205px;
    }
    .james-ireland-delivery-features {
        column-gap: 26px;
    }
    .james-ireland-delivery-feature {
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .james-ireland-delivery-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 44px 20px;
    }

    .james-ireland-delivery-content {
        width: 100%;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    .james-ireland-delivery-heading {
        font-size: 38px;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .james-ireland-delivery-description {
        max-width: none;
        font-size: 16px;
    }

    .james-ireland-delivery-buttons {
        gap: 12px;
    }

    .james-ireland-delivery-button {
        flex: 1 1 210px;
    }

    .james-ireland-delivery-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .james-ireland-delivery-feature {
        white-space: normal;
    }

    .james-ireland-delivery-visual {
        width: 100%;
        min-height: 470px;
    }

    .james-ireland-delivery-card {
        width: 190px;
        gap: 10px;
        padding: 13px 14px;
    }

    .james-ireland-delivery-card-title {
        font-size: 14px;
    }

    .james-ireland-delivery-card-subtitle {
        font-size: 12px;
    }

    .james-ireland-delivery-card-icon {
        width: 30px;
    }

    .james-ireland-delivery-product-image {
        width: 170px;
        max-height: 420px;
    }

    .james-ireland-mobile-visual-before .james-ireland-delivery-visual {
        order: -1;
    }

    .james-ireland-hide-visual-mobile-yes .james-ireland-delivery-visual {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .james-ireland-delivery-eyebrow {
        letter-spacing: 2px;
        font-size: 11px;
    }
    .james-ireland-delivery-heading {
        font-size: 34px;
    }
    .james-ireland-delivery-button {
        width: 100%;
        flex-basis: 100%;
    }
    .james-ireland-delivery-card {
        transform: scale(.9);
        transform-origin: left top;
    }
    .james-ireland-delivery-card-delivery {
        transform-origin: right top;
    }
}

/* Ireland hero image-free fallback pen; replaced automatically when a media image is selected. */
.james-ireland-delivery-pen-placeholder {
    position: relative;
    z-index: 2;
    display: block;
    width: 72px;
    height: 560px;
    overflow: hidden;
    border: 1px solid #e5e8ec;
    border-radius: 28px 28px 12px 12px;
    background: linear-gradient(90deg, #f1f2f3 0%, #fff 22%, #fff 72%, #e8eaed 100%);
    box-shadow: inset -6px 0 10px rgba(0,0,0,.025), 0 18px 22px rgba(20,48,78,.13);
}
.james-ireland-delivery-pen-cap {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    height: 8px;
    background: #0786ce;
}
.james-ireland-delivery-pen-country {
    position: absolute;
    top: 99px;
    left: 50%;
    min-width: 34px;
    padding: 10px 4px;
    border: 1px solid #e6e8eb;
    border-radius: 3px;
    transform: translateX(-50%);
    background: #fff;
    color: #0755bd;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
}
.james-ireland-delivery-pen-name {
    position: absolute;
    top: 195px;
    left: 50%;
    width: 250px;
    transform: translate(-50%, -50%) rotate(-90deg);
    color: #0755bd;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .5px;
    text-align: center;
    white-space: nowrap;
}
.james-ireland-delivery-pen-band {
    position: absolute;
    top: 330px;
    left: 0;
    right: 0;
    height: 92px;
    background: linear-gradient(#0755bd, #064698);
}
.james-ireland-delivery-pen-grip {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 42px;
    height: 85px;
    border-top: 1px solid #d7d9dc;
    border-bottom: 1px solid #d7d9dc;
    background: repeating-linear-gradient(90deg, rgba(110,120,130,.15) 0 1px, transparent 1px 4px);
}
@media (max-width: 767px) {
    .james-ireland-delivery-pen-placeholder {
        width: 58px;
        height: 410px;
        border-radius: 22px 22px 9px 9px;
    }
    .james-ireland-delivery-pen-cap { top: 54px; height: 6px; }
    .james-ireland-delivery-pen-country { top: 73px; min-width: 29px; padding: 8px 3px; font-size: 11px; }
    .james-ireland-delivery-pen-name { top: 145px; width: 180px; font-size: 13px; }
    .james-ireland-delivery-pen-band { top: 243px; height: 68px; }
    .james-ireland-delivery-pen-grip { bottom: 31px; height: 62px; }
}

/* =========================================================
   James – Ireland Delivery Stats
   Scoped styles for the Ireland delivery information strip.
   ========================================================= */
.james-ireland-stats {
    --james-ireland-stats-global-icon-color: #075ed1;
    --james-ireland-stats-global-title-color: #071633;
    --james-ireland-stats-global-subtitle-color: #4b556b;
    --james-ireland-stats-divider-color: #c7ddf3;
    --james-ireland-stats-built-in-stroke: 2.4;
    width: 100%;
    min-height: 345px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(180deg, #f2f8fd 0%, #f0f7fd 100%);
}

.james-ireland-stats *,
.james-ireland-stats *::before,
.james-ireland-stats *::after {
    box-sizing: border-box;
}

.james-ireland-stats-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.james-ireland-stats-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.james-ireland-stats-item {
    --james-ireland-stats-item-icon-color: var(--james-ireland-stats-global-icon-color);
    --james-ireland-stats-item-title-color: var(--james-ireland-stats-global-title-color);
    --james-ireland-stats-item-subtitle-color: var(--james-ireland-stats-global-subtitle-color);
    position: relative;
    min-width: 0;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0 35px;
    text-align: center;
}

.james-ireland-stats-graphic {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 27px;
    color: var(--james-ireland-stats-item-icon-color);
}

.james-ireland-stats-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--james-ireland-stats-item-icon-color);
    font-size: 55px;
    line-height: 1;
}

.james-ireland-stats-icon i {
    color: currentColor;
}

.james-ireland-stats-builtin-icon svg {
    overflow: visible;
}

.james-ireland-stats-builtin-icon svg path,
.james-ireland-stats-builtin-icon svg circle,
.james-ireland-stats-builtin-icon svg line,
.james-ireland-stats-builtin-icon svg polyline {
    fill: none;
    stroke: currentColor;
    stroke-width: var(--james-ireland-stats-built-in-stroke);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.james-ireland-stats-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    color: currentColor;
}

.james-ireland-stats-image {
    display: block;
    width: 60px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.james-ireland-stats-title {
    margin: 0 0 14px;
    padding: 0;
    color: var(--james-ireland-stats-item-title-color);
    font-family: Inter, sans-serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.7px;
}

.james-ireland-stats-subtitle {
    margin: 0;
    padding: 0;
    color: var(--james-ireland-stats-item-subtitle-color);
    font-family: Inter, sans-serif;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 400;
}

.james-ireland-stats-dividers-yes .james-ireland-stats-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 164px;
    transform: translateY(-50%);
    background: var(--james-ireland-stats-divider-color);
}

@media (max-width: 1024px) {
    .james-ireland-stats {
        min-height: 0;
    }

    .james-ireland-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .james-ireland-stats-item {
        padding: 20px 30px;
    }

    .james-ireland-stats-dividers-yes .james-ireland-stats-item::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .james-ireland-stats-grid {
        grid-template-columns: 1fr;
    }

    .james-ireland-stats-item {
        min-height: 0;
        padding: 26px 20px;
    }

    .james-ireland-stats-graphic {
        min-height: 46px;
        margin-bottom: 18px;
    }

    .james-ireland-stats-icon {
        font-size: 45px;
    }

    .james-ireland-stats-title {
        font-size: 28px;
        letter-spacing: -0.4px;
    }

    .james-ireland-stats-subtitle {
        font-size: 18px;
    }

    .james-ireland-stats-mobile-dividers-yes .james-ireland-stats-item:not(:last-child) {
        border-bottom: 1px solid var(--james-ireland-stats-divider-color);
    }
}

/* James – Ireland Delivery How It Works */
.james-ireland-how-section,
.james-ireland-how-section * {
    box-sizing: border-box;
}

.james-ireland-how-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f7fafe;
    padding: 132px 28px 128px;
    --james-ireland-how-icon-stroke: 2.2;
}

.james-ireland-how-inner {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.james-ireland-how-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 0 56px;
}

.james-ireland-how-eyebrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 23px;
    color: #0a5deb;
}

.james-ireland-how-eyebrow-text {
    display: inline-block;
    font-family: Inter, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 2.3px;
    text-transform: uppercase;
}

.james-ireland-how-eyebrow-graphic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 64px;
    color: currentColor;
    font-size: 64px;
    line-height: 1;
}

.james-ireland-how-eyebrow-graphic svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.james-ireland-how-eyebrow-graphic svg path,
.james-ireland-how-eyebrow-graphic svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.james-ireland-how-eyebrow-graphic i {
    font-size: 0.42em;
    color: currentColor;
}

.james-ireland-how-eyebrow-graphic img {
    display: block;
    width: 64px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.james-ireland-how-heading {
    width: 100%;
    max-width: 1050px;
    margin: 0;
    padding: 0;
    color: #071331;
    font-family: Inter, Arial, sans-serif;
    font-size: 58px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1.8px;
}

.james-ireland-how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    width: 100%;
    align-items: stretch;
}

.james-ireland-how-card {
    position: relative;
    min-width: 0;
    min-height: 498px;
    padding: 40px 34px;
    background: #fff;
    border: 1px solid #dce4ef;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(24, 55, 95, 0.04);
}

.james-ireland-how-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 0 28px;
    border-radius: 18px;
    background-color: var(--james-how-icon-bg, var(--james-how-global-icon-bg, #eef4ff));
    color: var(--james-how-icon-color, var(--james-how-global-icon-color, #075deb));
}

.james-ireland-how-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-size: 40px;
    line-height: 1;
    color: currentColor;
}

.james-ireland-how-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    overflow: visible;
    fill: currentColor;
    color: currentColor;
}

.james-ireland-how-icon svg path,
.james-ireland-how-icon svg circle,
.james-ireland-how-icon svg line,
.james-ireland-how-icon svg polyline {
    stroke: currentColor;
}

.james-ireland-how-icon > svg path,
.james-ireland-how-icon > svg circle,
.james-ireland-how-icon > svg line,
.james-ireland-how-icon > svg polyline {
    fill: none;
    stroke-width: var(--james-ireland-how-icon-stroke);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.james-ireland-how-icon i {
    color: currentColor;
}

.james-ireland-how-icon img {
    display: block;
    width: 40px;
    height: 40px;
    max-width: 100%;
    object-fit: contain;
}

.james-ireland-how-step {
    margin: 0 0 18px;
    color: var(--james-how-step-color, var(--james-how-global-step-color, #075deb));
    font-family: Inter, Arial, sans-serif;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.james-ireland-how-card-title {
    margin: 0 0 22px;
    padding: 0;
    color: var(--james-how-title-color, var(--james-how-global-title-color, #071331));
    font-family: Inter, Arial, sans-serif;
    font-size: 27px;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.james-ireland-how-description {
    margin: 0;
    padding: 0;
    color: var(--james-how-desc-color, var(--james-how-global-desc-color, #4c5872));
    font-family: Inter, Arial, sans-serif;
    font-size: 21px;
    line-height: 1.85;
    font-weight: 400;
}

.james-ireland-how-description p {
    margin: 0;
    color: inherit;
    font: inherit;
}

.james-ireland-how-description p + p {
    margin-top: 0.8em;
}

.james-ireland-how-description strong,
.james-ireland-how-description b {
    color: var(--james-how-highlight-color, var(--james-how-global-highlight-color, #075deb));
    font-weight: 700;
}

@media (max-width: 1024px) {
    .james-ireland-how-section {
        padding: 80px 24px;
    }

    .james-ireland-how-heading {
        font-size: 46px;
        letter-spacing: -1.2px;
    }

    .james-ireland-how-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .james-ireland-how-card {
        min-height: 430px;
    }
}

@media (max-width: 767px) {
    .james-ireland-how-section {
        padding: 56px 20px;
    }

    .james-ireland-how-header {
        margin-bottom: 36px;
    }

    .james-ireland-how-eyebrow-text {
        font-size: 14px;
        letter-spacing: 1.8px;
    }

    .james-ireland-how-eyebrow-graphic {
        width: 54px;
        font-size: 54px;
    }

    .james-ireland-how-heading {
        max-width: 100%;
        font-size: 38px;
        line-height: 1.12;
        letter-spacing: -0.8px;
    }

    .james-ireland-how-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .james-ireland-how-card {
        min-height: 0;
        padding: 30px 24px;
    }

    .james-ireland-how-icon-box {
        width: 70px;
        height: 70px;
        margin-bottom: 24px;
    }

    .james-ireland-how-icon {
        font-size: 36px;
    }

    .james-ireland-how-step {
        font-size: 21px;
        margin-bottom: 14px;
    }

    .james-ireland-how-card-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .james-ireland-how-description {
        font-size: 17px;
        line-height: 1.7;
    }
}

/* James – Ireland Research Catalogue */
.james-ireland-catalogue-section,
.james-ireland-catalogue-section * {
    box-sizing: border-box;
}

.james-ireland-catalogue-section {
    width: 100%;
    padding: 72px 20px 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfdff 0%, #f8fbff 100%);
    font-family: "Inter", sans-serif;
}

.james-ireland-catalogue-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.james-ireland-catalogue-header {
    margin-bottom: 30px;
}

.james-ireland-catalogue-eyebrow {
    margin: 0 0 12px;
    color: #075deb;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.james-ireland-catalogue-heading {
    margin: 0 0 16px;
    color: #071433;
    font-size: clamp(38px, 3vw, 54px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.james-ireland-catalogue-description {
    max-width: 810px;
    color: #536785;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 400;
}

.james-ireland-catalogue-description p {
    margin: 0;
    color: inherit;
    font: inherit;
}

.james-ireland-catalogue-featured {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.james-ireland-catalogue-product {
    position: relative;
    min-width: 0;
    min-height: 320px;
    padding: 34px 34px 30px;
    overflow: hidden;
    border: 1px solid #c8daff;
    border-radius: 16px;
    isolation: isolate;
}

.james-ireland-catalogue-product[data-theme="light"] {
    background: var(--james-cat-card-bg, #fff);
}

.james-ireland-catalogue-product[data-theme="dark"] {
    background: var(--james-cat-card-bg, linear-gradient(135deg, #001747 0%, #00102f 100%));
    border-color: #001747;
}

.james-ireland-catalogue-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.james-ireland-catalogue-product-copy {
    position: relative;
    z-index: 3;
    max-width: 82%;
}

.james-ireland-catalogue-product-title {
    margin: 0 0 18px;
    padding-right: 150px;
    font-size: 31px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.james-ireland-catalogue-product[data-theme="light"] .james-ireland-catalogue-product-title {
    color: var(--james-cat-title, #071433);
}

.james-ireland-catalogue-product[data-theme="dark"] .james-ireland-catalogue-product-title {
    color: var(--james-cat-title, #fff);
}

.james-ireland-catalogue-product-description {
    position: relative;
    z-index: 3;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 400;
}

.james-ireland-catalogue-product[data-theme="light"] .james-ireland-catalogue-product-description {
    color: var(--james-cat-desc, #536785);
}

.james-ireland-catalogue-product[data-theme="dark"] .james-ireland-catalogue-product-description {
    color: var(--james-cat-desc, #fff);
}

.james-ireland-catalogue-product-description p {
    margin: 0;
    color: inherit;
    font: inherit;
}

.james-ireland-catalogue-badge {
    position: absolute;
    top: -4px;
    right: -15%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #075deb;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .5px;
    white-space: nowrap;
}

.james-ireland-catalogue-strengths {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    max-width: 100%;
}

.james-ireland-catalogue-strength {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .2s ease, opacity .2s ease;
}

.james-ireland-catalogue-product[data-theme="light"] .james-ireland-catalogue-strength {
    color: var(--james-cat-pill-text, #075deb);
    background: var(--james-cat-pill-bg, #eff4ff);
    border-color: var(--james-cat-pill-border, transparent);
}

.james-ireland-catalogue-product[data-theme="dark"] .james-ireland-catalogue-strength {
    color: var(--james-cat-pill-text, #fff);
    background: var(--james-cat-pill-bg, rgba(0, 33, 95, .42));
    border-color: var(--james-cat-pill-border, #29539b);
}

.james-ireland-catalogue-strength[href]:hover {
    transform: translateY(-1px);
    opacity: .9;
}

.james-ireland-catalogue-product-image {
    position: absolute;
    z-index: 2;
    right: -6px;
    bottom: 10px;
    width: 55%;
    max-width: none;
    height: auto;
    max-height: 58%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
}

.james-ireland-catalogue-full {
    margin-top: 24px;
    padding: 32px 34px;
    border: 1px solid #c8daff;
    border-radius: 16px;
    background: #fff;
}

.james-ireland-catalogue-full-title {
    margin: 0 0 12px;
    color: #071433;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.6px;
}

.james-ireland-catalogue-full-description {
    color: #536785;
    font-size: 16px;
    line-height: 1.55;
}

.james-ireland-catalogue-full-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    margin-top: 30px;
}

.james-ireland-catalogue-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.james-ireland-catalogue-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #eff4ff;
    color: #075deb;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.james-ireland-catalogue-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
    color: #075deb;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.james-ireland-catalogue-cta-icon {
    display: inline-flex;
    line-height: 1;
}

.james-ireland-catalogue-cta-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

@media (max-width: 1024px) {
    .james-ireland-catalogue-section {
        padding: 64px 24px 70px;
    }

    .james-ireland-catalogue-heading {
        font-size: 44px;
    }

    .james-ireland-catalogue-product {
        min-height: 300px;
        padding: 30px 28px;
    }

    .james-ireland-catalogue-product-copy {
        max-width: 92%;
    }

    .james-ireland-catalogue-product-title {
        padding-right: 105px;
        font-size: 27px;
    }

    .james-ireland-catalogue-badge {
        right: -8%;
    }

    .james-ireland-catalogue-product-image {
        width: 62%;
    }

    .james-ireland-catalogue-full-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .james-ireland-catalogue-section {
        padding: 48px 20px 56px;
    }

    .james-ireland-catalogue-eyebrow {
        font-size: 13px;
        letter-spacing: 2.4px;
    }

    .james-ireland-catalogue-heading {
        font-size: 35px;
        letter-spacing: -.9px;
    }

    .james-ireland-catalogue-description {
        font-size: 17px;
    }

    .james-ireland-catalogue-featured {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .james-ireland-catalogue-product {
        min-height: 330px;
        padding: 26px 22px;
    }

    .james-ireland-catalogue-product-copy {
        max-width: 100%;
    }

    .james-ireland-catalogue-product-title {
        padding-right: 0;
        margin-bottom: 12px;
        font-size: 25px;
    }

    .james-ireland-catalogue-badge {
        position: static;
        margin-bottom: 15px;
        min-height: 32px;
        padding: 7px 13px;
        font-size: 11px;
    }

    .james-ireland-catalogue-product-description {
        font-size: 16px;
    }

    .james-ireland-catalogue-strengths {
        gap: 8px;
        margin-top: 18px;
        padding-bottom: 105px;
    }

    .james-ireland-catalogue-strength {
        min-height: 36px;
        padding: 7px 13px;
        font-size: 14px;
    }

    .james-ireland-catalogue-product-image {
        right: -10px;
        bottom: 5px;
        width: 70%;
        max-height: 37%;
    }

    .james-ireland-catalogue-full {
        margin-top: 18px;
        padding: 26px 22px;
    }

    .james-ireland-catalogue-full-title {
        font-size: 24px;
    }

    .james-ireland-catalogue-full-bottom {
        margin-top: 24px;
        gap: 22px;
    }

    .james-ireland-catalogue-chip {
        min-height: 36px;
        padding: 7px 13px;
        font-size: 13px;
    }

    .james-ireland-catalogue-cta {
        white-space: normal;
    }
}

/* ------------------------------------------------------------
 * Ireland Certificates of Analysis
 * ------------------------------------------------------------ */
.james-ireland-coa-section,
.james-ireland-coa-section * {
    box-sizing: border-box;
}

.james-ireland-coa-section {
    width: 100%;
    overflow: hidden;
    background: #f7f9fd;
    font-family: Inter, Arial, sans-serif;
}

.james-ireland-coa-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.james-ireland-coa-header {
    width: 100%;
}

.james-ireland-coa-eyebrow {
    margin: 0 0 25px;
    color: #075fea;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.james-ireland-coa-heading {
    width: 100%;
    max-width: 1050px;
    margin: 0;
    color: #06183f;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.6px;
}

.james-ireland-coa-card {
    --james-coa-graphic-col: 180px;
    --james-coa-details-col: 370px;
    display: grid;
    grid-template-columns: var(--james-coa-graphic-col) minmax(0, 1fr) var(--james-coa-details-col);
    column-gap: 42px;
    align-items: center;
    width: 100%;
    min-height: 360px;
    margin-top: 44px;
    padding: 42px 44px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dde5f2;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(26, 53, 96, .10);
}

.james-ireland-coa-card--no-graphic {
    grid-template-columns: minmax(0, 1fr) var(--james-coa-details-col);
}

.james-ireland-coa-card--no-details {
    grid-template-columns: var(--james-coa-graphic-col) minmax(0, 1fr);
}

.james-ireland-coa-card--no-graphic.james-ireland-coa-card--no-details {
    grid-template-columns: minmax(0, 1fr);
}

.james-ireland-coa-graphic-column {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.james-ireland-coa-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 156px;
    height: 156px;
    max-width: 100%;
    background: #eff4ff;
    border-radius: 24px;
}

.james-ireland-coa-icon {
    --james-coa-icon-line: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #075fea;
    line-height: 1;
}

.james-ireland-coa-icon svg {
    display: block;
    width: 82px;
    height: 82px;
    max-width: 100%;
}

.james-ireland-coa-icon i {
    display: block;
    width: 82px;
    height: 82px;
    font-size: 82px;
    line-height: 1;
}

.james-ireland-coa-icon img {
    display: block;
    width: 82px;
    max-height: 82px;
    object-fit: contain;
}

.james-ireland-coa-copy-column {
    min-width: 0;
}

.james-ireland-coa-description {
    max-width: 700px;
    margin: 0;
    color: #112243;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.62;
}

.james-ireland-coa-description > :first-child {
    margin-top: 0;
}

.james-ireland-coa-description > :last-child {
    margin-bottom: 0;
}

.james-ireland-coa-description p {
    margin: 0;
}

.james-ireland-coa-description strong,
.james-ireland-coa-description b {
    color: #06183f;
    font-weight: 700;
}

.james-ireland-coa-description a {
    color: #075fea;
    text-decoration: none;
}

.james-ireland-coa-details {
    min-width: 0;
    padding-left: 58px;
    border-left: 1px solid #dce4f0;
}

.james-ireland-coa-detail-row {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 21px 0;
    border-bottom: 1px solid transparent;
}

.james-ireland-coa-detail-row:first-child {
    padding-top: 7px;
}

.james-ireland-coa-detail-row:last-child {
    padding-bottom: 7px;
}

.james-ireland-coa-detail-row:not(:last-child) {
    border-bottom-color: #dce4f0;
}

.james-ireland-coa-detail-label {
    flex: 0 0 52%;
    min-width: 0;
    color: var(--james-coa-row-label, #0a1c43);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.james-ireland-coa-detail-value-wrap {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-start;
    min-width: 0;
}

.james-ireland-coa-detail-value {
    color: #65728d;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}

.james-ireland-coa-detail-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    color: #075fea;
    background: #eff4ff;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .james-ireland-coa-card {
        --james-coa-graphic-col: 145px;
        --james-coa-details-col: 320px;
        column-gap: 30px;
        padding: 36px 32px;
    }

    .james-ireland-coa-icon-box {
        width: 132px;
        height: 132px;
    }

    .james-ireland-coa-description {
        font-size: 21px;
    }

    .james-ireland-coa-details {
        padding-left: 34px;
    }
}

@media (max-width: 1024px) {
    .james-ireland-coa-section {
        padding: 75px 26px;
    }

    .james-ireland-coa-heading {
        font-size: 48px;
    }

    .james-ireland-coa-card {
        grid-template-columns: var(--james-coa-graphic-col) minmax(0, 1fr);
        row-gap: 30px;
        min-height: 0;
    }

    .james-ireland-coa-card--no-graphic {
        grid-template-columns: minmax(0, 1fr);
    }

    .james-ireland-coa-card--no-details {
        grid-template-columns: var(--james-coa-graphic-col) minmax(0, 1fr);
    }

    .james-ireland-coa-details {
        grid-column: 1 / -1;
        width: 100%;
        padding: 10px 0 0;
        border-top: 1px solid #dce4f0;
        border-left: 0 !important;
    }

    .james-ireland-coa-detail-row {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 767px) {
    .james-ireland-coa-section {
        padding: 52px 20px 56px;
    }

    .james-ireland-coa-eyebrow {
        margin-bottom: 16px;
        font-size: 13px;
        letter-spacing: 2.8px;
    }

    .james-ireland-coa-heading {
        font-size: 36px;
        line-height: 1.12;
        letter-spacing: -.8px;
    }

    .james-ireland-coa-card,
    .james-ireland-coa-card--no-graphic,
    .james-ireland-coa-card--no-details,
    .james-ireland-coa-card--no-graphic.james-ireland-coa-card--no-details {
        grid-template-columns: 1fr;
        row-gap: 24px;
        margin-top: 30px;
        padding: 28px 24px;
    }

    .james-ireland-coa-graphic-column {
        justify-content: flex-start;
    }

    .james-ireland-coa-icon-box {
        width: 108px;
        height: 108px;
        border-radius: 18px;
    }

    .james-ireland-coa-icon svg,
    .james-ireland-coa-icon i {
        width: 58px;
        height: 58px;
        font-size: 58px;
    }

    .james-ireland-coa-icon img {
        width: 58px;
        max-height: 58px;
    }

    .james-ireland-coa-description {
        max-width: none;
        font-size: 18px;
        line-height: 1.58;
    }

    .james-ireland-coa-details {
        grid-column: auto;
        padding: 6px 0 0;
    }

    .james-ireland-coa-detail-row {
        gap: 18px;
        padding: 17px 4px;
    }

    .james-ireland-coa-detail-label {
        flex-basis: 43%;
        font-size: 13px;
    }

    .james-ireland-coa-detail-value {
        font-size: 16px;
        white-space: normal;
    }

    .james-ireland-coa-detail-badge {
        padding: 8px 14px;
        font-size: 15px;
    }
}

/* James – Ireland Delivery Certainty */
.james-ireland-certainty-section {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    overflow: hidden;
}

.james-ireland-certainty-panel {
    --james-certainty-glow: #0e5fdf;
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 82% 62%, color-mix(in srgb, var(--james-certainty-glow) 28%, transparent) 0%, transparent 31%),
        radial-gradient(circle at 16% 52%, rgba(15, 62, 125, 0.24) 0%, transparent 43%),
        linear-gradient(114deg, #062655 0%, #051f48 46%, #031a40 100%);
    box-shadow: 0 16px 34px rgba(2, 20, 52, 0.14);
}

.james-ireland-certainty-panel.has-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 75% 74%, color-mix(in srgb, var(--james-certainty-glow) 25%, transparent) 0%, transparent 24%),
        radial-gradient(circle at 6% 80%, rgba(21, 91, 185, 0.16) 0%, transparent 34%);
}

.james-ireland-certainty-content {
    position: relative;
    z-index: 4;
}

.james-ireland-certainty-eyebrow {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.james-ireland-certainty-heading {
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
    font-size: clamp(36px, 4.25vw, 58px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.james-ireland-certainty-description,
.james-ireland-certainty-description p {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.james-ireland-certainty-description > *:last-child {
    margin-bottom: 0;
}

.james-ireland-certainty-product {
    position: absolute;
    z-index: 1;
    max-width: none;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    object-fit: contain;
    object-position: center;
    filter: saturate(0.95) contrast(1.02);
}

.james-ireland-certainty-route {
    position: absolute;
    z-index: 2;
    overflow: visible;
    pointer-events: none;
}

.james-ireland-certainty-route path {
    fill: none;
    stroke: #1e6eeb;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-dasharray: 6 7;
}

.james-ireland-certainty-route circle {
    fill: #1e6eeb;
    filter: drop-shadow(0 0 9px rgba(32, 113, 239, 0.36));
}

.james-ireland-certainty-actions {
    position: absolute;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.james-ireland-certainty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    box-sizing: border-box;
    border: 1px solid transparent;
    text-decoration: none !important;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.james-ireland-certainty-button:hover,
.james-ireland-certainty-button:focus {
    transform: translateY(-1px);
}

.james-ireland-certainty-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.james-ireland-certainty-button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

@media (max-width: 1024px) {
    .james-ireland-certainty-product {
        opacity: .45;
    }

    .james-ireland-certainty-actions {
        right: 44px !important;
        bottom: 58px !important;
    }
}

@media (max-width: 767px) {
    .james-ireland-certainty-panel {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .james-ireland-certainty-content {
        max-width: 100% !important;
    }

    .james-ireland-certainty-product {
        right: -130px !important;
        top: 210px !important;
        opacity: .30 !important;
    }

    .james-ireland-certainty-route {
        right: -42px !important;
        top: 180px !important;
        opacity: .45 !important;
    }

    .james-ireland-certainty-actions {
        position: relative;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin-top: 34px;
        justify-content: flex-start;
        align-items: stretch;
        flex-direction: column;
    }

    .james-ireland-certainty-button {
        width: 100%;
    }
}

/* James – Ireland Delivery FAQ */
.james-ireland-faq-section {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background: #f6f7fb;
}

.james-ireland-faq-site {
    width: 100%;
    margin-inline: auto;
}

.james-ireland-faq-header {
    width: 100%;
    margin-inline: auto;
    text-align: center;
}

.james-ireland-faq-eyebrow,
.james-ireland-faq-heading {
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
}

.james-ireland-faq-eyebrow {
    color: #0d5bdb;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.james-ireland-faq-heading {
    color: #071842;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.james-ireland-faq-list {
    width: 100%;
    margin-inline: auto;
}

.james-ireland-faq-item {
    width: 100%;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #dde2ec;
    border-radius: 16px;
}

.james-ireland-faq-question {
    width: 100%;
    min-height: 96px;
    margin: 0;
    padding: 29px 30px 29px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    list-style: none;
    box-sizing: border-box;
}

.james-ireland-faq-question::-webkit-details-marker,
.james-ireland-faq-question::marker {
    display: none;
    content: '';
}

.james-ireland-faq-question-text {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    color: #071842;
    font-family: Inter, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

.james-ireland-faq-answer {
    padding: 0 90px 34px 38px;
    color: #61708e;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
}

.james-ireland-faq-answer > :first-child {
    margin-top: 0;
}

.james-ireland-faq-answer > :last-child {
    margin-bottom: 0;
}

.james-ireland-faq-answer p {
    margin: 0 0 12px;
}

.james-ireland-faq-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-left: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: #eaf0ff;
    color: #0d63e8;
    font-size: 16px;
    line-height: 1;
}

.james-ireland-faq-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.james-ireland-faq-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.james-ireland-faq-icon-open {
    display: none;
}

.james-ireland-faq-item[open] .james-ireland-faq-icon-closed {
    display: none;
}

.james-ireland-faq-item[open] .james-ireland-faq-icon-open {
    display: flex;
}

.james-ireland-faq-question:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

@media (max-width: 1024px) {
    .james-ireland-faq-heading {
        font-size: 42px;
    }

    .james-ireland-faq-question-text {
        font-size: 22px;
    }

    .james-ireland-faq-answer {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .james-ireland-faq-eyebrow {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .james-ireland-faq-heading {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .james-ireland-faq-question {
        min-height: 74px;
        padding: 20px 18px 20px 20px;
        gap: 12px;
    }

    .james-ireland-faq-question-text {
        font-size: 18px;
        letter-spacing: -0.2px;
    }

    .james-ireland-faq-answer {
        padding: 0 20px 22px;
        font-size: 16px;
    }

    .james-ireland-faq-toggle {
        width: 36px;
        height: 36px;
        min-width: 36px;
        margin-left: 10px;
    }
}


/* James v2026.86 — Ireland page width + compact visual harmonisation */
/* Base values only: Elementor per-widget style controls remain editable and override these. */
.james-ireland-delivery-inner,
.james-ireland-stats-inner,
.james-ireland-how-inner,
.james-ireland-catalogue-inner,
.james-ireland-coa-inner,
.james-ireland-labs-inner,
.james-ireland-certainty-panel,
.james-ireland-faq-site {
    width: 100%;
    max-width: var(--james-live-content-width, 1320px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.james-ireland-delivery-inner { max-width: 1320px; padding: 44px 20px; }
.james-ireland-delivery-heading { font-size: 48px; line-height: 1.14; letter-spacing: -1.35px; }
.james-ireland-delivery-eyebrow { margin-bottom: 20px; font-size: 12px; }
.james-ireland-delivery-description { margin-top: 24px; font-size: 16px; line-height: 1.62; }
.james-ireland-delivery-buttons { margin-top: 30px; gap: 16px; }
.james-ireland-delivery-features { margin-top: 30px; column-gap: 30px; }
.james-ireland-delivery-visual { min-height: 540px; }

.james-ireland-stats { min-height: 230px; padding: 38px 20px; }
.james-ireland-stats-inner { max-width: 1320px; }
.james-ireland-stats-item { min-height: 120px; padding: 0 24px; }
.james-ireland-stats-graphic { min-height: 42px; margin-bottom: 16px; }
.james-ireland-stats-icon { font-size: 40px; }
.james-ireland-stats-title { margin-bottom: 8px; font-size: 24px; }
.james-ireland-stats-subtitle { font-size: 16px; }
.james-ireland-stats-dividers-yes .james-ireland-stats-item:not(:last-child)::after { height: 112px; }

.james-ireland-how-section { padding: 72px 20px; }
.james-ireland-how-inner { max-width: 1320px; }
.james-ireland-how-header { margin-bottom: 34px; }
.james-ireland-how-eyebrow { margin-bottom: 14px; }
.james-ireland-how-eyebrow-text { font-size: 13px; }
.james-ireland-how-eyebrow-graphic { width: 46px; font-size: 46px; }
.james-ireland-how-heading { max-width: 920px; font-size: 42px; line-height: 1.12; letter-spacing: -1.2px; }
.james-ireland-how-grid { gap: 24px; }
.james-ireland-how-card { min-height: 380px; padding: 30px 28px; border-radius: 16px; }
.james-ireland-how-icon-box { width: 66px; height: 66px; margin-bottom: 22px; border-radius: 14px; }
.james-ireland-how-icon { font-size: 32px; }
.james-ireland-how-step { margin-bottom: 12px; font-size: 18px; }
.james-ireland-how-card-title { margin-bottom: 14px; font-size: 21px; }
.james-ireland-how-description { font-size: 16px; line-height: 1.7; }

.james-ireland-catalogue-section { padding: 60px 20px 64px; }
.james-ireland-catalogue-inner { max-width: 1320px; }
.james-ireland-catalogue-header { margin-bottom: 24px; }
.james-ireland-catalogue-eyebrow { font-size: 12px; }
.james-ireland-catalogue-heading { font-size: clamp(36px, 2.8vw, 44px); }
.james-ireland-catalogue-description { max-width: 760px; font-size: 17px; }
.james-ireland-catalogue-product { min-height: 275px; padding: 28px 28px 26px; }
.james-ireland-catalogue-product-title { margin-bottom: 12px; font-size: 26px; }
.james-ireland-catalogue-product-description { font-size: 15px; }
.james-ireland-catalogue-strengths { margin-top: 18px; gap: 8px; }
.james-ireland-catalogue-strength { min-height: 34px; padding: 7px 13px; font-size: 13px; }
.james-ireland-catalogue-full { margin-top: 18px; padding: 24px 28px; }
.james-ireland-catalogue-full-title { font-size: 23px; }
.james-ireland-catalogue-full-bottom { margin-top: 22px; }

.james-ireland-coa-section { padding: 64px 20px 68px; }
.james-ireland-coa-inner { max-width: 1320px; }
.james-ireland-coa-eyebrow { font-size: 13px; }
.james-ireland-coa-heading { font-size: 44px; line-height: 1.1; }
.james-ireland-coa-card { min-height: 280px; margin-top: 30px; padding: 32px 34px; column-gap: 30px; }
.james-ireland-coa-description { font-size: 18px; line-height: 1.58; }

.james-ireland-certainty-section { padding: 40px 20px; }
.james-ireland-certainty-panel { max-width: 1320px; min-height: 390px; padding: 58px 58px 56px 64px; }
.james-ireland-certainty-heading { font-size: clamp(34px, 3.6vw, 48px); }
.james-ireland-certainty-description, .james-ireland-certainty-description p { font-size: 16px; }

.james-ireland-faq-section { padding: 60px 20px 72px; }
.james-ireland-faq-site, .james-ireland-faq-list { max-width: 1320px; }
.james-ireland-faq-eyebrow { font-size: 13px; letter-spacing: 3px; }
.james-ireland-faq-heading { font-size: 42px; }
.james-ireland-faq-question { min-height: 74px; padding: 22px 26px; }
.james-ireland-faq-question-text { font-size: 20px; }
.james-ireland-faq-answer { padding: 0 76px 24px 26px; font-size: 16px; line-height: 1.6; }
.james-ireland-faq-toggle { width: 34px; height: 34px; min-width: 34px; }

@media (max-width: 1024px) {
    .james-ireland-how-heading,
    .james-ireland-coa-heading,
    .james-ireland-faq-heading { font-size: 36px; }
    .james-ireland-stats { padding: 32px 20px; }
}

@media (max-width: 767px) {
    .james-ireland-delivery-inner,
    .james-ireland-how-section,
    .james-ireland-catalogue-section,
    .james-ireland-coa-section,
    .james-ireland-faq-section { padding-left: 20px; padding-right: 20px; }
    .james-ireland-delivery-heading { font-size: 34px; }
    .james-ireland-how-heading,
    .james-ireland-coa-heading,
    .james-ireland-faq-heading { font-size: 32px; }
    .james-ireland-stats-title { font-size: 22px; }
}
