:root {
  --yp-orange: #f97316;
  --yp-orange-dark: #ea580c;
  --yp-navy: #0f172a;
  --yp-text: #1f2937;
  --yp-muted: #64748b;
  --yp-bg: #fffaf3;
  --yp-light: #fff7ed;
  --yp-border: #ffedd5;
  --yp-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  --yp-header-height: 86px;
  --yp-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--yp-text);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { color: var(--yp-muted); }
.screen-reader-text { position:absolute;left:-9999px; }

.yp-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.yp-section {
  padding: 82px 0;
}
.yp-light {
  background: linear-gradient(180deg, #fffaf3, #fff);
}
.yp-card {
  background: #fff;
  border: 1px solid var(--yp-border);
  border-radius: var(--yp-radius);
  box-shadow: var(--yp-shadow);
}
.yp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: var(--yp-orange-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}
.yp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid #fed7aa;
  font-weight: 900;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.yp-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(249,115,22,.18); }
.yp-btn-primary {
  background: var(--yp-orange);
  color: #fff;
  border-color: var(--yp-orange);
}
.yp-btn-outline {
  color: var(--yp-navy);
  background: #fff;
}
.yp-b2b-cta-row,
.yp-actions,
.yp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.yp-tags span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-weight: 800;
  font-size: 13px;
}
.yp-centered {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
}
.yp-centered h2,
.yp-section-head h2,
.yp-page-hero h1,
.yp-home-intro h1 {
  color: var(--yp-navy);
  letter-spacing: -.045em;
  line-height: 1.05;
}
.yp-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 32px;
}
.yp-section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 10px 0 10px;
}
.yp-empty-note {
  padding: 28px;
  border-radius: 24px;
  background: #fff7ed;
  border: 1px dashed #fdba74;
}

/* Header */
.yp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--yp-header-height);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(254, 215, 170, .65);
}
.admin-bar .yp-header { top: 32px; }
.yp-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.yp-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.yp-logo-image {
  display: block;
  height: 62px;
  width: auto;
}
.yp-nav { margin-left: auto; }
.yp-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}
.yp-menu a {
  color: var(--yp-navy);
  font-weight: 900;
  font-size: 14px;
}
.yp-header-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--yp-orange);
  color: #fff;
  font-weight: 900;
}
.yp-menu-toggle { display: none; }

/* Home hero carousel */
.yp-home-hero-carousel {
  background: #fffaf3;
}
.yp-home-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.yp-home-slide {
  display: none;
  min-height: clamp(380px, 44vw, 760px);
}
.yp-home-slide.is-active { display: block; }
.yp-home-slide img {
  width: 100%;
  height: clamp(380px, 44vw, 760px);
  object-fit: cover;
  display: block;
}
.yp-slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--yp-navy);
  box-shadow: var(--yp-shadow);
  cursor: pointer;
  font-size: 24px;
}
.yp-slider-prev { left: 28px; }
.yp-slider-next { right: 28px; }
.yp-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(12px);
}
.yp-banner-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15,23,42,.25);
  cursor: pointer;
}
.yp-banner-dots button.is-active {
  width: 26px;
  background: var(--yp-orange);
}

/* Homepage sections */
.yp-intro-grid,
.yp-oem-grid,
.yp-contact-grid,
.yp-page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.yp-home-intro h1 {
  font-size: clamp(38px, 5vw, 68px);
  margin: 14px 0 22px;
}
.yp-lead {
  font-size: 18px;
  max-width: 680px;
}
.yp-trust-panel,
.yp-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.yp-trust-panel div,
.yp-mini-grid div {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--yp-border);
  background: #fff;
  box-shadow: var(--yp-shadow);
}
.yp-trust-panel strong,
.yp-mini-grid strong {
  display: block;
  color: var(--yp-orange);
  font-size: 34px;
  line-height: 1;
}
.yp-trust-panel span,
.yp-mini-grid span {
  display: block;
  margin-top: 8px;
  font-weight: 800;
  color: #334155;
}
.yp-company-banner {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--yp-shadow);
}
.yp-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.yp-category-card {
  min-height: 120px;
  padding: 22px;
  border: 1px solid var(--yp-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(249,115,22,.12), transparent 34%),
    #fff;
  box-shadow: var(--yp-shadow);
}
.yp-category-card span {
  display: block;
  color: var(--yp-navy);
  font-weight: 1000;
  font-size: 20px;
}
.yp-category-card small {
  display: block;
  margin-top: 8px;
  color: var(--yp-orange);
  font-weight: 900;
}
.yp-benefit-grid,
.yp-proof-grid,
.yp-faq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.yp-benefit-grid .yp-card,
.yp-faq-grid .yp-card,
.yp-proof-card {
  padding: 24px;
}
.yp-benefit-grid span {
  font-size: 28px;
}
.yp-benefit-grid h3,
.yp-faq-grid h3,
.yp-proof-card h3 {
  margin: 12px 0 8px;
  color: var(--yp-navy);
}
.yp-trust-evidence {
  background: linear-gradient(135deg,#fff,#fff7ed);
}
.yp-proof-card {
  background: #fff;
  border: 1px solid var(--yp-border);
  border-radius: 26px;
  box-shadow: var(--yp-shadow);
}
.yp-proof-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--yp-orange);
  font-size: 13px;
  font-weight: 1000;
  margin-bottom: 14px;
}
.yp-oem-photo img,
.yp-page-visual img,
.yp-page-hero-photo img,
.yp-contact-photo img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--yp-shadow);
}

/* Product cards */
.yp-product-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}
.yp-home-featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.yp-product-card {
  overflow: hidden;
  border-radius: 18px;
}
.yp-product-image {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid var(--yp-border);
  overflow: hidden;
}
.yp-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yp-placeholder {
  display: grid;
  place-items: center;
  min-height: 160px;
  background: #fff7ed;
  color: var(--yp-orange);
  font-weight: 1000;
}
.yp-product-card-body {
  padding: 12px 12px 14px;
}
.yp-product-card h3 {
  min-height: 40px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--yp-navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yp-product-meta-row {
  padding-top: 9px;
  border-top: 1px solid var(--yp-border);
}
.yp-product-meta-row span {
  display: block;
  white-space: nowrap;
  color: var(--yp-orange);
  font-size: 12px;
  font-weight: 900;
}

/* Catalog */
.yp-archive .yp-container {
  width: min(1880px, calc(100% - 48px));
}
.yp-shop-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
}
.yp-sidebar {
  padding: 26px;
  border: 1px solid var(--yp-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--yp-shadow);
  max-height: 80vh;
  overflow: auto;
}
.yp-sidebar h3 {
  margin: 0 0 18px;
  color: var(--yp-navy);
  font-size: 22px;
}
.yp-category-list,
.yp-category-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.yp-category-item {
  margin: 7px 0;
}
.yp-category-item a {
  display: block;
  color: #475569;
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
}
.yp-depth-0 > a {
  color: var(--yp-navy);
  font-size: 15px;
}
.yp-depth-0 > a::before {
  content: "•";
  color: var(--yp-orange);
  margin-right: 8px;
}
.yp-category-sublist {
  margin-left: 22px;
  padding-left: 16px;
  border-left: 1px solid var(--yp-border);
}
.yp-shop-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 26px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid var(--yp-border);
  border-radius: 24px;
  box-shadow: var(--yp-shadow);
}
.yp-shop-toolbar h2 {
  margin: 8px 0 6px;
  color: var(--yp-navy);
  line-height: 1.1;
}

/* Pagination */
.woocommerce-pagination,
.woocommerce nav.woocommerce-pagination {
  margin-top: 28px;
  text-align: center;
}
.woocommerce-pagination ul {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce-pagination a,
.woocommerce-pagination span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: var(--yp-navy);
  font-weight: 900;
}
.woocommerce-pagination .current {
  background: var(--yp-orange);
  color: #fff;
}

/* Page templates */
.yp-page-hero {
  padding: 72px 0;
  background: linear-gradient(135deg, #fffaf3, #fff);
}
.yp-page-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  margin: 12px 0 0;
}
.yp-content {
  max-width: 1120px;
}
.yp-content h2 {
  color: var(--yp-navy);
  letter-spacing: -.03em;
  line-height: 1.12;
}
.yp-managed-page {
  display: grid;
  gap: 26px;
}
.yp-oem-case-grid,
.yp-process-steps {
  display: grid;
  gap: 18px;
}
.yp-oem-case-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.yp-oem-case-grid div {
  min-height: 150px;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(249,115,22,.14), transparent 34%),
    linear-gradient(135deg,#fff,#fff7ed);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.yp-oem-case-grid span {
  display: block;
  font-size: 20px;
  font-weight: 1000;
  color: var(--yp-navy);
  margin-bottom: 8px;
}
.yp-oem-case-grid small {
  color: var(--yp-muted);
  font-weight: 800;
  line-height: 1.5;
}
.yp-process-steps {
  grid-template-columns: repeat(4, minmax(0,1fr));
}
.yp-process-steps div {
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 22px;
  padding: 22px;
}
.yp-process-steps b {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--yp-orange);
  color: #fff;
  margin-bottom: 12px;
}
.yp-process-steps span {
  display: block;
  color: #334155;
  font-weight: 800;
  line-height: 1.55;
}

/* Single product */
.yp-product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 56px;
  align-items: start;
}
.yp-product-gallery {
  position: sticky;
  top: calc(var(--yp-header-height) + 24px);
  align-self: start;
}
.admin-bar .yp-product-gallery {
  top: calc(var(--yp-header-height) + 56px);
}
.yp-product-gallery > img {
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--yp-border);
  box-shadow: var(--yp-shadow);
  background: #fff;
}
.yp-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(56px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.yp-gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--yp-border);
}
.yp-product-summary h1 {
  margin: 12px 0;
  color: var(--yp-navy);
  font-size: clamp(26px, 2.25vw, 36px);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.yp-sku {
  color: var(--yp-orange);
  font-weight: 900;
}
.yp-short-desc {
  font-size: 16px;
  line-height: 1.65;
}
.yp-spec-card {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--yp-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--yp-shadow);
}
.yp-spec-card h2 {
  margin: 0 0 14px;
  color: var(--yp-navy);
}
.yp-spec-table {
  width: 100%;
  border-collapse: collapse;
}
.yp-spec-table th,
.yp-spec-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--yp-border);
  text-align: left;
  vertical-align: top;
}
.yp-spec-table th {
  width: 42%;
  color: #334155;
}
.yp-detail-extra-images {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}
.yp-detail-extra-image {
  margin: 0;
}
.yp-detail-extra-image img {
  display: block;
  width: min(100%, 960px);
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--yp-border);
  box-shadow: var(--yp-shadow);
}

/* Forms */
.yp-inquiry-card {
  padding: 28px;
  background: #0f172a;
  border-color: #1e293b;
}
.yp-form {
  display: grid;
  gap: 14px;
}
.yp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.yp-form input,
.yp-form textarea,
.yp-form select {
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: #1f2937;
  color: #fff;
  font: inherit;
}
.yp-form textarea {
  min-height: 92px;
  resize: vertical;
}
.yp-form select {
  color: #fff;
  background-color: #1f2937;
}
.yp-form select option {
  color: #111827;
  background: #fff;
}
.yp-form select option:checked {
  color: #fff;
  background: var(--yp-orange);
}
.yp-form ::placeholder {
  color: #cbd5e1;
}
.yp-file-label {
  display: grid;
  gap: 8px;
  color: #cbd5e1;
  font-weight: 900;
}
.yp-success,
.yp-error {
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 900;
}
.yp-success { background: #dcfce7; color: #166534; }
.yp-error { background: #fee2e2; color: #991b1b; }

/* Footer */
.yp-footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--yp-border);
  background: #fff;
}
.yp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .85fr 1fr 1.2fr;
  gap: 46px;
}
.yp-footer-logo img {
  height: 64px;
}
.yp-footer h4 {
  margin: 0 0 16px;
  color: var(--yp-navy);
}
.yp-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.yp-footer-menu a {
  color: #475569;
  font-weight: 900;
}
.yp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--yp-border);
}

/* Responsive */
@media (min-width: 1900px) {
  .yp-archive .yp-container { width: min(1980px, calc(100% - 64px)); }
}
@media (max-width: 1600px) {
  .yp-product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1280px) {
  .yp-shop-layout { grid-template-columns: 280px minmax(0, 1fr); }
  .yp-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .yp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --yp-header-height: 74px; }
  .yp-container,
  .yp-archive .yp-container { width: min(100% - 32px, 760px); }
  .yp-section { padding: 56px 0; }
  .yp-logo-image { height: 48px; }
  .yp-menu-toggle {
    display: inline-grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    place-content: center;
    margin-left: auto;
    border: 1px solid var(--yp-border);
    border-radius: 999px;
    background: #fff;
  }
  .yp-menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--yp-navy);
  }
  .yp-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--yp-shadow);
  }
  .yp-nav.is-open { display: block; }
  .yp-menu { flex-direction: column; align-items: flex-start; gap: 14px; }
  .yp-header-quote { display: none; }
  .yp-intro-grid,
  .yp-oem-grid,
  .yp-contact-grid,
  .yp-page-hero-grid,
  .yp-product-detail-grid,
  .yp-shop-layout {
    grid-template-columns: 1fr;
  }
  .yp-product-gallery { position: static; }
  .yp-category-grid,
  .yp-benefit-grid,
  .yp-proof-grid,
  .yp-faq-grid,
  .yp-oem-case-grid,
  .yp-process-steps,
  .yp-home-featured-grid,
  .yp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yp-section-head,
  .yp-shop-toolbar,
  .yp-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .yp-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .yp-home-slide,
  .yp-home-slide img { height: 420px; }
  .yp-slider-control { display: none; }
  .yp-category-grid,
  .yp-benefit-grid,
  .yp-proof-grid,
  .yp-faq-grid,
  .yp-oem-case-grid,
  .yp-process-steps,
  .yp-home-featured-grid,
  .yp-product-grid,
  .yp-footer-grid,
  .yp-trust-panel,
  .yp-mini-grid {
    grid-template-columns: 1fr;
  }
  .yp-footer-bottom { display: block; }
}


/* v4.1 hotfix */
.yp-form-labeled label {
  display: grid;
  gap: 7px;
  color: #e5e7eb;
  font-weight: 850;
  font-size: 13px;
}
.yp-form-labeled label > span {
  color: #e5e7eb;
}
.yp-form-labeled input,
.yp-form-labeled textarea,
.yp-form-labeled select {
  margin-top: 0;
}
.yp-form-labeled select option {
  color: #111827 !important;
  background: #ffffff !important;
}
.yp-form-labeled select option:checked {
  color: #ffffff !important;
  background: var(--yp-orange) !important;
}
.yp-privacy-managed .yp-managed-grid {
  margin: 20px 0;
}
body.page .yp-page-hero h1 {
  text-transform: none;
}


/* v4.2 hero carousel 1920x740 */
.yp-home-hero-carousel {
  overflow: hidden;
  background: #fffaf3;
}

.yp-home-slider {
  width: 100%;
  overflow: hidden;
}

.yp-home-slide {
  min-height: 0 !important;
  height: auto !important;
  line-height: 0;
}

.yp-home-slide img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1920 / 740;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px) {
  .yp-home-slide img {
    height: 420px !important;
    width: 100% !important;
    object-fit: cover;
    object-position: center center;
  }
}


/* v4.3 supply chain image replacement */
.yp-company-banner {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
}


/* V44.8 homepage category image section */
.yp-category-showcase {
  max-width: 1320px;
}

.yp-category-showcase-head {
  align-items: flex-start;
  margin-bottom: 30px;
}

.yp-category-showcase-head .yp-kicker {
  margin-bottom: 18px;
}

.yp-category-showcase-head h2 {
  margin: 0 0 10px;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--yp-navy);
  font-weight: 1000;
}

.yp-category-showcase-head p:not(.yp-kicker) {
  max-width: 900px;
  margin: 0;
  color: #6b7a96;
  font-size: 18px;
  line-height: 1.55;
}

.yp-all-products-btn {
  min-width: 150px;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 28px;
  white-space: nowrap;
  margin-top: 68px;
}

.yp-category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.yp-category-showcase-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.92 / 1;
  border: 1px solid rgba(249, 115, 22, .16);
  border-radius: 20px;
  background: #fff7ef;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.yp-category-showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}

.yp-category-showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yp-category-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.35) 34%, rgba(255,255,255,.02) 72%);
  pointer-events: none;
}

.yp-category-showcase-card span {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  max-width: 68%;
  color: var(--yp-navy);
  font-size: 21px;
  font-weight: 1000;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
}

@media (max-width: 1024px) {
  .yp-category-showcase-head {
    flex-direction: column;
  }

  .yp-all-products-btn {
    margin-top: 0;
  }

  .yp-category-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yp-category-showcase-head h2 {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .yp-category-showcase-grid {
    grid-template-columns: 1fr;
  }

  .yp-category-showcase-card {
    aspect-ratio: 16 / 9;
  }

  .yp-category-showcase-card span {
    font-size: 20px;
  }
}


/* V45.2 fix: category title ghost/duplicate text */
.yp-category-showcase-card span,
#products .yp-category-showcase-card span {
  text-shadow: none !important;
  color: var(--yp-navy, #0f172a) !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  font-size: 21px !important;
  font-weight: 1000 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

.yp-category-showcase-card small,
#products .yp-category-showcase-card small {
  display: none !important;
}

.yp-category-showcase-card::before,
#products .yp-category-showcase-card::before {
  content: none !important;
  display: none !important;
}

.yp-category-showcase-card::after,
#products .yp-category-showcase-card::after {
  background: linear-gradient(90deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.45) 34%, rgba(255,255,255,0) 70%) !important;
}


/* V45.3 section order adjustment: OEM block appears before Product Categories */
.yp-oem + #products {
  padding-top: 72px;
}

#products + .yp-light#featured-products {
  padding-top: 76px;
}

@media (max-width: 768px) {
  .yp-oem + #products {
    padding-top: 52px;
  }
}





/* V45.5 Centered contact section */
.yp-contact-centered-v455 {
  padding-top: 96px;
  padding-bottom: 104px;
}

.yp-contact-shell-v455 {
  max-width: 860px;
  margin: 0 auto;
}

.yp-contact-header-v455 {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.yp-contact-header-v455 .yp-kicker {
  display: inline-flex;
  margin: 0 auto 18px;
}

.yp-contact-header-v455 h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.yp-contact-lead-v455 {
  margin: 0 auto;
  max-width: 720px;
  color: #64748b;
  font-size: 19px;
  line-height: 1.65;
}

.yp-inquiry-card-v455 {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 32px;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.yp-inquiry-card-v455 .yp-form {
  gap: 14px;
}

.yp-inquiry-card-v455 .yp-form-grid {
  gap: 14px 16px;
}

.yp-inquiry-card-v455 label {
  color: #f8fafc;
  font-size: 14px;
  line-height: 1.35;
}

.yp-inquiry-card-v455 input,
.yp-inquiry-card-v455 select,
.yp-inquiry-card-v455 textarea {
  min-height: 52px;
  border-radius: 15px;
  padding: 12px 15px;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.yp-inquiry-card-v455 textarea {
  min-height: 104px;
}

.yp-inquiry-card-v455 .yp-btn {
  min-height: 56px;
  border-radius: 999px;
  margin-top: 4px;
}

@media (max-width: 860px) {
  .yp-contact-centered-v455 {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .yp-contact-header-v455 h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .yp-contact-lead-v455 {
    font-size: 17px;
    line-height: 1.6;
  }

  .yp-inquiry-card-v455 {
    padding: 22px;
    border-radius: 22px;
  }
}

@media (max-width: 720px) {
  .yp-inquiry-card-v455 .yp-form-grid {
    grid-template-columns: 1fr;
  }
}


/* V45.6 Contact header tuning */
.yp-contact-header-v455 .yp-kicker {
  padding: 12px 30px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 999px;
}

.yp-contact-header-v455 {
  max-width: 1180px;
}

.yp-contact-header-v455 h2 {
  max-width: 1200px;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.yp-contact-lead-v455 {
  max-width: 860px;
}

@media (min-width: 1025px) {
  .yp-contact-header-v455 h2 {
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .yp-contact-header-v455 {
    max-width: 820px;
  }

  .yp-contact-header-v455 .yp-kicker {
    padding: 10px 24px;
    font-size: 15px;
  }

  .yp-contact-header-v455 h2 {
    max-width: 100%;
    white-space: normal;
    font-size: clamp(34px, 6.2vw, 54px);
  }
}


/* V45.7 Contact section refinement */
.yp-contact-centered-v455 {
  padding-top: 82px;
  padding-bottom: 90px;
}

.yp-contact-shell-v455 {
  max-width: 980px;
}

.yp-contact-header-v455 {
  max-width: 980px;
  margin-bottom: 28px;
}

.yp-contact-header-v455 .yp-kicker {
  padding: 13px 34px;
  font-size: 18px;
}

.yp-contact-header-v455 h2 {
  max-width: 1120px;
  margin-bottom: 14px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.05;
}

.yp-contact-lead-v455 {
  max-width: 900px;
  font-size: 18px;
  line-height: 1.6;
}

.yp-inquiry-card-v455 {
  max-width: 900px;
  padding: 34px;
}

@media (max-width: 1024px) {
  .yp-contact-centered-v455 {
    padding-top: 70px;
    padding-bottom: 78px;
  }

  .yp-contact-shell-v455,
  .yp-contact-header-v455 {
    max-width: 860px;
  }

  .yp-contact-header-v455 .yp-kicker {
    padding: 11px 28px;
    font-size: 16px;
  }

  .yp-contact-header-v455 h2 {
    font-size: clamp(32px, 5.4vw, 48px);
  }

  .yp-contact-lead-v455 {
    max-width: 760px;
    font-size: 17px;
  }

  .yp-inquiry-card-v455 {
    max-width: 860px;
    padding: 28px;
  }
}

@media (max-width: 860px) {
  .yp-contact-centered-v455 {
    padding-top: 62px;
    padding-bottom: 70px;
  }

  .yp-contact-header-v455 {
    margin-bottom: 24px;
  }

  .yp-contact-header-v455 h2 {
    font-size: clamp(30px, 8vw, 42px);
    white-space: normal;
  }

  .yp-inquiry-card-v455 {
    max-width: 100%;
    padding: 22px;
  }
}


/* V45.8 Header and navigation optimization */
:root {
  --yp-header-height: 80px;
}

.yp-header .yp-container {
  width: min(1280px, calc(100% - 40px));
}

.yp-header-inner {
  gap: 20px;
}

.yp-logo-image {
  height: 48px;
  width: auto;
}

.yp-nav {
  margin-left: auto;
  min-width: 0;
}

.yp-menu {
  gap: 18px;
  flex-wrap: nowrap;
}

.yp-menu li {
  min-width: 0;
}

.yp-menu a {
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.yp-header-quote {
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
  font-size: 13px;
}

@media (max-width: 1200px) {
  .yp-header .yp-container {
    width: min(1240px, calc(100% - 32px));
  }
  .yp-menu {
    gap: 14px;
  }
  .yp-menu a {
    font-size: 12.5px;
  }
  .yp-header-quote {
    padding: 0 16px;
    font-size: 12.5px;
  }
}


/* V45.9 Make inner-page header match homepage more closely */
:root {
  --yp-header-height: 74px;
}

.yp-header {
  min-height: var(--yp-header-height);
}

.yp-header .yp-container {
  width: min(1280px, calc(100% - 36px));
}

.yp-header-inner {
  min-height: var(--yp-header-height);
  gap: 16px;
  align-items: center;
}

.yp-logo {
  flex: 0 0 auto;
  max-width: 320px;
}

.yp-logo-image {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}

.yp-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.yp-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
}

.yp-menu li {
  flex: 0 1 auto;
  min-width: 0;
}

.yp-menu a {
  display: block;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  padding: 6px 0;
}

.yp-header-quote {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .yp-logo-image {
    height: 38px;
  }
  .yp-menu {
    gap: 14px;
  }
  .yp-menu a {
    font-size: 12px;
  }
  .yp-header-quote {
    font-size: 12px;
    padding: 0 14px;
  }
}

@media (max-width: 1100px) {
  .yp-header .yp-container {
    width: min(1240px, calc(100% - 28px));
  }
  .yp-logo-image {
    height: 36px;
  }
  .yp-menu {
    gap: 12px;
  }
  .yp-menu a {
    font-size: 11.5px;
  }
}


/* V46 Contact page + header navigation fix */
:root {
  --yp-header-height: 72px;
}

/* Header: smaller logo, larger readable nav */
.yp-header {
  height: var(--yp-header-height) !important;
  min-height: var(--yp-header-height) !important;
}

.yp-header .yp-container {
  width: min(1280px, calc(100% - 36px)) !important;
}

.yp-header-inner {
  height: var(--yp-header-height) !important;
  min-height: var(--yp-header-height) !important;
  gap: 18px !important;
}

.yp-logo {
  max-width: 260px !important;
  flex: 0 0 auto !important;
}

.yp-logo-image {
  height: 34px !important;
  width: auto !important;
  max-width: 100% !important;
}

.yp-nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.yp-menu {
  gap: 20px !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
}

.yp-menu li {
  min-width: 0 !important;
}

.yp-menu a {
  white-space: nowrap !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.yp-header-quote {
  min-height: 42px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

/* Contact page: match homepage inquiry form card style instead of full-width fields */
.yp-contact-page-managed {
  max-width: 900px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.yp-contact-page-header {
  max-width: 820px !important;
  margin: 0 auto 28px !important;
  text-align: center !important;
}

.yp-contact-page-header .yp-kicker {
  display: inline-flex !important;
  margin-bottom: 16px !important;
}

.yp-contact-page-header h2 {
  margin: 0 0 14px !important;
  color: var(--yp-navy, #0f172a) !important;
  font-size: clamp(32px, 3.4vw, 46px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
}

.yp-contact-page-header p {
  max-width: 760px !important;
  margin: 0 auto !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
}

.yp-contact-page-card {
  max-width: 820px !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: left !important;
  padding: 30px !important;
  border-radius: 30px !important;
  background: #0f172a !important;
  border-color: #1e293b !important;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .18) !important;
}

.yp-contact-page-card .yp-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
}

.yp-contact-page-card label {
  color: #f8fafc !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.yp-contact-page-card input,
.yp-contact-page-card select,
.yp-contact-page-card textarea {
  min-height: 52px !important;
  border-radius: 15px !important;
  padding: 12px 15px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.yp-contact-page-card textarea {
  min-height: 104px !important;
}

.yp-contact-page-card .yp-btn {
  min-height: 56px !important;
  border-radius: 999px !important;
}

@media (max-width: 1280px) {
  .yp-logo-image {
    height: 32px !important;
  }
  .yp-menu {
    gap: 16px !important;
  }
  .yp-menu a,
  .yp-header-quote {
    font-size: 13.5px !important;
  }
}

@media (max-width: 1100px) {
  .yp-logo-image {
    height: 30px !important;
  }
  .yp-menu {
    gap: 12px !important;
  }
  .yp-menu a,
  .yp-header-quote {
    font-size: 13px !important;
  }
  .yp-header-quote {
    padding: 0 16px !important;
  }
}

@media (max-width: 720px) {
  .yp-contact-page-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }
  .yp-contact-page-card .yp-form-grid {
    grid-template-columns: 1fr !important;
  }
}


/* V46.2 Contact page width fix: make contact page form match homepage form size */
body.page .yp-content .yp-contact-managed,
body.page .yp-contact-managed,
.yp-contact-page-managed {
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.page .yp-contact-managed > .yp-kicker,
body.page .yp-content .yp-contact-managed > .yp-kicker,
.yp-contact-page-header .yp-kicker {
  display: inline-flex !important;
  width: auto !important;
  max-width: max-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page .yp-contact-managed > h2,
body.page .yp-content .yp-contact-managed > h2,
.yp-contact-page-header h2 {
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page .yp-contact-managed > p,
body.page .yp-content .yp-contact-managed > p,
.yp-contact-page-header p {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 28px !important;
}

/* Works for both old direct form output and new wrapped card output */
body.page .yp-contact-managed form.yp-form,
body.page .yp-contact-managed > form.yp-form,
.yp-contact-page-card {
  max-width: 760px !important;
  width: min(760px, 100%) !important;
  margin: 28px auto 0 !important;
  padding: 30px !important;
  text-align: left !important;
  border-radius: 30px !important;
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .18) !important;
}

body.page .yp-contact-managed .yp-form-grid,
.yp-contact-page-card .yp-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
}

body.page .yp-contact-managed .yp-form label,
.yp-contact-page-card .yp-form label {
  color: #f8fafc !important;
}

body.page .yp-contact-managed .yp-form input,
body.page .yp-contact-managed .yp-form select,
body.page .yp-contact-managed .yp-form textarea,
.yp-contact-page-card .yp-form input,
.yp-contact-page-card .yp-form select,
.yp-contact-page-card .yp-form textarea {
  width: 100% !important;
  min-height: 52px !important;
  border-radius: 15px !important;
  background: #1f2937 !important;
  color: #fff !important;
}

body.page .yp-contact-managed .yp-form textarea,
.yp-contact-page-card .yp-form textarea {
  min-height: 104px !important;
}

body.page .yp-contact-managed .yp-form .yp-btn,
.yp-contact-page-card .yp-form .yp-btn {
  width: 100% !important;
  min-height: 56px !important;
  border-radius: 999px !important;
}

@media (max-width: 720px) {
  body.page .yp-contact-managed form.yp-form,
  body.page .yp-contact-managed > form.yp-form,
  .yp-contact-page-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  body.page .yp-contact-managed .yp-form-grid,
  .yp-contact-page-card .yp-form-grid {
    grid-template-columns: 1fr !important;
  }
}


/* V46.3 Contact shortcode card width fix */
.yp-contact-shortcode-card {
  max-width: 760px !important;
  width: 100% !important;
  margin: 28px auto 0 !important;
  padding: 30px !important;
  text-align: left !important;
  border-radius: 30px !important;
  background: #0f172a !important;
  border: 1px solid #1e293b !important;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .18) !important;
}

.yp-contact-shortcode-card form.yp-form,
body.page .yp-contact-managed .yp-contact-shortcode-card form.yp-form,
body.page .yp-content .yp-contact-managed .yp-contact-shortcode-card form.yp-form {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.yp-contact-shortcode-card .yp-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
}

.yp-contact-shortcode-card label {
  color: #f8fafc !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.yp-contact-shortcode-card input,
.yp-contact-shortcode-card select,
.yp-contact-shortcode-card textarea {
  width: 100% !important;
  min-height: 52px !important;
  border-radius: 15px !important;
  padding: 12px 15px !important;
  background: #1f2937 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

.yp-contact-shortcode-card textarea {
  min-height: 104px !important;
}

.yp-contact-shortcode-card .yp-btn {
  width: 100% !important;
  min-height: 56px !important;
  border-radius: 999px !important;
}

@media (max-width: 720px) {
  .yp-contact-shortcode-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .yp-contact-shortcode-card .yp-form-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   V47 Mobile Clean System
   Desktop remains unchanged. These rules apply mainly below 768px.
   ========================================================= */

@media (max-width: 768px) {
  :root {
    --yp-header-height: 64px;
    --yp-mobile-x: 20px;
    --yp-mobile-section: 60px;
    --yp-radius: 20px;
  }

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 15.5px;
    line-height: 1.55;
    background: #fffaf3;
  }

  .admin-bar .yp-header {
    top: 46px;
  }

  .yp-container,
  .yp-header .yp-container {
    width: calc(100% - 40px) !important;
    max-width: 100% !important;
  }

  .yp-section {
    padding: var(--yp-mobile-section) 0;
  }

  .yp-light {
    background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
  }

  /* Header / mobile navigation */
  .yp-header {
    height: var(--yp-header-height) !important;
    min-height: var(--yp-header-height) !important;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(254,215,170,.8);
  }

  .yp-header-inner {
    height: var(--yp-header-height) !important;
    min-height: var(--yp-header-height) !important;
    gap: 10px !important;
    justify-content: space-between;
  }

  .yp-logo {
    max-width: 182px !important;
    flex: 0 0 auto !important;
  }

  .yp-logo-image {
    height: 32px !important;
    width: auto !important;
    max-width: 182px !important;
    object-fit: contain;
  }

  .yp-menu-toggle {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff7ed;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    cursor: pointer;
    z-index: 80;
  }

  .yp-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #0f172a;
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
  }

  body.yp-mobile-menu-open .yp-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.yp-mobile-menu-open .yp-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.yp-mobile-menu-open .yp-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .yp-nav {
    position: fixed !important;
    top: var(--yp-header-height);
    left: 20px;
    right: 20px;
    display: block !important;
    background: #fff;
    border: 1px solid #fed7aa;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(15,23,42,.16);
    padding: 12px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 70;
  }

  body.yp-mobile-menu-open .yp-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .yp-menu {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .yp-menu li {
    width: 100%;
  }

  .yp-menu a {
    display: flex !important;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px !important;
    border-radius: 14px;
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
  }

  .yp-menu a:hover {
    background: #fff7ed;
    color: #ea580c !important;
  }

  .yp-header-quote {
    min-height: 40px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    border-radius: 999px;
    margin-left: auto;
  }

  /* Typography */
  .yp-centered,
  .yp-section-head,
  .yp-contact-header-v455,
  .yp-contact-page-header {
    text-align: left !important;
  }

  .yp-kicker {
    padding: 7px 13px;
    font-size: 12px;
    letter-spacing: .03em;
  }

  .yp-centered h2,
  .yp-section-head h2,
  .yp-page-hero h1,
  .yp-home-intro h1,
  .yp-contact-header-v455 h2,
  .yp-contact-page-header h2 {
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
  }

  .yp-lead,
  .yp-contact-lead-v455,
  .yp-contact-page-header p,
  .yp-content p {
    font-size: 15.5px !important;
    line-height: 1.6 !important;
  }

  /* Homepage hero and intro */
  .yp-home-hero-carousel {
    background: #fffaf3;
  }

  .yp-home-slide {
    min-height: auto !important;
  }

  .yp-home-slide img {
    height: auto !important;
    min-height: 220px;
    max-height: 360px;
    object-fit: cover;
    object-position: center;
  }

  .yp-slider-control {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .yp-slider-prev {
    left: 12px;
  }

  .yp-slider-next {
    right: 12px;
  }

  .yp-banner-dots {
    bottom: 12px;
    padding: 6px 9px;
  }

  .yp-intro-grid,
  .yp-oem-grid,
  .yp-contact-grid,
  .yp-page-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    align-items: start !important;
  }

  .yp-home-intro h1 {
    margin: 12px 0 14px;
  }

  .yp-actions,
  .yp-b2b-cta-row,
  .yp-tags {
    gap: 10px;
  }

  .yp-btn,
  .yp-header-quote {
    min-height: 44px;
  }

  .yp-actions .yp-btn,
  .yp-b2b-cta-row .yp-btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .yp-company-banner,
  .yp-contact-photo img,
  .yp-oem-grid img,
  .yp-page-hero-grid img {
    border-radius: 22px !important;
  }

  .yp-trust-panel,
  .yp-mini-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }

  .yp-trust-panel div,
  .yp-mini-grid div {
    padding: 16px;
    border-radius: 18px;
  }

  .yp-trust-panel strong,
  .yp-mini-grid strong {
    font-size: 24px;
  }

  .yp-trust-panel span,
  .yp-mini-grid span {
    font-size: 13px;
  }

  /* Category showcase */
  .yp-section-head {
    display: block !important;
    margin-bottom: 22px;
  }

  .yp-section-head .yp-btn {
    margin-top: 14px;
    width: 100%;
  }

  .yp-category-showcase-grid,
  .yp-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .yp-category-showcase-card,
  .yp-category-card {
    min-height: 108px !important;
    height: auto !important;
    border-radius: 18px !important;
    overflow: hidden;
  }

  .yp-category-showcase-card img {
    width: 100%;
    height: 108px !important;
    object-fit: cover;
  }

  .yp-category-showcase-card span,
  .yp-category-card h3 {
    font-size: 16px !important;
    line-height: 1.18 !important;
    letter-spacing: -.02em !important;
  }

  .yp-category-card p,
  .yp-category-showcase-card small {
    display: none !important;
  }

  /* Product catalog / archive page */
  .yp-catalog-layout {
    display: block !important;
  }

  .yp-catalog-sidebar,
  .yp-product-sidebar {
    position: static !important;
    max-height: none !important;
    width: 100% !important;
    margin-bottom: 18px !important;
    border-radius: 20px !important;
    padding: 18px !important;
  }

  .yp-category-tree,
  .yp-catalog-sidebar ul {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 8px;
  }

  .yp-products-grid,
  .yp-product-grid,
  ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .yp-product-card,
  .products .product {
    border-radius: 18px !important;
    overflow: hidden;
  }

  .yp-product-card img,
  .products .product img,
  .yp-product-image img {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  .yp-product-card h3,
  .products .product h2,
  .woocommerce-loop-product__title {
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin: 10px 12px 6px !important;
  }

  .yp-product-card p,
  .yp-product-excerpt,
  .products .product .yp-excerpt,
  .products .product .price,
  .products .product .button,
  .yp-view-details {
    display: none !important;
  }

  .yp-product-moq,
  .yp-moq {
    display: block !important;
    margin: 0 12px 12px !important;
    color: var(--yp-orange-dark) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  /* Single product page */
  .yp-product-detail-grid,
  .yp-single-product-grid,
  .yp-product-hero {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .yp-product-gallery,
  .yp-product-summary {
    position: static !important;
    top: auto !important;
    width: 100% !important;
  }

  .yp-main-product-image,
  .yp-product-main-image,
  .woocommerce-product-gallery__image img {
    border-radius: 20px !important;
  }

  .yp-product-summary h1,
  .product_title {
    font-size: clamp(26px, 8vw, 32px) !important;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
  }

  .yp-product-summary .yp-short-desc,
  .yp-product-summary p {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .yp-product-actions,
  .yp-detail-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .yp-product-actions .yp-btn,
  .yp-detail-actions .yp-btn {
    width: 100% !important;
  }

  .yp-thumbs,
  .yp-gallery-thumbs,
  .flex-control-thumbs {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding-bottom: 8px !important;
    scroll-snap-type: x mandatory;
  }

  .yp-thumbs img,
  .yp-gallery-thumbs img,
  .flex-control-thumbs li {
    flex: 0 0 74px !important;
    width: 74px !important;
    height: 74px !important;
    scroll-snap-align: start;
  }

  .yp-spec-table,
  .yp-spec-table tbody,
  .yp-spec-table tr,
  .yp-spec-table th,
  .yp-spec-table td {
    display: block !important;
    width: 100% !important;
  }

  .yp-spec-table tr {
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--yp-border);
  }

  .yp-spec-table th {
    padding: 0 0 4px !important;
    border: 0 !important;
    color: #334155 !important;
    font-size: 13px !important;
  }

  .yp-spec-table td {
    padding: 0 !important;
    border: 0 !important;
    color: #0f172a !important;
    font-size: 15px !important;
  }

  /* Contact form: single-column on mobile, centered and premium */
  .yp-contact-centered-v455 {
    padding-top: 58px !important;
    padding-bottom: 66px !important;
  }

  .yp-contact-shell-v455,
  .yp-contact-page-managed,
  .yp-contact-managed {
    max-width: 100% !important;
  }

  .yp-contact-header-v455,
  .yp-contact-page-header {
    margin-bottom: 22px !important;
  }

  .yp-inquiry-card-v455,
  .yp-contact-page-card,
  .yp-contact-shortcode-card,
  body.page .yp-contact-managed form.yp-form {
    max-width: 100% !important;
    width: 100% !important;
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .yp-form,
  .yp-inquiry-card-v455 .yp-form {
    gap: 13px !important;
  }

  .yp-form-grid,
  .yp-inquiry-card-v455 .yp-form-grid,
  .yp-contact-shortcode-card .yp-form-grid {
    grid-template-columns: 1fr !important;
    gap: 13px !important;
  }

  .yp-form label {
    gap: 6px !important;
    font-size: 13px !important;
  }

  .yp-form input,
  .yp-form textarea,
  .yp-form select,
  .yp-contact-shortcode-card input,
  .yp-contact-shortcode-card select,
  .yp-contact-shortcode-card textarea {
    min-height: 50px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }

  .yp-form textarea {
    min-height: 104px !important;
  }

  .yp-file-label {
    font-size: 13px !important;
  }

  .yp-form .yp-btn {
    width: 100% !important;
    min-height: 54px !important;
  }

  /* Managed pages / content */
  .yp-managed-grid,
  .yp-proof-grid,
  .yp-oem-case-grid,
  .yp-process-steps {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .yp-proof-card,
  .yp-oem-case-grid div,
  .yp-process-steps div {
    border-radius: 18px !important;
    padding: 18px !important;
  }

  /* Footer */
  .yp-footer {
    padding: 48px 0 24px !important;
  }

  .yp-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .yp-footer-logo img {
    max-width: 180px !important;
    height: auto !important;
  }

  .yp-footer h3 {
    margin-bottom: 10px !important;
  }

  .yp-footer p,
  .yp-footer li,
  .yp-footer a {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  :root {
    --yp-mobile-x: 16px;
    --yp-mobile-section: 54px;
  }

  .yp-container,
  .yp-header .yp-container {
    width: calc(100% - 32px) !important;
  }

  .yp-header-quote {
    padding: 0 13px !important;
    font-size: 12px !important;
  }

  .yp-logo-image {
    height: 30px !important;
    max-width: 160px !important;
  }

  .yp-category-showcase-grid,
  .yp-category-grid,
  .yp-products-grid,
  .yp-product-grid,
  ul.products {
    gap: 10px !important;
  }

  .yp-category-showcase-card img {
    height: 98px !important;
  }

  .yp-category-showcase-card span {
    font-size: 15px !important;
  }

  .yp-product-card h3,
  .woocommerce-loop-product__title {
    font-size: 13.5px !important;
  }

  .yp-trust-panel,
  .yp-mini-grid {
    grid-template-columns: 1fr !important;
  }

  .yp-home-slide img {
    min-height: 200px;
    max-height: 300px;
  }
}


/* =========================================================
   V47.1 Mobile hero + category card fix
   Fix 1: mobile carousel image must show completely, not cropped.
   Fix 2: mobile category cards are more compact, two cards fit clearly per row.
   ========================================================= */
@media (max-width: 768px) {
  /* Mobile carousel: show the whole 1920x740 banner */
  .yp-home-hero-carousel,
  .yp-home-slider,
  .yp-home-slide {
    width: 100% !important;
    overflow: hidden !important;
    background: #fffaf3 !important;
  }

  .yp-home-slide {
    min-height: 0 !important;
    height: auto !important;
  }

  .yp-home-slide img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1920 / 740 !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
  }

  .yp-slider-control {
    width: 34px !important;
    height: 34px !important;
    font-size: 18px !important;
  }

  .yp-banner-dots {
    bottom: 8px !important;
    padding: 5px 8px !important;
    gap: 7px !important;
  }

  .yp-banner-dots button {
    width: 8px !important;
    height: 8px !important;
  }

  .yp-banner-dots button.is-active {
    width: 22px !important;
  }

  /* Category cards: compact 2-column mobile layout */
  .yp-category-showcase-grid,
  .yp-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    width: 100% !important;
  }

  .yp-category-showcase-card,
  .yp-category-card {
    min-width: 0 !important;
    min-height: 88px !important;
    height: 88px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
  }

  .yp-category-showcase-card img {
    width: 100% !important;
    height: 88px !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .yp-category-showcase-card span,
  .yp-category-card h3 {
    font-size: 14px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
  }

  .yp-category-showcase-card {
    padding: 0 !important;
  }

  .yp-category-showcase-card span {
    left: 12px !important;
    top: 12px !important;
    max-width: 72% !important;
  }

  .yp-section-head {
    margin-bottom: 18px !important;
  }
}

@media (max-width: 480px) {
  .yp-container,
  .yp-header .yp-container {
    width: calc(100% - 28px) !important;
  }

  .yp-category-showcase-grid,
  .yp-category-grid {
    gap: 8px !important;
  }

  .yp-category-showcase-card,
  .yp-category-card {
    min-height: 80px !important;
    height: 80px !important;
    border-radius: 14px !important;
  }

  .yp-category-showcase-card img {
    height: 80px !important;
  }

  .yp-category-showcase-card span,
  .yp-category-card h3 {
    font-size: 13px !important;
    line-height: 1.1 !important;
  }

  .yp-category-showcase-card span {
    left: 10px !important;
    top: 10px !important;
    max-width: 74% !important;
  }
}


/* =========================================================
   V47.2 Mobile product category refinement
   Fixes:
   1. Center product category grid on mobile.
   2. Reduce category title size, avoid covering images.
   3. Increase category image/card height slightly.
   ========================================================= */
@media (max-width: 768px) {
  #products .yp-category-showcase {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #products .yp-category-showcase-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    justify-content: center !important;
    align-items: stretch !important;
  }

  #products .yp-category-showcase-card {
    width: 100% !important;
    min-width: 0 !important;
    height: 102px !important;
    min-height: 102px !important;
    aspect-ratio: auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  #products .yp-category-showcase-card img {
    width: 100% !important;
    height: 102px !important;
    min-height: 102px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  #products .yp-category-showcase-card::after {
    background: linear-gradient(90deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.48) 36%, rgba(255,255,255,0) 68%) !important;
  }

  #products .yp-category-showcase-card span,
  #products .yp-category-showcase-grid .yp-category-showcase-card span {
    top: 12px !important;
    left: 12px !important;
    max-width: 54% !important;
    font-size: 13px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.01em !important;
    font-weight: 900 !important;
    text-shadow: none !important;
    color: var(--yp-navy, #0f172a) !important;
  }
}

@media (max-width: 480px) {
  #products .yp-category-showcase-grid {
    gap: 9px !important;
  }

  #products .yp-category-showcase-card {
    height: 96px !important;
    min-height: 96px !important;
    border-radius: 15px !important;
  }

  #products .yp-category-showcase-card img {
    height: 96px !important;
    min-height: 96px !important;
  }

  #products .yp-category-showcase-card span,
  #products .yp-category-showcase-grid .yp-category-showcase-card span {
    top: 11px !important;
    left: 11px !important;
    max-width: 52% !important;
    font-size: 12px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
  }
}

@media (max-width: 390px) {
  #products .yp-category-showcase-grid {
    gap: 8px !important;
  }

  #products .yp-category-showcase-card {
    height: 90px !important;
    min-height: 90px !important;
  }

  #products .yp-category-showcase-card img {
    height: 90px !important;
    min-height: 90px !important;
  }

  #products .yp-category-showcase-card span,
  #products .yp-category-showcase-grid .yp-category-showcase-card span {
    font-size: 11.5px !important;
    max-width: 50% !important;
  }
}


/* =========================================================
   V48 Clean Final: WebP, mobile images, and clean asset loading
   ========================================================= */

/* Picture elements should behave like the original images */
.yp-home-slide picture,
.yp-oem-photo picture,
.yp-company-banner-picture {
  display: block;
  width: 100%;
}

.yp-home-slide picture img,
.yp-oem-photo picture img,
.yp-company-banner-picture img {
  display: block;
  width: 100%;
}

/* Use WebP category images with stable card behavior */
.yp-category-showcase-card img {
  background: #fff7ef;
}

/* Desktop remains premium and unchanged as much as possible */
.yp-home-slide img {
  object-fit: cover;
}

/* Mobile: load smaller picture sources and keep layout refined */
@media (max-width: 768px) {
  .yp-home-slide picture img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1920 / 740 !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #fffaf3 !important;
  }

  .yp-company-banner-picture img,
  .yp-oem-photo picture img {
    border-radius: 22px !important;
  }

  #products .yp-category-showcase-grid {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }

  #products .yp-category-showcase-card {
    height: 102px !important;
    min-height: 102px !important;
    border-radius: 16px !important;
  }

  #products .yp-category-showcase-card img {
    height: 102px !important;
    min-height: 102px !important;
    object-fit: cover !important;
  }

  #products .yp-category-showcase-card span {
    max-width: 54% !important;
    font-size: 13px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
  }
}

@media (max-width: 480px) {
  #products .yp-category-showcase-card {
    height: 96px !important;
    min-height: 96px !important;
  }

  #products .yp-category-showcase-card img {
    height: 96px !important;
    min-height: 96px !important;
  }

  #products .yp-category-showcase-card span {
    font-size: 12px !important;
    max-width: 52% !important;
  }
}
