/* =========================================================
   RJY Display - Single Product Page
   Version: 4.0.0
   ========================================================= */

/* Reset Blocksy outer product container */
body.single-product .site-main,
body.single-product .ct-container-full[data-content="normal"],
body.single-product .ct-container-full[data-vertical-spacing],
body.single-product .ct-container-full > article {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-product .ct-container-full[data-vertical-spacing] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.single-product .rjy-single-product,
body.single-product .rjy-single-product * {
  box-sizing: border-box;
}

body.single-product .rjy-single-product {
  --rjy-blue: #2c58ab;
  --rjy-blue-dark: #113163;
  --rjy-text: #24324a;
  --rjy-muted: #65738a;
  --rjy-border: rgba(44, 88, 171, 0.16);
  --rjy-bg: #f6f9ff;
  --rjy-bg-soft: #f8fbff;
  --rjy-card: #ffffff;
  --rjy-radius-lg: 22px;
  --rjy-radius-md: 16px;
  --rjy-shadow: 0 18px 45px rgba(17, 49, 99, 0.08);
  --rjy-shadow-soft: 0 10px 26px rgba(17, 49, 99, 0.05);

  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  color: var(--rjy-text);
  background: #ffffff;
}

body.single-product .rjy-product-shell {
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(18px, 3vw, 40px) !important;
  padding-right: clamp(18px, 3vw, 40px) !important;
}

body.single-product .woocommerce-notices-wrapper {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(18px, 3vw, 40px);
  padding-right: clamp(18px, 3vw, 40px);
}

/* =========================================================
   Hero
   ========================================================= */

body.single-product .rjy-product-hero {
  padding-top: clamp(34px, 4vw, 56px);
  padding-bottom: clamp(42px, 5vw, 72px);
  background:
    radial-gradient(circle at 88% 6%, rgba(44, 88, 171, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border-bottom: 1px solid rgba(44, 88, 171, 0.10);
}

body.single-product .rjy-product-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px) !important;
  gap: clamp(28px, 3.5vw, 48px) !important;
  align-items: start !important;
}

body.single-product .rjy-product-summary-card {
  grid-column: 1 !important;
  min-width: 0 !important;
}

body.single-product .rjy-product-gallery-card {
  grid-column: 2 !important;
  justify-self: end !important;
  width: 100% !important;
  max-width: 520px !important;
  min-width: 0 !important;
}

body.single-product .rjy-product-summary-card,
body.single-product .rjy-product-gallery-card {
  background: var(--rjy-card);
  border: 1px solid var(--rjy-border);
  border-radius: var(--rjy-radius-lg);
  box-shadow: var(--rjy-shadow);
}

body.single-product .rjy-product-summary-card {
  padding: clamp(24px, 3vw, 34px);
}

body.single-product .rjy-product-gallery-card {
  padding: 18px;
  overflow: visible !important;
}

/* =========================================================
   Blocksy native gallery containment
   Do not override Flexy transform or item width.
   ========================================================= */

body.single-product .rjy-blocksy-gallery-wrap,
body.single-product .rjy-blocksy-gallery-wrap .product-entry-wrapper,
body.single-product .rjy-blocksy-gallery-wrap .product-entry-wrapper.is-width-constrained,
body.single-product .rjy-blocksy-gallery-wrap .woocommerce-product-gallery,
body.single-product .rjy-blocksy-gallery-wrap div.images,
body.single-product .rjy-blocksy-gallery-wrap .ct-product-gallery-container,
body.single-product .rjy-blocksy-gallery-wrap .flexy-container,
body.single-product .rjy-blocksy-gallery-wrap .flexy {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}

body.single-product .rjy-blocksy-gallery-wrap .product-entry-wrapper,
body.single-product .rjy-blocksy-gallery-wrap .product-entry-wrapper.is-width-constrained {
  display: block !important;
}

body.single-product .rjy-blocksy-gallery-wrap .ct-product-gallery-container {
  position: relative !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
  overflow: hidden !important;
}

body.single-product .rjy-blocksy-gallery-wrap .flexy-view {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
}

body.single-product .rjy-blocksy-gallery-wrap .woocommerce-product-gallery img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

body.single-product .rjy-blocksy-gallery-wrap .woocommerce-product-gallery__trigger {
  z-index: 10 !important;
}

body.single-product .rjy-blocksy-gallery-wrap .flexy-pills {
  width: 100% !important;
  margin-top: 14px !important;
  overflow: hidden !important;
}

body.single-product .rjy-blocksy-gallery-wrap .flexy-pills ol {
  display: flex !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 2px 4px !important;
  overflow-x: auto !important;
  scrollbar-width: thin;
}

body.single-product .rjy-blocksy-gallery-wrap .flexy-pills li {
  flex: 0 0 72px !important;
  width: 72px !important;
  max-width: 72px !important;
  margin: 0 !important;
}

body.single-product .rjy-blocksy-gallery-wrap .flexy-pills .ct-media-container {
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid rgba(44, 88, 171, 0.16) !important;
  background: #ffffff !important;
}

body.single-product .rjy-blocksy-gallery-wrap .flexy-pills li.active .ct-media-container,
body.single-product .rjy-blocksy-gallery-wrap .flexy-pills .active .ct-media-container {
  border-color: var(--rjy-blue) !important;
}

/* =========================================================
   Product summary
   ========================================================= */

body.single-product .rjy-product-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(44, 88, 171, 0.10);
  color: var(--rjy-blue);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}

body.single-product .rjy-product-summary-card .product_title {
  margin: 0 0 14px;
  color: var(--rjy-blue-dark);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.13;
  letter-spacing: -0.035em;
}

body.single-product .rjy-product-subtitle {
  margin: 0 0 18px;
  max-width: 720px;
  color: var(--rjy-muted);
  font-size: 16.5px;
  line-height: 1.65;
}

body.single-product .rjy-product-short-description {
  margin: 18px 0 20px;
  color: var(--rjy-text);
  font-size: 15.5px;
  line-height: 1.72;
}

body.single-product .rjy-product-short-description p {
  margin: 0 0 12px;
}

body.single-product .rjy-product-short-description p:last-child {
  margin-bottom: 0;
}

body.single-product .rjy-hero-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

body.single-product .rjy-hero-spec-item {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(44, 88, 171, 0.14);
  border-radius: 14px;
  background: var(--rjy-bg-soft);
}

body.single-product .rjy-hero-spec-item span {
  display: block;
  margin-bottom: 5px;
  color: var(--rjy-muted);
  font-size: 12.5px;
  line-height: 1.2;
}

body.single-product .rjy-hero-spec-item strong {
  display: block;
  color: var(--rjy-blue-dark);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 750;
  overflow-wrap: anywhere;
}

body.single-product .rjy-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

body.single-product .rjy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

body.single-product .rjy-btn-primary {
  background: var(--rjy-blue);
  color: #ffffff !important;
  border: 1px solid var(--rjy-blue);
  box-shadow: 0 12px 24px rgba(44, 88, 171, 0.22);
}

body.single-product .rjy-btn-primary:hover {
  background: var(--rjy-blue-dark);
  border-color: var(--rjy-blue-dark);
  transform: translateY(-1px);
}

body.single-product .rjy-btn-secondary {
  background: #ffffff;
  color: var(--rjy-blue) !important;
  border: 1px solid rgba(44, 88, 171, 0.32);
}

body.single-product .rjy-btn-secondary:hover {
  background: #f4f8ff;
  border-color: var(--rjy-blue);
}

body.single-product .rjy-product-note {
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(44, 88, 171, 0.07);
  color: #4c5f7c;
  font-size: 13.5px;
  line-height: 1.6;
}

body.single-product .rjy-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
  color: var(--rjy-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

body.single-product .rjy-product-meta a {
  color: var(--rjy-blue);
  text-decoration: none;
}

/* =========================================================
   Section heading
   ========================================================= */

body.single-product .rjy-section-head {
  margin-bottom: 22px;
}

body.single-product .rjy-section-head span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--rjy-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.single-product .rjy-section-head h2 {
  margin: 0 0 8px;
  color: var(--rjy-blue-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

body.single-product .rjy-section-head p {
  margin: 0;
  color: var(--rjy-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================================
   Specification snapshot
   ========================================================= */

body.single-product .rjy-spec-snapshot {
  padding-top: clamp(34px, 4vw, 48px);
  padding-bottom: clamp(26px, 3vw, 36px);
  background: #ffffff;
}

body.single-product .rjy-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.single-product .rjy-spec-card {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--rjy-border);
  border-radius: var(--rjy-radius-md);
  background: #ffffff;
  box-shadow: var(--rjy-shadow-soft);
}

body.single-product .rjy-spec-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--rjy-muted);
  font-size: 13px;
  line-height: 1.25;
}

body.single-product .rjy-spec-card strong {
  display: block;
  color: var(--rjy-blue-dark);
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* =========================================================
   Project support
   ========================================================= */

body.single-product .rjy-project-support {
  padding-top: clamp(34px, 4vw, 56px);
  padding-bottom: clamp(38px, 4.5vw, 64px);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

body.single-product .rjy-support-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(44, 88, 171, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(44, 88, 171, 0.10), transparent 34%),
    #ffffff;
  box-shadow: var(--rjy-shadow);
}

body.single-product .rjy-support-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

body.single-product .rjy-support-intro span {
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(44, 88, 171, 0.10);
  color: var(--rjy-blue);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.single-product .rjy-support-intro h2 {
  margin: 0 0 14px;
  color: var(--rjy-blue-dark);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

body.single-product .rjy-support-intro p {
  margin: 0;
  color: var(--rjy-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

body.single-product .rjy-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.single-product .rjy-support-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(44, 88, 171, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.single-product .rjy-support-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--rjy-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

body.single-product .rjy-support-card h3 {
  margin: 0 0 8px;
  color: var(--rjy-blue-dark);
  font-size: 17px;
  line-height: 1.3;
}

body.single-product .rjy-support-card p {
  margin: 0;
  color: var(--rjy-muted);
  font-size: 14px;
  line-height: 1.62;
}

/* =========================================================
   Product body
   ========================================================= */

body.single-product .rjy-product-body {
  padding-top: clamp(42px, 4.5vw, 62px);
  padding-bottom: clamp(48px, 5vw, 72px);
  background: var(--rjy-bg);
  border-top: 1px solid rgba(44, 88, 171, 0.10);
}

body.single-product .rjy-product-body-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
}

body.single-product .rjy-product-tabs-area,
body.single-product .rjy-inquiry-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--rjy-border);
  border-radius: var(--rjy-radius-lg);
  box-shadow: var(--rjy-shadow);
}

body.single-product .rjy-product-tabs-area {
  overflow: hidden;
}

body.single-product .rjy-product-tabs-area .woocommerce-tabs {
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .rjy-product-tabs-area .tabs,
body.single-product .rjy-product-tabs-area .wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border-bottom: 1px solid rgba(44, 88, 171, 0.12);
  background: #ffffff;
}

body.single-product .rjy-product-tabs-area .wc-tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-product .rjy-product-tabs-area .wc-tabs li a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 12px !important;
  color: var(--rjy-muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
}

body.single-product .rjy-product-tabs-area .wc-tabs li.active a {
  color: var(--rjy-blue);
  border-bottom-color: var(--rjy-blue);
}

body.single-product .rjy-product-tabs-area article {
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(22px, 3vw, 34px) !important;
  overflow-x: auto;
}

body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel > *:first-child {
  margin-top: 0 !important;
}

body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel > *:last-child {
  margin-bottom: 0 !important;
}

body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel h2,
body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel h3,
body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel h4 {
  color: var(--rjy-blue-dark);
  line-height: 1.25;
}

body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel p,
body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel li {
  color: var(--rjy-text);
  font-size: 15.5px;
  line-height: 1.75;
}

body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel ul,
body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel ol {
  padding-left: 22px;
}

body.single-product .rjy-product-tabs-area table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid rgba(44, 88, 171, 0.14);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}

body.single-product .rjy-product-tabs-area table th,
body.single-product .rjy-product-tabs-area table td {
  padding: 13px 14px;
  border: 1px solid rgba(44, 88, 171, 0.13);
  vertical-align: top;
}

body.single-product .rjy-product-tabs-area table th,
body.single-product .rjy-product-tabs-area table thead td {
  background: #f1f6ff;
  color: var(--rjy-blue-dark);
  font-weight: 750;
}

body.single-product .rjy-product-tabs-area .gbp-section,
body.single-product .rjy-product-tabs-area .gbp-section__inner,
body.single-product .rjy-product-tabs-area .gbp-card {
  width: 100% !important;
  max-width: none !important;
}

/* =========================================================
   Product Knowledge Hub
   Related articles under product body
   ========================================================= */

body.single-product .rjy-knowledge-hub {
  padding-top: clamp(42px, 4.5vw, 64px);
  padding-bottom: clamp(46px, 5vw, 72px);
  background:
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  border-top: 1px solid rgba(44, 88, 171, 0.10);
}

body.single-product .rjy-knowledge-hub-inner {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(44, 88, 171, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(44, 88, 171, 0.10), transparent 34%),
    #ffffff;
  box-shadow: 0 18px 45px rgba(17, 49, 99, 0.07);
}

body.single-product .rjy-knowledge-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

body.single-product .rjy-section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 9px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(44, 88, 171, 0.10);
  color: var(--rjy-blue);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.single-product .rjy-knowledge-top h2 {
  margin: 0 0 10px;
  color: var(--rjy-blue-dark);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

body.single-product .rjy-knowledge-top p {
  max-width: 720px;
  margin: 0;
  color: var(--rjy-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

body.single-product .rjy-knowledge-count {
  display: inline-block;
  margin-top: 12px;
  color: #4c5f7c;
  font-size: 13.5px;
  line-height: 1.4;
}

body.single-product .rjy-knowledge-view-all {
  flex: 0 0 auto;
  margin-top: 4px;
}

body.single-product .rjy-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.single-product .rjy-knowledge-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 260px;
  padding: 20px;
  border: 1px solid rgba(44, 88, 171, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(17, 49, 99, 0.04);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.single-product .rjy-knowledge-card:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 88, 171, 0.32);
  box-shadow: 0 18px 38px rgba(17, 49, 99, 0.09);
}

body.single-product .rjy-knowledge-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

body.single-product .rjy-knowledge-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(44, 88, 171, 0.10);
  color: var(--rjy-blue);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

body.single-product .rjy-knowledge-date {
  flex: 0 0 auto;
  color: var(--rjy-muted);
  font-size: 12.5px;
  line-height: 1;
}

body.single-product .rjy-knowledge-card h3 {
  margin: 0 0 12px;
  color: var(--rjy-blue-dark);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

body.single-product .rjy-knowledge-card p {
  margin: 0 0 18px;
  color: var(--rjy-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

body.single-product .rjy-knowledge-read {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--rjy-blue);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

body.single-product .rjy-knowledge-read::after {
  content: "→";
  margin-left: 7px;
  transition: transform 0.2s ease;
}

body.single-product .rjy-knowledge-card:hover .rjy-knowledge-read::after {
  transform: translateX(3px);
}

/* =========================================================
   Inquiry panel
   ========================================================= */

body.single-product .rjy-product-inquiry-panel {
  min-width: 0;
}

body.single-product .rjy-inquiry-card {
  position: sticky;
  top: 110px;
  padding: 24px;
}

body.single-product.admin-bar .rjy-inquiry-card {
  top: 142px;
}

body.single-product .rjy-inquiry-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--rjy-blue);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.single-product .rjy-inquiry-card h2 {
  margin: 0 0 10px;
  color: var(--rjy-blue-dark);
  font-size: 24px;
  line-height: 1.25;
}

body.single-product .rjy-inquiry-card p {
  margin: 0 0 16px;
  color: var(--rjy-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

body.single-product .rjy-rfq-checklist {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

body.single-product .rjy-rfq-checklist li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 24px;
  color: var(--rjy-text);
  font-size: 14px;
  line-height: 1.45;
}

body.single-product .rjy-rfq-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rjy-blue);
  font-weight: 800;
}

body.single-product .rjy-form-wrap {
  padding-top: 16px;
  border-top: 1px solid rgba(44, 88, 171, 0.12);
}

body.single-product .rjy-form-wrap .ff-t-container,
body.single-product .rjy-form-wrap .ff-t-container.ff-column-container,
body.single-product .rjy-form-wrap .ff_columns_total_2 {
  display: block !important;
  width: 100% !important;
}

body.single-product .rjy-form-wrap .ff-t-cell,
body.single-product .rjy-form-wrap .ff-t-column-1,
body.single-product .rjy-form-wrap .ff-t-column-2 {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-product .rjy-form-wrap .ff-el-group {
  width: 100% !important;
  margin-bottom: 13px !important;
}

body.single-product .rjy-form-wrap .ff-el-input--label label {
  color: var(--rjy-blue-dark);
  font-size: 13px;
  font-weight: 700;
}

body.single-product .rjy-form-wrap .ff-el-form-control {
  width: 100% !important;
  min-height: 46px;
  border-radius: 12px !important;
  border: 1px solid rgba(44, 88, 171, 0.22) !important;
  background: #f8fbff !important;
  color: var(--rjy-text) !important;
  box-shadow: none !important;
  font-size: 14px !important;
}

body.single-product .rjy-form-wrap .ff-el-form-control:focus {
  border-color: var(--rjy-blue) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(44, 88, 171, 0.12) !important;
  outline: none !important;
}

body.single-product .rjy-form-wrap textarea.ff-el-form-control {
  min-height: 110px;
}

body.single-product .rjy-form-wrap .ff-btn-submit,
body.single-product .rjy-form-wrap button[type="submit"],
body.single-product .rjy-form-wrap input[type="submit"] {
  width: 100%;
  min-height: 48px;
  border-radius: 12px !important;
  background: var(--rjy-blue) !important;
  border: 1px solid var(--rjy-blue) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 24px rgba(44, 88, 171, 0.20) !important;
}

body.single-product .rjy-form-wrap .ff-btn-submit:hover,
body.single-product .rjy-form-wrap button[type="submit"]:hover,
body.single-product .rjy-form-wrap input[type="submit"]:hover {
  background: var(--rjy-blue-dark) !important;
  border-color: var(--rjy-blue-dark) !important;
}

/* Hide default related products */
body.single-product section.related.products,
body.single-product .rjy-related-products-wrap,
body.single-product .rjy-related-section {
  display: none !important;
}

/* Prevent legacy Woo float styles */
body.single-product .rjy-single-product div.summary,
body.single-product .rjy-single-product div.images {
  float: none !important;
  width: auto !important;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1100px) {
  body.single-product .rjy-product-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body.single-product .rjy-product-summary-card {
    order: 1 !important;
    grid-column: auto !important;
  }

  body.single-product .rjy-product-gallery-card {
    order: 2 !important;
    grid-column: auto !important;
    width: 100% !important;
    max-width: 720px !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single-product .rjy-support-panel {
    grid-template-columns: 1fr;
  }

  body.single-product .rjy-product-body-grid {
    grid-template-columns: 1fr;
  }

  body.single-product .rjy-inquiry-card {
    position: static;
  }
}

@media (max-width: 900px) {
  body.single-product .rjy-product-shell {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  body.single-product .rjy-spec-grid,
  body.single-product .rjy-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 680px) {
  body.single-product .rjy-product-shell {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.single-product .rjy-product-hero {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  body.single-product .rjy-product-summary-card,
  body.single-product .rjy-product-gallery-card,
  body.single-product .rjy-support-panel,
  body.single-product .rjy-product-tabs-area,
  body.single-product .rjy-inquiry-card {
    border-radius: 18px;
  }

  body.single-product .rjy-product-summary-card,
  body.single-product .rjy-inquiry-card {
    padding: 20px;
  }

  body.single-product .rjy-product-gallery-card {
    padding: 12px;
  }

  body.single-product .rjy-product-summary-card .product_title {
    font-size: 25px;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  body.single-product .rjy-product-subtitle {
    font-size: 15px;
  }

  body.single-product .rjy-hero-spec-list,
  body.single-product .rjy-spec-grid,
  body.single-product .rjy-support-grid {
    grid-template-columns: 1fr;
  }

  body.single-product .rjy-product-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.single-product .rjy-btn {
    width: 100%;
  }

  body.single-product .rjy-project-support {
    padding-top: 30px;
    padding-bottom: 38px;
  }

  body.single-product .rjy-support-panel {
    padding: 20px;
  }

  body.single-product .rjy-support-intro h2 {
    font-size: 25px;
  }

  body.single-product .rjy-support-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
    padding: 16px;
  }

  body.single-product .rjy-support-number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 13px;
  }

  body.single-product .rjy-product-body {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  body.single-product .rjy-product-tabs-area .tabs,
  body.single-product .rjy-product-tabs-area .wc-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 14px !important;
  }

  body.single-product .rjy-product-tabs-area .wc-tabs li {
    flex: 0 0 auto;
  }

  body.single-product .rjy-product-tabs-area .wc-tabs li a {
    min-height: 48px;
    white-space: nowrap;
  }

  body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel {
    padding: 20px !important;
  }

  body.single-product .rjy-product-tabs-area table {
    min-width: 640px;
  }
}

@media (max-width: 420px) {
  body.single-product .rjy-product-shell {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.single-product .rjy-product-summary-card,
  body.single-product .rjy-support-panel,
  body.single-product .rjy-inquiry-card {
    padding: 18px;
  }

  body.single-product .rjy-product-summary-card .product_title {
    font-size: 23px;
  }

  body.single-product .rjy-product-tabs-area .woocommerce-Tabs-panel {
    padding: 18px !important;
  }
}

@media (max-width: 1100px) {
  body.single-product .rjy-knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.single-product .rjy-knowledge-top {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  body.single-product .rjy-knowledge-hub {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  body.single-product .rjy-knowledge-hub-inner {
    padding: 20px;
    border-radius: 18px;
  }

  body.single-product .rjy-knowledge-grid {
    grid-template-columns: 1fr;
  }

  body.single-product .rjy-knowledge-card {
    min-height: auto;
    padding: 18px;
  }

  body.single-product .rjy-knowledge-top h2 {
    font-size: 25px;
  }
}

@media (max-width: 420px) {
  body.single-product .rjy-knowledge-hub-inner {
    padding: 18px;
  }

  body.single-product .rjy-knowledge-card h3 {
    font-size: 17px;
  }
}