/* Jimly 2.0 — CP05 frontend preview. Visual tokens from legacy-static. */

:root {
  --jimly-cl: #155E3D;
  --jimly-cl-light: #E8F2EC;
  --jimly-cl-mid: #8FBF9F;
  --jimly-cl-deep: #0F4A30;
  --jimly-ct: #122018;
  --jimly-ctm: #5B6B62;
  --jimly-border: #DCE8E1;
  --jimly-r-sm: 8px;
  --jimly-r-md: 12px;
  --jimly-r-lg: 16px;
  --jimly-r-xl: 24px;
  --jimly-r-pill: 999px;
  --jimly-sh-xs: 0 2px 8px rgba(21, 94, 61, 0.08);
  --jimly-sh-sm: 0 4px 16px rgba(21, 94, 61, 0.10);
  --jimly-sh-md: 0 10px 36px rgba(21, 94, 61, 0.12);
  --jimly-sh-lg: 0 22px 60px rgba(21, 94, 61, 0.16);
  --jimly-ease: 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  --jimly-w: 1360px;
  --jimly-hh: 80px;
  --jimly-bg: #ffffff;
  --jimly-r-card: 8px;
  --jimly-r-btn: 8px;
  --jimly-r-input: 8px;
  --lena-gray: #F9F9F9;
  --lena-footer: #0D3D28;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.jimly-has-chrome {
  font-family: Inter, Poppins, system-ui, -apple-system, sans-serif;
  color: var(--jimly-ct);
  background: var(--jimly-bg);
  overflow-x: clip;
}

body.jimly-has-chrome .site-header,
body.jimly-has-chrome header.site-header,
body.jimly-has-chrome .site-footer,
body.jimly-has-chrome footer.site-footer,
body.jimly-has-chrome footer#site-footer,
body.jimly-has-chrome .site-footer.dynamic-footer {
  display: none !important;
}

body.jimly-home .page-header,
body.jimly-home .entry-title {
  display: none !important;
}

.jimly-skip {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--jimly-cl);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--jimly-r-sm);
  font-weight: 700;
  font-size: 0.9rem;
}

.jimly-skip:focus {
  top: 1rem;
}

.jimly-container {
  width: 100%;
  max-width: var(--jimly-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.jimly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.7rem;
  border-radius: var(--jimly-r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform var(--jimly-ease), box-shadow var(--jimly-ease), background var(--jimly-ease), color var(--jimly-ease);
  white-space: nowrap;
  min-height: 44px;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.jimly-btn:hover {
  transform: translateY(-2px);
}

.jimly-btn--primary {
  background: var(--jimly-cl);
  color: #fff;
  box-shadow: 0 6px 24px rgba(21, 94, 61, 0.28);
}

.jimly-btn--primary:hover {
  background: var(--jimly-cl-deep);
  color: #fff;
}

.jimly-btn--outline {
  background: transparent;
  color: var(--jimly-cl);
  border: 2px solid var(--jimly-cl);
}

.jimly-btn--outline:hover {
  background: var(--jimly-cl-light);
  color: var(--jimly-cl-deep);
}

.jimly-btn--white {
  background: #fff;
  color: var(--jimly-cl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.jimly-btn--ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.jimly-btn--sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.82rem;
  min-height: 38px;
}

.jimly-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

/* Header */
html {
  overflow-x: clip;
}

body.jimly-has-chrome {
  overflow-x: clip;
}

.jimly-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--jimly-hh);
  background: #fff;
  border-bottom: 1px solid #f0edf8;
}

.jimly-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.jimly-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
  max-width: var(--jimly-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-width: 0;
  width: 100%;
}

.jimly-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.jimly-header__logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.jimly-header__logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--jimly-ct);
}

.jimly-header__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.jimly-header__nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jimly-header__nav-link {
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  border-radius: var(--jimly-r-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
}

.jimly-header__nav-link:hover {
  color: var(--jimly-cl);
  background: var(--jimly-cl-light);
}

.jimly-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.jimly-header__nav-actions {
  display: none;
}

.jimly-header__mobile-tools {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.jimly-header__cart {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  border-radius: var(--jimly-r-btn);
  border: 1.5px solid var(--jimly-border);
  color: var(--jimly-ct);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  background: #fff;
}

.jimly-header__cart:hover {
  border-color: var(--jimly-cl-mid);
  color: var(--jimly-cl-deep);
}

.jimly-header__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--jimly-cl);
  color: #fff;
  font-size: 0.68rem;
}

.jimly-header__hamburger {
  display: none !important;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  border-radius: var(--jimly-r-sm);
  cursor: pointer;
}

.jimly-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: transform var(--jimly-ease), opacity var(--jimly-ease);
}

.jimly-header__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.jimly-header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.jimly-header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Footer */
.jimly-footer {
  background: #13112a;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.jimly-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jimly-footer__brand p {
  font-size: 0.83rem;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.6);
}

.jimly-footer__logo-plate {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: var(--jimly-r-sm);
  padding: 0.5rem 0.9rem;
}

.jimly-footer__logo-plate img {
  height: 28px;
  width: auto;
}

.jimly-footer__heading {
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.1rem;
}

.jimly-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.jimly-footer__links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
}

.jimly-footer__links a:hover {
  color: #fff;
}

.jimly-footer__bottom {
  padding: 1.35rem 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.38);
}

/* Homepage Elementor helpers */
body.jimly-home .elementor-widget-heading .elementor-heading-title {
  font-family: Poppins, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.jimly-chip {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jimly-cl-deep);
  background: var(--jimly-cl-light);
  padding: 0.35rem 1rem;
  border-radius: var(--jimly-r-pill);
  margin-bottom: 0.85rem;
}

.jimly-chip--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.jimly-benefits {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.jimly-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--jimly-ct);
}

.jimly-benefits li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--jimly-cl-light);
  color: var(--jimly-cl-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.jimly-about-panel {
  background: linear-gradient(155deg, #fff 0%, #faf8ff 100%);
  border-radius: var(--jimly-r-xl);
  padding: 2rem 1.75rem 1.75rem;
  border: 1.5px solid rgba(21, 94, 61, 0.14);
  box-shadow: var(--jimly-sh-md);
}

.jimly-about-panel__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.jimly-about-panel__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--jimly-r-sm);
  overflow: hidden;
  border: 1.5px solid rgba(21, 94, 61, 0.15);
}

.jimly-about-panel__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jimly-about-panel__eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jimly-cl-deep);
}

.jimly-about-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.jimly-about-feature {
  background: #fff;
  border-radius: var(--jimly-r-md);
  padding: 1.1rem 0.9rem;
  border: 1.5px solid var(--jimly-border);
  font-size: 0.82rem;
  font-weight: 700;
}

.jimly-about-panel__foot {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--jimly-border);
  font-size: 0.8rem;
  color: var(--jimly-ctm);
}

.jimly-b2b-card {
  background: linear-gradient(160deg, var(--jimly-cl) 0%, var(--jimly-cl-deep) 100%);
  border-radius: var(--jimly-r-xl);
  padding: 2.5rem 2rem;
  color: #fff;
  box-shadow: var(--jimly-sh-lg);
}

.jimly-b2b-card h3,
.jimly-b2b-card .elementor-heading-title {
  color: #fff !important;
}

.jimly-b2b-card p,
.jimly-b2b-card .elementor-widget-text-editor {
  color: rgba(255, 255, 255, 0.92);
}

.jimly-brand-card {
  background: #fff;
  border-radius: var(--jimly-r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1.5px solid var(--jimly-border);
  box-shadow: var(--jimly-sh-xs);
  transition: transform var(--jimly-ease), box-shadow var(--jimly-ease), border-color var(--jimly-ease);
  height: 100%;
}

.jimly-brand-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--jimly-sh-md);
  border-color: var(--jimly-cl-mid);
}

.jimly-brand-card img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.jimly-area-card,
.jimly-why-card {
  background: #fff;
  border-radius: var(--jimly-r-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--jimly-sh-xs);
  border: 2px solid var(--jimly-border);
  height: 100%;
  transition: transform var(--jimly-ease), box-shadow var(--jimly-ease);
}

.jimly-area-card:hover,
.jimly-why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--jimly-sh-md);
}

/* Product preview cards */
.jimly-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.jimly-product-card {
  background: #fff;
  border-radius: var(--jimly-r-card);
  border: 1.5px solid var(--jimly-border);
  box-shadow: var(--jimly-sh-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  transition: transform var(--jimly-ease), box-shadow var(--jimly-ease);
}

.jimly-product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.jimly-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--jimly-sh-md);
}

.jimly-product-card__media {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #faf9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}

.jimly-product-card__media img,
.jimly-product-card__media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.jimly-product-card__media-placeholder {
  display: block;
  background: linear-gradient(135deg, #f3f4f6, #eef2f0);
}

.jimly-product-card__body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-height: 0;
}

.jimly-product-card__badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jimly-cl-deep);
  background: var(--jimly-cl-light);
  padding: 0.28rem 0.7rem;
  border-radius: var(--jimly-r-pill);
  min-height: 1.55rem;
  align-items: center;
}

.jimly-product-card__badge--empty {
  visibility: hidden;
  background: transparent;
}

body.jimly-has-chrome h3.jimly-product-card__title,
.jimly-product-card__title {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: var(--jimly-ct);
  margin: 0 !important;
  padding: 0 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3;
  overflow: hidden !important;
  text-overflow: ellipsis;
  /* rem-based box avoids em/line-height fights with Elementor h3 */
  min-height: calc(0.92rem * 1.45 * 3) !important;
  max-height: calc(0.92rem * 1.45 * 3) !important;
  height: calc(0.92rem * 1.45 * 3) !important;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: none;
  white-space: normal;
}

.jimly-product-card__sku {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--jimly-ctm);
  letter-spacing: 0.02em;
  min-height: 1.1em;
  line-height: 1.35;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.jimly-product-card__sku--empty {
  visibility: hidden;
}

.jimly-product-card__price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--jimly-cl-deep);
}

.jimly-product-card__cta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--jimly-cl);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.jimly-product-card__cta:hover {
  color: var(--jimly-cl-deep);
}

/* Hero photo on home */
.jimly-hero-photo img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: cover;
}

.jimly-history-photo img {
  border-radius: var(--jimly-r-xl);
  box-shadow: var(--jimly-sh-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 768px) {
  .jimly-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .jimly-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .jimly-about-panel__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --jimly-hh: 64px;
  }

  .jimly-header__actions {
    display: none;
  }

  .jimly-header__mobile-tools {
    display: flex;
  }

  .jimly-header__hamburger {
    display: flex !important;
    margin-left: 0;
  }

  .jimly-header__cart--mobile {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
  }

  .jimly-header__nav {
    display: none;
    position: fixed;
    top: var(--jimly-hh);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    z-index: 99;
    padding: 2rem 1.5rem 4rem;
  }

  .jimly-header__nav.is-open {
    display: flex;
  }

  .jimly-header__nav-list {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }

  .jimly-header__nav-link {
    font-size: 1.2rem;
    padding: 0.9rem 2.5rem;
  }

  .jimly-header__nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: min(280px, 100%);
  }

  .jimly-header__logo-img {
    height: 40px;
    max-height: 40px;
    max-width: 150px;
  }

  .jimly-hero-photo {
    max-height: 220px;
  }

  .jimly-hero-photo img {
    max-height: 220px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
  }

  .jimly-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .jimly-footer__brand {
    grid-column: 1 / -1;
  }

  .jimly-about-panel__grid {
    grid-template-columns: 1fr;
  }

  body.jimly-nav-open {
    overflow: hidden;
  }
}

@media (max-width: 540px) {
  .jimly-footer__grid {
    grid-template-columns: 1fr;
  }

  .jimly-btn {
    white-space: normal;
  }
}

:focus-visible {
  outline: 3px solid var(--jimly-cl);
  outline-offset: 3px;
}

/* WooCommerce product page under Jimly chrome */
body.single-product.jimly-has-chrome .site-main,
body.single-product.jimly-has-chrome .content-area {
  max-width: var(--jimly-w);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 4rem;
}

body.single-product.jimly-has-chrome .woocommerce-breadcrumb {
  font-size: 0.82rem;
  color: var(--jimly-ctm);
  margin: 0 0 1.5rem;
}

body.single-product.jimly-has-chrome .woocommerce-breadcrumb a {
  color: var(--jimly-cl);
  text-decoration: none;
}

body.single-product.jimly-has-chrome div.product {
  display: block;
  position: relative;
}

@media (min-width: 901px) {
  body.single-product.jimly-has-chrome div.product .woocommerce-product-gallery {
    float: left !important;
    width: 54% !important;
    margin: 0 4% 2rem 0 !important;
  }

  body.single-product.jimly-has-chrome div.product .summary {
    float: right !important;
    width: 42% !important;
    margin: 0 0 2rem !important;
  }

  body.single-product.jimly-has-chrome div.product .jimly-product-copy,
  body.single-product.jimly-has-chrome div.product .related,
  body.single-product.jimly-has-chrome div.product .woocommerce-tabs,
  body.single-product.jimly-has-chrome div.product > .woocommerce-notices-wrapper {
    clear: both;
    float: none !important;
    width: 100% !important;
  }
}

body.single-product.jimly-has-chrome div.product > .onsale {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  z-index: 3;
  background: var(--jimly-cl);
  color: #fff;
  border-radius: 999px;
  min-width: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.single-product.jimly-has-chrome div.product > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

body.single-product.jimly-has-chrome div.product .woocommerce-tabs,
body.single-product.jimly-has-chrome div.product .related,
body.single-product.jimly-has-chrome div.product .jimly-product-copy {
  grid-column: 1 / -1;
}

body.single-product.jimly-has-chrome .jimly-product-copy {
  grid-area: copy;
}

body.single-product.jimly-has-chrome div.product .related {
  grid-area: related;
}

body.single-product.jimly-has-chrome .product_title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--jimly-ct);
}

body.single-product.jimly-has-chrome p.price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--jimly-cl-deep);
  background: var(--jimly-cl-light);
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: var(--jimly-r-pill);
  margin: 0 0 1.1rem;
}

body.single-product.jimly-has-chrome .woocommerce-product-details__short-description {
  color: var(--jimly-ctm);
  font-size: 0.95rem;
  line-height: 1.65;
}

body.single-product.jimly-has-chrome .product_meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--jimly-border);
  font-size: 0.88rem;
  color: var(--jimly-ct);
}

body.single-product.jimly-has-chrome .product_meta > span {
  display: block;
}

body.single-product.jimly-has-chrome .product_meta a {
  color: var(--jimly-cl-deep);
  font-weight: 700;
  text-decoration: none;
}

body.single-product.jimly-has-chrome .woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--jimly-r-lg);
  background: #faf9ff;
}

body.single-product.jimly-has-chrome .related ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

body.single-product.jimly-has-chrome .related ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  body.single-product.jimly-has-chrome div.product .woocommerce-product-gallery,
  body.single-product.jimly-has-chrome div.product .summary {
    float: none !important;
    width: 100% !important;
    margin: 0 0 1.5rem !important;
  }

  body.single-product.jimly-has-chrome .related ul.products,
  body.jimly-has-chrome ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.jimly-has-chrome h3.jimly-product-card__title,
  .jimly-product-card__title {
    font-size: 0.82rem !important;
    min-height: calc(0.82rem * 1.45 * 3) !important;
    max-height: calc(0.82rem * 1.45 * 3) !important;
    height: calc(0.82rem * 1.45 * 3) !important;
  }

  .jimly-product-card__body {
    padding: 0.75rem 0.7rem 0.9rem;
  }

  .jimly-product-card__cta {
    font-size: 0.78rem;
  }
}

.jimly-product-brand {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jimly-product-brand a {
  color: var(--jimly-cl-deep);
  text-decoration: none;
}

.jimly-guest-cta {
  margin: 1.1rem 0 1.35rem;
}

.jimly-guest-cta__lead {
  font-weight: 700;
  color: var(--jimly-cl-deep);
  margin: 0 0 0.85rem;
}

.jimly-guest-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.jimly-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0.75rem 0 0;
}

.jimly-qty__btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-sm);
  background: #fff;
  color: var(--jimly-ct);
  font-size: 1.2rem;
  cursor: pointer;
}

.jimly-qty input.qty {
  width: 64px;
  height: 44px;
  text-align: center;
}

.jimly-woo-hero {
  max-width: var(--jimly-w);
  margin: 0 auto 1.5rem;
  padding: 1.5rem 1.5rem 0;
}

.jimly-woo-hero__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
}

.jimly-woo-hero__text,
.jimly-woo-hero__meta {
  color: var(--jimly-ctm);
  margin: 0 0 0.4rem;
}

.jimly-brand-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: var(--jimly-w);
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
}

.jimly-brand-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 1rem;
  border-radius: var(--jimly-r-pill);
  border: 1.5px solid var(--jimly-border);
  color: var(--jimly-ct);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
}

.jimly-brand-nav__link.is-active,
.jimly-brand-nav__link:hover {
  background: var(--jimly-cl-light);
  border-color: var(--jimly-cl-mid);
  color: var(--jimly-cl-deep);
}

.jimly-cat-nav {
  margin-top: -0.75rem;
}

body.jimly-has-chrome.woocommerce-shop .site-main,
body.jimly-has-chrome.jimly-archive .site-main,
body.jimly-has-chrome.jimly-cart .site-main,
body.jimly-has-chrome.jimly-checkout .site-main,
body.jimly-has-chrome.jimly-account .site-main,
body.jimly-has-chrome.woocommerce-account .site-main {
  max-width: var(--jimly-w);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

body.jimly-has-chrome ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

body.jimly-has-chrome ul.products li.product {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  background: #fff;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-lg);
  padding: 0.85rem;
  box-shadow: var(--jimly-sh-xs);
  display: flex !important;
  flex-direction: column;
  height: auto;
  min-height: 100%;
  align-self: stretch;
}

body.jimly-has-chrome ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #faf9ff;
}

@media (max-width: 479px) {
  body.jimly-has-chrome ul.products {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  body.jimly-has-chrome ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Desktop catalog: 4 across (mockup + UX). Not 5 — titles/images stay readable. */
@media (min-width: 900px) {
  body.jimly-has-chrome ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.jimly-cart-intro,
.jimly-checkout-intro,
.jimly-login-intro,
.jimly-register-intro,
.jimly-account-hero {
  margin: 1.5rem 0 1.25rem;
}

.jimly-cart-intro__title,
.jimly-checkout-intro__title,
.jimly-login-intro h1,
.jimly-register-intro h1,
.jimly-account-hero h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.jimly-register-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.jimly-register-steps li {
  background: var(--jimly-cl-light);
  color: var(--jimly-cl-deep);
  border-radius: var(--jimly-r-pill);
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.82rem;
}

.jimly-account-meta {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.5rem;
  display: grid;
  gap: 0.4rem;
}

.woocommerce-form-login,
.woocommerce-form-register,
.b2bking_registration_container,
form.woocommerce-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: none;
}

.woocommerce-form-login input.input-text,
.woocommerce-form-register input.input-text,
.b2bking_registration_container input,
.b2bking_registration_container select,
.woocommerce-checkout input.input-text,
.woocommerce-checkout select {
  min-height: 44px;
  width: 100%;
}

.woocommerce-cart .wc-block-cart,
.woocommerce-checkout .wc-block-checkout {
  font-family: Poppins, system-ui, sans-serif;
}

@media (max-width: 768px) {
  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table tbody,
  .woocommerce-cart table.shop_table tr,
  .woocommerce-cart table.shop_table td {
    display: block;
    width: 100%;
  }

  form.woocommerce-form,
  .b2bking_registration_container {
    max-width: none;
  }
}

.jimly-woo-hero__logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin: 0 0 0.85rem;
}

.jimly-product-identity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--jimly-border);
  border-bottom: 1px solid var(--jimly-border);
  font-size: 0.88rem;
}

.jimly-product-identity__item strong {
  color: var(--jimly-ctm);
  font-weight: 600;
  margin-right: 0.25rem;
}

body.single-product.jimly-has-chrome .product_meta .sku_wrapper {
  display: none;
}

body.jimly-has-chrome ul.products li.product {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.jimly-has-chrome ul.products li.product .jimly-product-card {
  flex: 1 1 auto;
  height: 100%;
  width: 100%;
}

.jimly-account-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.jimly-account-card {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-md);
  background: #fff;
  color: var(--jimly-ct);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--jimly-sh-xs);
}

.jimly-account-card:hover {
  border-color: var(--jimly-cl-mid);
  color: var(--jimly-cl-deep);
}

@media (min-width: 768px) {
  .jimly-account-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border-radius: var(--jimly-r-sm);
  text-decoration: none;
  color: var(--jimly-ct);
  font-weight: 600;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
  background: var(--jimly-cl-light);
  color: var(--jimly-cl-deep);
}

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  min-height: 48px !important;
}

.wc-block-cart-item__image img {
  object-fit: contain;
  background: #faf9ff;
}

.wc-block-components-order-summary-item,
.wc-block-components-order-summary-item-container {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) auto !important;
  align-items: start;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
}

.wc-block-components-order-summary-item__image {
  width: 56px;
  max-width: 56px;
}

.wc-block-components-order-summary-item__description {
  min-width: 0 !important;
  max-width: none !important;
  overflow-wrap: anywhere;
}

.wc-block-components-order-summary-item__total-price {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 781px) {
  .wc-block-cart .wc-block-cart-items,
  .wc-block-cart-items__row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .wp-block-woocommerce-checkout .wc-block-cart-items__row,
  .wc-block-checkout .wc-block-cart-items__row {
    display: flex;
    grid-template-columns: none;
  }
}

body.single-product.jimly-has-chrome form.variations_form {
  width: 100%;
}

body.single-product.jimly-has-chrome table.variations {
  width: 100%;
  border: 0;
}

body.single-product.jimly-has-chrome table.variations th,
body.single-product.jimly-has-chrome table.variations td {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
}

body.single-product.jimly-has-chrome table.variations th.label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--jimly-ctm);
  padding-bottom: 0.35rem;
}

body.single-product.jimly-has-chrome table.variations select {
  width: 100%;
  max-width: none;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-md);
  background: #fff;
  font-size: 1rem;
}

body.single-product.jimly-has-chrome table.variations .reset_variations {
  display: inline-block;
  margin-top: 0.45rem;
}

body:not(.logged-in) form.cart .single_add_to_cart_button,
body:not(.logged-in) form.cart .quantity,
body:not(.logged-in) form.cart .jimly-qty,
body:not(.logged-in) form.cart .woocommerce-variation-price,
body:not(.logged-in) form.cart .woocommerce-variation-availability,
body:not(.logged-in).single-product p.price {
  display: none !important;
}

/* CP07.2 — final B2B UX polish */

.jimly-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.2) blur(8px);
}

.jimly-header.is-scrolled {
  border-bottom-color: rgba(21, 94, 61, 0.12);
  box-shadow: 0 8px 24px rgba(30, 27, 58, 0.06);
}

.jimly-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
  min-width: 0;
}

.jimly-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  min-width: 0;
  max-width: 100%;
}

.jimly-carousel__track {
  display: flex;
  gap: 1rem;
}

.jimly-carousel .jimly-product-card {
  flex: 0 0 calc(50% - 0.5rem);
  width: calc(50% - 0.5rem);
  max-width: calc(50% - 0.5rem);
  scroll-snap-align: start;
  min-width: 0;
}

.jimly-carousel__btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--jimly-border);
  border-radius: 50%;
  background: #fff;
  color: var(--jimly-ct);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--jimly-sh-xs);
}

.jimly-carousel__btn:hover {
  border-color: var(--jimly-cl-mid);
  color: var(--jimly-cl-deep);
}

.jimly-carousel__more {
  margin: 1.25rem 0 0;
  text-align: center;
}

.jimly-carousel__more a {
  font-weight: 700;
  color: var(--jimly-cl);
  text-decoration: none;
}

.jimly-carousel__more a:hover {
  color: var(--jimly-cl-deep);
}

@media (max-width: 767px) {
  .jimly-carousel .jimly-product-card {
    flex: 0 0 calc(50vw - 2.75rem);
    width: calc(50vw - 2.75rem);
    max-width: calc(50vw - 2.75rem);
  }
}

@media (min-width: 768px) {
  .jimly-carousel .jimly-product-card {
    flex-basis: calc(33.333% - 0.7rem);
    width: calc(33.333% - 0.7rem);
    max-width: calc(33.333% - 0.7rem);
  }
}

@media (min-width: 1024px) {
  .jimly-carousel .jimly-product-card {
    flex-basis: calc(25% - 0.75rem);
    width: calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
  }
}

@media (min-width: 1500px) {
  .jimly-carousel .jimly-product-card {
    flex-basis: calc(20% - 0.8rem);
    width: calc(20% - 0.8rem);
    max-width: calc(20% - 0.8rem);
  }
}

@media (max-width: 767px) {
  .jimly-carousel {
    grid-template-columns: minmax(0, 1fr);
  }

  .jimly-carousel__btn {
    display: none;
  }
}

body.jimly-home .elementor,
body.jimly-home .e-con,
body.jimly-home .elementor-widget-shortcode,
body.jimly-home .elementor-widget-container {
  max-width: 100%;
  min-width: 0;
}

body.jimly-home .jimly-carousel,
body.jimly-home .jimly-carousel__viewport {
  max-width: 100%;
}

body.jimly-home .elementor-widget-heading h1.elementor-heading-title {
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
  line-height: 1.15;
}

body.jimly-home .elementor-widget-heading h2.elementor-heading-title {
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
}

.jimly-hero-photo img {
  object-fit: contain;
  background: transparent;
}

.jimly-catalog-search {
  display: flex;
  gap: 0.65rem;
  max-width: var(--jimly-w);
  margin: 0 auto 1.25rem;
  padding: 0 1.5rem;
}

.jimly-catalog-search input[type="search"] {
  flex: 1;
  min-height: 50px;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-input);
  padding: 0.7rem 1rem;
  background: #fff;
}

.jimly-archive-cta {
  max-width: var(--jimly-w);
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem;
  background: #fff;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.jimly-archive-cta__lead {
  margin: 0;
  font-weight: 600;
}

.jimly-archive-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* product two-column layout is defined above via floats */

body.single-product.jimly-has-chrome .woocommerce-product-gallery {
  background: #fff;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-card);
  padding: 1rem;
  position: relative;
}

body.single-product.jimly-has-chrome .woocommerce-product-gallery img {
  background: #fff;
  object-fit: contain;
  border-radius: 12px;
  max-height: 520px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

body.single-product.jimly-has-chrome .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

body.single-product.jimly-has-chrome .flex-control-thumbs li {
  width: 72px;
  float: none;
  margin: 0;
}

body.single-product.jimly-has-chrome .flex-control-thumbs img {
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1.5px solid var(--jimly-border);
  border-radius: 10px;
}

.jimly-product-identity {
  background: #fff;
  border: 1.5px solid var(--jimly-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  gap: 0.65rem 1.25rem;
}

body.single-product.jimly-has-chrome .woocommerce-product-details__short-description {
  max-width: 42rem;
  margin: 0 0 1.35rem;
  color: var(--jimly-ct);
}

.jimly-guest-cta {
  background: linear-gradient(165deg, #fff 0%, var(--jimly-cl-light) 100%);
  border: 1.5px solid rgba(21, 94, 61, 0.18);
  border-radius: var(--jimly-r-card);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--jimly-sh-xs);
}

.jimly-guest-cta__lead {
  font-size: 1.05rem;
}

.jimly-guest-cta__text {
  margin: 0 0 1rem;
  color: var(--jimly-ctm);
  line-height: 1.55;
}

body.single-product.jimly-has-chrome .single_add_to_cart_button,
body.jimly-has-chrome button.button,
body.jimly-has-chrome .woocommerce-form-login__submit,
body.jimly-has-chrome .woocommerce button.button.alt {
  background: var(--jimly-cl) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--jimly-r-btn) !important;
  min-height: 50px;
  padding: 0.75rem 1.4rem;
  font-weight: 700;
  box-shadow: none;
}

body.jimly-has-chrome button.button:hover,
body.jimly-has-chrome .single_add_to_cart_button:hover {
  background: var(--jimly-cl-deep) !important;
}

.jimly-product-copy,
body.single-product.jimly-has-chrome div.product .related {
  grid-column: 1 / -1;
}

.jimly-product-copy {
  margin: 1.5rem 0 0.5rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--jimly-border);
}

.jimly-product-copy__title {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.jimly-product-copy__intro {
  max-width: 48rem;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.jimly-product-copy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.jimly-product-copy__card {
  background: #fff;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-card);
  padding: 1.5rem 1.35rem;
}

.jimly-product-copy__card h2 {
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
}

.jimly-product-copy__card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.jimly-product-copy__card li {
  margin: 0 0 0.45rem;
  line-height: 1.5;
}

.jimly-product-copy__card--spec ul {
  list-style: none;
  padding: 0;
}

.jimly-product-copy__card--spec li {
  display: grid;
  grid-template-columns: minmax(7rem, 0.4fr) 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  margin: 0;
  border-bottom: 1px solid var(--jimly-border);
}

body.single-product.jimly-has-chrome .related > h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 2rem 0 1.1rem;
}

.jimly-auth {
  width: 100%;
  max-width: 520px;
  margin: 2.5rem auto 4rem;
  padding: 0 1.25rem;
}

.jimly-auth--wide,
body.jimly-register .jimly-auth {
  max-width: 960px;
}

.jimly-auth__card {
  background: #fff;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-card);
  box-shadow: var(--jimly-sh-sm);
  padding: 2rem 1.75rem 2.15rem;
}

.jimly-login-intro,
.jimly-register-intro {
  text-align: center;
  margin: 0 0 1.5rem;
}

.jimly-login-intro h1,
.jimly-register-intro h1 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.jimly-login-intro p,
.jimly-register-intro p {
  color: var(--jimly-ctm);
  margin: 0.4rem 0 0;
}

.jimly-login-register {
  margin: 1.25rem 0 0;
  text-align: center;
}

.jimly-login-register a {
  font-weight: 700;
  color: var(--jimly-cl);
}

body.jimly-login .u-columns,
body.jimly-login .u-column1,
body.jimly-login .col-1 {
  width: 100% !important;
  float: none !important;
  max-width: none;
}

body.jimly-login .u-column2,
body.jimly-login .col-2 {
  display: none !important;
}

body.jimly-has-chrome input[type="text"],
body.jimly-has-chrome input[type="email"],
body.jimly-has-chrome input[type="tel"],
body.jimly-has-chrome input[type="password"],
body.jimly-has-chrome input[type="search"],
body.jimly-has-chrome input[type="number"],
body.jimly-has-chrome select,
body.jimly-has-chrome textarea {
  min-height: 50px;
  width: 100%;
  border: 1.5px solid #e4dff2;
  border-radius: var(--jimly-r-input);
  padding: 0.7rem 0.95rem;
  background: #fff;
  color: var(--jimly-ct);
  font-family: inherit;
  font-size: 1rem;
}

body.jimly-has-chrome textarea {
  min-height: 110px;
}

body.jimly-has-chrome input:focus,
body.jimly-has-chrome select:focus,
body.jimly-has-chrome textarea:focus {
  border-color: var(--jimly-cl);
  box-shadow: 0 0 0 3px rgba(21, 94, 61, 0.16);
  outline: none;
}

body.jimly-has-chrome label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--jimly-ct);
}

body.jimly-has-chrome .required,
body.jimly-has-chrome abbr.required {
  color: var(--jimly-cl);
  text-decoration: none;
}

body.jimly-has-chrome input[type="checkbox"] {
  width: auto;
  min-height: 0;
  accent-color: var(--jimly-cl);
}

body.jimly-register .b2bkingcustom_registration_container,
body.jimly-register .b2bking_custom_registration_container,
body.jimly-register form.b2bking_registration_form,
body.jimly-register .b2bking_registration_container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1.15rem;
}

@media (max-width: 779px) {
  body.jimly-register .b2bking_registration_container .form-row-first,
  body.jimly-register .b2bking_registration_container .form-row-last,
  body.jimly-register form .form-row,
  body.jimly-register form .form-row-first,
  body.jimly-register form .form-row-last,
  body.jimly-register form .form-row-wide {
    width: 100% !important;
    max-width: 100%;
    float: none !important;
    clear: both;
    margin-left: 0;
    margin-right: 0;
  }

  body.jimly-register input,
  body.jimly-register select,
  body.jimly-register textarea,
  body.jimly-register button[type="submit"] {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (min-width: 780px) {
  body.jimly-register .b2bking_registration_container .form-row-first,
  body.jimly-register .b2bking_registration_container .form-row-last,
  body.jimly-register form .form-row-first,
  body.jimly-register form .form-row-last {
    width: calc(50% - 0.6rem);
    float: left;
  }

  body.jimly-register form .form-row-last {
    float: right;
  }

  body.jimly-register form .form-row-wide,
  body.jimly-register form .form-row-wide.address-field {
    width: 100%;
    float: none;
    clear: both;
  }
}

body.jimly-has-chrome .woocommerce-notices-wrapper,
body.jimly-has-chrome .woocommerce-message,
body.jimly-has-chrome .woocommerce-info,
body.jimly-has-chrome .woocommerce-error,
body.jimly-has-chrome .wc-block-components-notice-banner {
  border-radius: 12px;
  border: 1.5px solid var(--jimly-border);
  background: #fff;
  box-shadow: var(--jimly-sh-xs);
}

body.jimly-has-chrome .woocommerce-message {
  border-left: 4px solid var(--jimly-cl);
}

body.jimly-has-chrome .woocommerce-error,
body.jimly-has-chrome .woocommerce-error li {
  border-color: #f3d4d4;
}

body.jimly-has-chrome .woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-card);
  padding: 0.75rem;
}

body.jimly-has-chrome .woocommerce-MyAccount-content {
  background: #fff;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-card);
  padding: 1.35rem;
}

@media (max-width: 768px) {
  body.jimly-has-chrome .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto;
    gap: 0.4rem;
  }

  body.jimly-has-chrome .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  .jimly-product-copy__grid {
    grid-template-columns: 1fr;
  }

  .jimly-product-copy__card--spec li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  body.single-product.jimly-has-chrome .product_title {
    font-size: 1.4rem;
  }

  .jimly-auth__card {
    padding: 1.4rem 1.1rem 1.6rem;
  }

  .jimly-hero-cta .jimly-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  body.jimly-cart,
  body.jimly-checkout,
  body.jimly-login,
  body.jimly-register,
  body.jimly-account {
    overflow-x: clip;
  }

  body.jimly-has-chrome .wc-block-cart,
  body.jimly-has-chrome .wc-block-checkout {
    padding: 0.85rem;
  }
}

body.jimly-has-chrome .wc-block-cart,
body.jimly-has-chrome .wc-block-checkout {
  background: #fff;
  border: 1.5px solid var(--jimly-border);
  border-radius: var(--jimly-r-card);
  padding: 1.25rem;
}

body.jimly-has-chrome .wc-block-cart-item__remove-link {
  color: var(--jimly-ctm) !important;
}

@media (max-width: 781px) {
  body.jimly-has-chrome .wc-block-cart,
  body.jimly-has-chrome .is-large.wc-block-cart {
    overflow-x: hidden;
  }

  .wc-block-cart-items__row {
    background: #fff;
    border: 1.5px solid var(--jimly-border);
    border-radius: 14px;
    padding: 0.85rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 1180px) and (min-width: 769px) {
  .jimly-header__nav-link {
    padding: 0.5rem 0.55rem;
    font-size: 0.8rem;
  }

  .jimly-header__actions .jimly-btn--sm {
    padding: 0.45rem 0.8rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 430px) {
  .jimly-header__inner,
  .jimly-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

body.jimly-checkout .wc-block-components-order-summary-item {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  width: 100% !important;
}

body.jimly-checkout .wc-block-components-order-summary-item__image {
  flex: 0 0 48px !important;
  width: 48px !important;
  max-width: 48px !important;
}

body.jimly-checkout .wc-block-components-order-summary-item__description,
body.jimly-checkout .wc-block-components-order-summary-item > *:not(.wc-block-components-order-summary-item__image) {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}

body.jimly-checkout .wc-block-components-order-summary-item > .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  flex: 0 0 0 !important;
}


/* ===== LENA public homepage (0.8.9) ===== */
body.lena-brand .jimly-btn {
  border-radius: var(--jimly-r-btn);
}
body.lena-brand .jimly-btn--primary {
  box-shadow: 0 6px 20px rgba(21, 94, 61, 0.25);
}
body.lena-brand .jimly-header {
  background: #fff;
  border-bottom: 1px solid var(--jimly-border);
}
body.lena-brand .lena-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 340px;
}
body.lena-brand .lena-header__claim {
  display: none;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--jimly-ctm);
  font-weight: 500;
  max-width: 160px;
}
@media (min-width: 1100px) {
  body.lena-brand .lena-header__claim { display: block; }
}
body.lena-brand .jimly-header__nav-link {
  font-weight: 600;
  color: var(--jimly-ct);
}
body.lena-brand .jimly-header__nav-link:hover {
  color: var(--jimly-cl);
}

.lena-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--jimly-ctm);
  text-transform: uppercase;
}
.lena-hero .elementor-heading-title {
  font-size: clamp(1.85rem, 3.2vw, 3rem) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}
.lena-usp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.lena-usp-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jimly-ct);
}
.lena-usp-row__icon {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--jimly-cl-light);
  box-shadow: inset 0 0 0 1.5px rgba(21, 94, 61, 0.18);
  position: relative;
  flex-shrink: 0;
}
.lena-usp-row__icon::before,
.lena-usp-row__icon::after {
  content: "";
  position: absolute;
  background: var(--jimly-cl);
}
.lena-usp-row__icon::after {
  inset: 0;
  margin: auto;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
}
.lena-usp-row__icon--leaf::after {
  width: 0.5rem;
  height: 0.68rem;
  border-radius: 0 70% 35% 70%;
  transform: rotate(-28deg);
}
.lena-usp-row__icon--heart::before,
.lena-usp-row__icon--heart::after {
  width: 0.42rem;
  height: 0.68rem;
  border-radius: 0.42rem 0.42rem 0 0;
  top: 0.28rem;
}
.lena-usp-row__icon--heart::before {
  left: 0.34rem;
  transform: rotate(-45deg);
  transform-origin: bottom center;
}
.lena-usp-row__icon--heart::after {
  right: 0.34rem;
  left: auto;
  margin: 0;
  width: 0.42rem;
  height: 0.68rem;
  border-radius: 0.42rem 0.42rem 0 0;
  transform: rotate(45deg);
  transform-origin: bottom center;
  inset: auto;
}
.lena-usp-row__icon--people::before {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  top: 0.28rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  box-shadow: -0.28rem 0.08rem 0 -0.03rem var(--jimly-cl), 0.28rem 0.08rem 0 -0.03rem var(--jimly-cl);
}
.lena-usp-row__icon--people::after {
  width: 0.72rem;
  height: 0.34rem;
  border-radius: 0.34rem 0.34rem 0.2rem 0.2rem;
  bottom: 0.28rem;
  top: auto;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.lena-doodle {
  font-family: "Segoe Print", "Comic Sans MS", cursive, Inter, sans-serif;
  color: var(--jimly-cl);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1rem 0 0;
  transform: rotate(-2deg);
}
.lena-doodle--hero {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: rgba(255,255,255,0.94);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  z-index: 2;
  box-shadow: var(--jimly-sh-sm);
}
.lena-hero__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  background: var(--jimly-cl);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 10px 28px rgba(21, 94, 61, 0.35);
  transform: rotate(-8deg);
}
.lena-hero__badge span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.5rem;
  max-width: 5.4rem;
}
.lena-hero__photo .elementor-widget-image {
  margin: 0;
}
.lena-doodle--light { color: #fff; opacity: 0.95; }
.lena-hero__photo { position: relative; }
.lena-hero__photo img,
.jimly-hero-photo img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--jimly-sh-md);
}

.lena-about-usps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.lena-about-usps li {
  background: #fff;
  border: 1px solid var(--jimly-border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  box-shadow: var(--jimly-sh-xs);
}
.lena-about-usps strong {
  display: block;
  color: var(--jimly-cl);
  margin-bottom: 0.25rem;
}
.lena-about-usps span {
  color: var(--jimly-ctm);
  font-size: 0.95rem;
}

.lena-series__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}
.lena-series__card {
  background: #f3f4f6;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transition: transform var(--jimly-ease), box-shadow var(--jimly-ease), border-color var(--jimly-ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.lena-series__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(21, 94, 61, 0.12);
  border-color: rgba(21, 94, 61, 0.18);
}
.lena-series__media {
  aspect-ratio: 1;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  flex: 1;
}
.lena-series__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.85rem 0.85rem 0.35rem;
  transition: transform var(--jimly-ease);
}
.lena-series__card:hover .lena-series__media img {
  transform: scale(1.04);
}
.lena-series__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem 0.85rem;
  background: #fff;
  min-height: 3rem;
}
.lena-series__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--jimly-ct);
  line-height: 1.25;
}
.lena-series__arrow {
  color: var(--jimly-ct);
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
  line-height: 1;
}
.lena-series__desc { display: none; }

.lena-b2b-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.lena-b2b-card {
  background: #fff;
  border: 1px solid var(--jimly-border);
  border-radius: 12px;
  padding: 1.25rem 1.15rem;
  box-shadow: 0 6px 18px rgba(18, 32, 24, 0.05);
}
.lena-b2b-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--jimly-cl);
}
.lena-b2b-card p {
  margin: 0;
  color: var(--jimly-ctm);
  font-size: 0.92rem;
}

.lena-featured__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.lena-featured__heading {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
}
.lena-featured__more {
  font-weight: 700;
  color: var(--jimly-cl);
  text-decoration: none;
}
.lena-featured__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem;
}
@media (min-width: 900px) {
  body.lena-brand .lena-featured__grid,
  .lena-section-featured .lena-featured__grid,
  .lena-featured__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
.lena-featured__card {
  background: #fff;
  border: 1px solid var(--jimly-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 32, 24, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform var(--jimly-ease), box-shadow var(--jimly-ease);
}
.lena-featured__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(21, 94, 61, 0.12);
}
.lena-featured__media {
  display: block;
  aspect-ratio: 1;
  background: linear-gradient(180deg, #fbfcfb 0%, #f3f7f5 100%);
}
.lena-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.9rem;
}
.lena-featured__body {
  padding: 1rem 1.05rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.lena-featured__title {
  margin: 0;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3;
  overflow: hidden !important;
  min-height: calc(0.95rem * 1.45 * 3) !important;
  max-height: calc(0.95rem * 1.45 * 3) !important;
  height: calc(0.95rem * 1.45 * 3) !important;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: none;
  white-space: normal;
}
.lena-featured__title a {
  color: inherit;
  text-decoration: none;
}
.lena-featured__desc {
  margin: 0;
  color: var(--jimly-ctm);
  font-size: 0.86rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lena-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.78rem;
  color: var(--jimly-ctm);
}
.lena-featured__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #F3F7F5;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-weight: 600;
}
.lena-featured__cta {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

.lena-why-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--jimly-border);
  border-radius: 8px;
  padding: 1.4rem 1rem !important;
  box-shadow: var(--jimly-sh-xs);
}
.lena-why-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 0.85rem;
  border: 2px solid var(--jimly-cl);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--jimly-cl) 0 6px, transparent 7px);
}



/* Related / upsells: max 4 columns like catalog (avoid cramped columns-5) */
body.jimly-has-chrome .related ul.products,
body.jimly-has-chrome .upsells ul.products,
body.jimly-has-chrome .cross-sells ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
@media (max-width: 1024px) {
  body.jimly-has-chrome .related ul.products,
  body.jimly-has-chrome .upsells ul.products,
  body.jimly-has-chrome .cross-sells ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 768px) {
  body.jimly-has-chrome .related ul.products,
  body.jimly-has-chrome .upsells ul.products,
  body.jimly-has-chrome .cross-sells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* LENA why section: force 4 equal columns (mockup 1:1), no wrap orphan card */
body.jimly-has-chrome #dlaczego-lena .e-con.e-flex:has(> .lena-why-card),
body.jimly-has-chrome .lena-why .e-con.e-flex:has(> .lena-why-card) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  align-items: stretch !important;
  width: 100% !important;
}
body.jimly-has-chrome #dlaczego-lena .lena-why-card,
body.jimly-has-chrome .lena-why .lena-why-card {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  text-align: left;
  padding: 1.5rem 1.25rem !important;
}
body.jimly-has-chrome #dlaczego-lena .lena-why-card::before,
body.jimly-has-chrome .lena-why .lena-why-card::before {
  margin-left: 0;
  margin-right: auto;
}
@media (max-width: 1024px) {
  body.jimly-has-chrome #dlaczego-lena .e-con.e-flex:has(> .lena-why-card),
  body.jimly-has-chrome .lena-why .e-con.e-flex:has(> .lena-why-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  body.jimly-has-chrome #dlaczego-lena .e-con.e-flex:has(> .lena-why-card),
  body.jimly-has-chrome .lena-why .e-con.e-flex:has(> .lena-why-card) {
    grid-template-columns: 1fr !important;
  }
}

.lena-cta-banner__photo img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.lena-contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.lena-contact__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
}
.lena-contact__lead {
  color: var(--jimly-ctm);
  line-height: 1.55;
}
.lena-contact__form {
  display: grid;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--jimly-border);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: var(--jimly-sh-sm);
}
.lena-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.lena-contact__field {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.88rem;
}
.lena-contact__field input,
.lena-contact__field textarea {
  width: 100%;
  border: 1px solid var(--jimly-border);
  border-radius: 8px;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-weight: 500;
  color: var(--jimly-ct);
  background: #fff;
}
.lena-contact__field textarea { min-height: 120px; resize: vertical; }
.lena-contact__field input:focus,
.lena-contact__field textarea:focus {
  outline: 2px solid var(--jimly-cl-light);
  border-color: var(--jimly-cl);
}
.lena-contact__check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--jimly-ctm);
  font-weight: 500;
}
.lena-contact__check input { margin-top: 0.2rem; accent-color: var(--jimly-cl); }
.lena-contact__submit { justify-self: start; }
.lena-contact__notice {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.lena-contact__notice--ok { background: #E8F2EC; color: #0F4A30; }
.lena-contact__notice--err { background: #fde8e8; color: #8a1f1f; }

body.lena-brand .jimly-footer,
body.lena-brand .lena-footer {
  background: var(--lena-footer) !important;
  color: rgba(255,255,255,0.88);
}
body.lena-brand .jimly-footer a { color: #fff; }
body.lena-brand .jimly-footer__heading { color: #fff; }
body.lena-brand .jimly-footer__logo-plate {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
}
body.lena-brand .lena-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
  margin-top: 1.5rem;
}
body.lena-brand .lena-footer__legal a { opacity: 0.85; }

@media (max-width: 1100px) {
  .lena-series__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .lena-b2b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lena-featured__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lena-contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .lena-series__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lena-series__grid,
  .lena-b2b-grid,
  .lena-featured__grid,
  .lena-contact__row { grid-template-columns: 1fr; }
  .lena-doodle--hero { position: static; margin-top: 0.75rem; }
  .lena-hero__badge {
    position: static;
    width: auto;
    height: auto;
    border-radius: 999px;
    transform: none;
    margin-top: 0.75rem;
    padding: 0.45rem 0.85rem;
    justify-self: start;
  }
  .lena-hero__badge span {
    max-width: none;
    font-size: 0.75rem;
    padding: 0;
  }
}



/* Kill Woo clearfix pseudos that become ghost grid items */
body.jimly-has-chrome ul.products::before,
body.jimly-has-chrome ul.products::after,
body.jimly-has-chrome .woocommerce ul.products::before,
body.jimly-has-chrome .woocommerce ul.products::after,
body.jimly-has-chrome .related ul.products::before,
body.jimly-has-chrome .related ul.products::after,
body.jimly-has-chrome .upsells ul.products::before,
body.jimly-has-chrome .upsells ul.products::after {
  content: none !important;
  display: none !important;
  clear: none !important;
}

/* ===== Product card system reinforcement (0.8.1b) ===== */
body.jimly-has-chrome ul.products.columns-2,
body.jimly-has-chrome ul.products.columns-3,
body.jimly-has-chrome ul.products.columns-4,
body.jimly-has-chrome ul.products.columns-5,
body.jimly-has-chrome ul.products.columns-6 {
  display: grid !important;
}
body.jimly-has-chrome .related ul.products li.product,
body.jimly-has-chrome .upsells ul.products li.product,
body.jimly-has-chrome .cross-sells ul.products li.product {
  display: flex !important;
  flex-direction: column;
  height: auto;
  min-height: 100%;
}
@media (max-width: 767px) {
  body.jimly-has-chrome .related ul.products,
  body.jimly-has-chrome ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 479px) {
  body.jimly-has-chrome .related ul.products,
  body.jimly-has-chrome ul.products {
    grid-template-columns: 1fr !important;
  }
}


/* ===== LENA homepage mockup polish (0.8.12) ===== */
body.lena-home,
body.lena-brand.lena-home {
  background: #FDFBF7;
}
body.lena-brand .lena-header__claim {
  font-size: 0.7rem;
  line-height: 1.3;
  color: #2D5A3C;
  max-width: 150px;
}
body.lena-brand .lena-header__cta {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  min-height: 44px;
  border-radius: 10px;
  white-space: nowrap;
}
body.lena-brand .lena-header__panel {
  opacity: 0.92;
}
@media (max-width: 1180px) and (min-width: 769px) {
  body.lena-brand .lena-header__panel { display: none; }
}
.lena-hero {
  background: transparent;
}
.lena-hero .lena-hero__copy {
  flex: 0 1 42% !important;
  max-width: 42% !important;
  width: 42% !important;
}
.lena-hero .lena-hero__photo,
.lena-hero .jimly-hero-photo {
  flex: 1 1 58% !important;
  max-width: 58% !important;
  width: 58% !important;
  position: relative;
}
@media (max-width: 1024px) {
  .lena-hero .lena-hero__copy,
  .lena-hero .lena-hero__photo,
  .lena-hero .jimly-hero-photo {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}
.lena-hero__photo img,
.jimly-hero-photo img {
  border-radius: 18px;
  min-height: clamp(320px, 42vw, 520px);
  object-fit: cover;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
}
.lena-usp-row {
  flex-wrap: nowrap;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  align-items: center;
}
.lena-usp-row li {
  font-size: 0.88rem;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .lena-usp-row { flex-wrap: wrap; }
  .lena-usp-row li { white-space: normal; }
}
.lena-doodle--hero {
  right: 1.25rem;
  top: 1.1rem;
  left: auto;
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: #122018;
  font-size: 1.15rem;
  transform: rotate(-4deg);
}
.lena-hero__badge {
  left: auto;
  right: 0.75rem;
  bottom: 1.25rem;
  width: 7.25rem;
  height: 7.25rem;
  background: #2D5A3C;
  transform: rotate(0deg);
  border-radius: 50%;
  /* soft scalloped feel via outline ring */
  box-shadow:
    0 0 0 4px #2D5A3C,
    0 0 0 7px rgba(45, 90, 60, 0.35),
    0 12px 28px rgba(21, 94, 61, 0.3);
}
.lena-hero__badge span {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  max-width: 5.8rem;
  line-height: 1.25;
}
.lena-section-series .elementor-heading-title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem) !important;
  font-weight: 800 !important;
}
