:root {
  --elmo-navy: #2F2C4B;
  --elmo-cyan: #29B8CE;
  --elmo-lilac: #D0A9CF;
  --elmo-bg: #FCFBFD;
  --elmo-ink: #302E46;
  --elmo-muted: #736E82;
  --elmo-line: rgba(47, 44, 75, .14);
  --elmo-max: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--elmo-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.elmo-container {
  width: min(var(--elmo-max), calc(100% - 80px));
  margin: auto;
}

.elmo-content-narrow {
  max-width: 900px;
}

.elmo-section {
  padding: 135px 0;
}

.elmo-skip {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 999;
  background: #fff;
  padding: 10px;
}

.elmo-skip:focus {
  top: 15px;
}

.elmo-topline {
  height: 34px;
  background: var(--elmo-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.elmo-scroll-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--elmo-cyan);
}

.elmo-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: color-mix(in srgb, var(--elmo-header-bg) 94%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-nav {
  min-height: var(--elmo-header-h);
  display: flex;
  align-items: center;
  gap: 42px;
}

.elmo-logo img {
  width: var(--elmo-logo-w);
  max-height: 58px;
}

.elmo-menu {
  margin: auto;
  display: flex;
  align-items: center;
  gap: 27px;
}

.elmo-menu>a, .elmo-menu .menu-item>a {
  font-size: 12px;
  font-weight: 800;
}

.elmo-menu ul {
  display: contents;
}

.elmo-nav-actions {
  margin-left: auto;
  display: flex;
  gap: 9px;
}

.elmo-icon-btn {
  width: 43px;
  height: 43px;
  border: 1px solid var(--elmo-line);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  position: relative;
}

.elmo-icon-btn img {
  width: 20px;
  height: 20px;
}

.elmo-cart-count {
  position: absolute;
  right: -4px;
  top: -5px;
  background: var(--elmo-cyan);
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  font-size: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.elmo-menu-toggle {
  display: none;
}

.elmo-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--elmo-navy);
  margin: 2px;
}

.elmo-search-panel {
  background: #fff;
  border-top: 1px solid var(--elmo-line);
  padding: 18px 0;
}

.elmo-search-panel form {
  display: flex;
  gap: 12px;
}

.elmo-search-panel input {
  flex: 1;
  border: 1px solid var(--elmo-line);
  border-radius: 99px;
  padding: 14px 20px;
}

.elmo-button {
  border: 0;
  background: var(--elmo-navy);
  color: #fff;
  border-radius: 999px;
  min-height: 52px;
  padding: 13px 25px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .25s;
}

.elmo-button:hover {
  transform: translateY(-2px);
  background: #1f1d35;
}

.elmo-button.is-white {
  background: #fff;
  color: var(--elmo-navy);
}

.elmo-button.is-outline {
  background: transparent;
  color: var(--elmo-navy);
  border: 1px solid var(--elmo-line);
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(48px, 6vw, 92px);
}

h2 {
  font-size: clamp(34px, 4vw, 58px);
}

p {
  line-height: 1.75;
}

.elmo-hero {
  min-height: 710px;
  position: relative;
  color: #fff;
  overflow: hidden;
}

.elmo-hero picture, .elmo-hero picture img, .elmo-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.elmo-hero picture img {
  object-fit: cover;
}

.elmo-hero-shade {
  background: linear-gradient(90deg, rgba(31, 29, 53, .58), rgba(31, 29, 53, .15) 38%, transparent 60%);
}

.elmo-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 710px;
  display: flex;
  align-items: center;
}

.elmo-hero-copy {
  max-width: 610px;
  padding: 34px 36px;
  border-radius: 30px;
  background: rgba(37, 34, 61, .25);
  backdrop-filter: blur(8px);
}

.elmo-hero-copy small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.elmo-hero-copy h1 {
  margin: 18px 0 22px;
}

.elmo-hero-copy p {
  max-width: 500px;
}

.elmo-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
}

.elmo-section-head.is-center {
  text-align: center;
  display: block;
}

.elmo-home-products {
  background: var(--elmo-bg);
}

.elmo-home-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.elmo-product-card {
  background: #fff;
  border: 2px solid #e9e7ee;
  border-radius: 25px;
  padding: 38px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 28px;
  align-items: center;
  min-width: 0;
}

.elmo-product-media {
  display: grid;
  place-items: center;
}

.elmo-product-media img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  transition: .4s;
}

.elmo-product-card:hover .elmo-product-media img {
  transform: translateY(-6px) scale(1.02);
}

.elmo-product-body h3 {
  font-size: 27px;
  margin: 0 0 12px;
}

.elmo-product-short {
  font-size: 14px;
  color: var(--elmo-muted);
}

.elmo-product-short p {
  margin: 0 0 24px;
}

.elmo-bundle-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.elmo-bundle-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.elmo-bundle {
  border: 1px solid #ddd9e5;
  background: #fff;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 800;
  color: var(--elmo-navy);
}

.elmo-bundle.active {
  background: var(--elmo-navy);
  color: #fff;
}

.elmo-product-buy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--elmo-line);
}

.elmo-product-buy small, .elmo-product-buy strong {
  display: block;
}

.elmo-product-buy strong {
  font-size: 24px;
}

.elmo-plan-link {
  margin-top: 18px;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--elmo-navy);
}

.elmo-center {
  text-align: center;
  margin-top: 46px;
}

.elmo-benefit-hero {
  position: relative;
  padding: 140px 0;
  color: #fff;
  overflow: hidden;
}

.elmo-benefit-hero>img, .elmo-benefit-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.elmo-benefit-shade {
  background: linear-gradient(100deg, rgba(34, 31, 55, .92), rgba(34, 31, 55, .38));
}

.elmo-benefit-hero .elmo-container {
  position: relative;
  z-index: 2;
}

.elmo-benefit-hero h2 {
  max-width: 700px;
}

.elmo-benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 55px;
}

.elmo-benefit-cards article {
  background: rgba(255, 255, 255, .91);
  color: var(--elmo-navy);
  border-radius: 20px;
  padding: 30px;
}

.elmo-benefit-cards small {
  color: #168fa1;
  font-weight: 800;
}

.elmo-benefit-cards h3 {
  font-size: 25px;
}

.elmo-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.elmo-type-card {
  background: #eaf8fa;
  border-radius: 32px;
  padding: 38px;
  min-height: 570px;
  display: flex;
  flex-direction: column;
}

.elmo-type-card.is-lilac {
  background: #f3e8f2;
}

.elmo-type-card img {
  height: 330px;
  object-fit: contain;
  margin-bottom: auto;
}

.elmo-type-card small {
  font-weight: 800;
  color: var(--elmo-muted);
}

.elmo-type-card h3 {
  font-size: 40px;
  margin: 12px 0;
}

.elmo-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9%;
  align-items: center;
}

.elmo-about figure, .elmo-help figure {
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
}

.elmo-about figure img, .elmo-help figure img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.elmo-specs {
  position: relative;
  color: #fff;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.elmo-specs picture, .elmo-specs picture img, .elmo-specs-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.elmo-specs picture img {
  object-fit: cover;
}

.elmo-specs-shade {
  background: linear-gradient(90deg, rgba(35, 32, 58, .88), rgba(35, 32, 58, .62), rgba(35, 32, 58, .24));
}

.elmo-specs-inner {
  position: relative;
  z-index: 2;
}

.elmo-specs h2 {
  max-width: 600px;
}

.elmo-spec-table {
  max-width: 780px;
  border-top: 1px solid rgba(255, 255, 255, .6);
}

.elmo-spec-table>div {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 17px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
}

.elmo-spec-table strong {
  text-align: right;
}

.elmo-spec-table.is-light {
  color: var(--elmo-navy);
  border-color: var(--elmo-line);
}

.elmo-spec-table.is-light>div {
  border-color: var(--elmo-line);
}

.elmo-plan {
  background: #eef9fa;
}

.elmo-plan-box {
  background: #fff;
  border-radius: 28px;
  padding: 35px;
  display: grid;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(45, 41, 77, .08);
}

.elmo-plan-box label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 12px;
}

.elmo-plan-box select, .elmo-contact-form input, .elmo-contact-form select, .elmo-contact-form textarea, .elmo-contact-mini select {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--elmo-line);
  border-radius: 12px;
  background: #fff;
}

.elmo-discounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--elmo-line);
  border-bottom: 1px solid var(--elmo-line);
  margin-top: 30px;
}

.elmo-discounts>div {
  padding: 20px;
}

.elmo-discounts>div+div {
  border-left: 1px solid var(--elmo-line);
}

.elmo-discounts strong {
  font-size: 36px;
  display: block;
}

.elmo-plan-total {
  padding: 18px 0;
}

.elmo-plan-total strong {
  display: block;
  font-size: 28px;
}

.elmo-help {
  background: #faf6fb;
}

.elmo-help-list>div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-partner-card {
  background: #a6e5ed;
  border-radius: 32px;
  padding: 70px;
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 8%;
}

.elmo-contact-mini {
  display: grid;
  gap: 20px;
  background: #fff;
  padding: 28px;
  border-radius: 22px;
}

.elmo-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.elmo-review-grid article {
  border: 1px solid var(--elmo-line);
  border-radius: 22px;
  padding: 30px;
  min-height: 270px;
}

.elmo-review-grid .stars {
  color: #1598ab;
}

.elmo-review-grid blockquote {
  margin: 22px 0 35px;
  font-weight: 600;
}

.elmo-review-grid span {
  display: block;
  color: var(--elmo-muted);
  font-size: 12px;
}

.elmo-accordion {
  border-top: 1px solid var(--elmo-line);
}

.elmo-accordion details {
  border-bottom: 1px solid var(--elmo-line);
  padding: 20px 0;
}

.elmo-accordion summary {
  font-weight: 800;
  cursor: pointer;
}

.elmo-footer {
  background: var(--elmo-footer-bg);
  color: #fff;
  padding: 80px 0 25px;
}

.elmo-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr 1fr;
  gap: 50px;
}

.elmo-footer-logo {
  width: 170px;
}

.elmo-footer h3 {
  font-size: 12px;
  color: #8fe0e9;
}

.elmo-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.elmo-footer li {
  margin: 8px 0;
}

.elmo-footer p, .elmo-footer a {
  color: #d7d3e2;
  font-size: 13px;
}

.elmo-social {
  display: flex;
  gap: 10px;
}

.elmo-social img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.elmo-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 55px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  color: #aaa4bb;
  font-size: 11px;
}

.elmo-sidecart {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}

.elmo-sidecart.is-open {
  pointer-events: auto;
}

.elmo-sidecart-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 18, 34, .5);
  opacity: 0;
  transition: .3s;
}

.elmo-sidecart-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(470px, 92vw);
  background: #fff;
  padding: 32px;
  transform: translateX(-101%);
  transition: .35s cubic-bezier(.22, 1, .36, 1);
  overflow: auto;
}

.elmo-sidecart.is-open .elmo-sidecart-backdrop {
  opacity: 1;
}

.elmo-sidecart.is-open .elmo-sidecart-panel {
  transform: none;
}

.elmo-sidecart-panel header {
  display: flex;
  justify-content: space-between;
}

.elmo-sidecart-panel h2 {
  font-size: 34px;
}

.elmo-sidecart-close {
  border: 0;
  background: none;
  font-size: 32px;
}

.elmo-mini-items article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-mini-items img {
  width: 80px;
  height: 90px;
  object-fit: contain;
}

.elmo-mini-items h3 {
  font-size: 14px;
  margin: 0;
}

.elmo-mini-remove {
  border: 0;
  background: none;
  padding: 0;
  text-decoration: underline;
  font-size: 11px;
}

.elmo-mini-total {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
}

.elmo-mini-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.elmo-shop-page, .elmo-single-product {
  padding: 45px 0 120px;
}

.elmo-breadcrumbs {
  font-size: 12px;
  color: var(--elmo-muted);
  margin-bottom: 35px;
}

.elmo-breadcrumbs span {
  margin: 0 8px;
}

.elmo-shop-header {
  max-width: 760px;
  margin-bottom: 35px;
}

.elmo-shop-header h1 {
  font-size: 56px;
}

.elmo-cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 55px;
}

.elmo-cat-filters a {
  padding: 10px 16px;
  border: 1px solid var(--elmo-line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.elmo-cat-filters a.active {
  background: var(--elmo-navy);
  color: #fff;
}

.elmo-shop-group {
  padding: 40px 0 65px;
  border-top: 1px solid var(--elmo-line);
}

.elmo-shop-group-head h2 {
  font-size: 34px;
}

.elmo-product-loop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.elmo-product-loop .elmo-product-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.elmo-product-loop .elmo-product-media img {
  height: 300px;
}

.elmo-loop-bottom {
  margin-top: auto;
  display: grid;
  gap: 16px;
}

.elmo-loop-bottom>span {
  font-size: 13px;
}

.elmo-product-hero {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 7%;
  align-items: start;
}

.elmo-gallery-main {
  background: var(--elmo-bg);
  border-radius: 28px;
  padding: 30px;
}

.elmo-gallery-main img {
  width: 100%;
  height: 620px;
  object-fit: contain;
}

.elmo-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.elmo-gallery-thumbs button {
  width: 90px;
  height: 90px;
  border: 1px solid var(--elmo-line);
  background: #fff;
  border-radius: 14px;
  padding: 7px;
}

.elmo-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.elmo-product-summary {
  position: sticky;
  top: 130px;
}

.elmo-product-summary h1 {
  font-size: 48px;
}

.elmo-product-intro {
  color: var(--elmo-muted);
}

.elmo-product-description {
  padding-bottom: 70px;
}

.elmo-product-specs {
  background: var(--elmo-bg);
  padding: 70px;
  border-radius: 32px;
}

.elmo-story-sections {
  padding: 90px 0;
}

.elmo-story-sections article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
  margin: 70px 0;
}

.elmo-story-sections article.reverse figure {
  order: 2;
}

.elmo-story-sections figure {
  margin: 0;
}

.elmo-story-sections img {
  border-radius: 28px;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.elmo-cart-page, .elmo-checkout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 7%;
  width: min(var(--elmo-max), calc(100% - 80px));
  margin: 70px auto 120px;
}

.elmo-cart-list article {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-cart-image img {
  width: 100px;
  height: 110px;
  object-fit: contain;
}

.elmo-cart-info h2 {
  font-size: 18px;
}

.elmo-order-summary, .elmo-checkout-order {
  background: var(--elmo-bg);
  padding: 30px;
  border-radius: 24px;
  align-self: start;
  position: sticky;
  top: 120px;
}

.elmo-checkout-fields #customer_details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  padding: 13px;
  border: 1px solid var(--elmo-line);
  border-radius: 12px;
  background: #fff;
}

.woocommerce-checkout-payment {
  background: #fff !important;
}

.elmo-account-welcome {
  padding: 20px;
}

.elmo-account-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.elmo-account-cards a {
  border: 1px solid var(--elmo-line);
  border-radius: 18px;
  padding: 22px;
}

.elmo-account-cards span {
  display: block;
  color: var(--elmo-muted);
  font-size: 12px;
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 50px;
  width: min(var(--elmo-max), calc(100% - 80px));
  margin: 70px auto 120px;
}

.elmo-account-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--elmo-line);
  border-radius: 20px;
  overflow: hidden;
}

.elmo-account-nav a {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-account-nav .is-active a {
  background: var(--elmo-navy);
  color: #fff;
}

.elmo-contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 10%;
}

.elmo-contact-grid dl {
  display: grid;
  grid-template-columns: 100px 1fr;
}

.elmo-contact-form {
  display: grid;
  gap: 14px;
  background: var(--elmo-bg);
  padding: 35px;
  border-radius: 25px;
}

.elmo-contact-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: .8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width:1050px) {
  .elmo-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--elmo-line);
    border-radius: 0 0 20px 20px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .elmo-menu.is-open {
    display: flex;
  }
  .elmo-menu-toggle {
    display: grid;
  }
  .elmo-home-product-grid, .elmo-product-hero {
    grid-template-columns: 1fr;
  }
  .elmo-product-summary {
    position: static;
  }
  .elmo-product-loop {
    grid-template-columns: repeat(2, 1fr);
  }
  .elmo-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .elmo-two-col {
    gap: 5%;
  }
}

@media (max-width:700px) {
  .elmo-container {
    width: calc(100% - 30px);
  }
  .elmo-topline {
    height: 29px;
    font-size: 8px;
  }
  .elmo-nav {
    min-height: 68px;
    gap: 10px;
  }
  .elmo-logo img {
    width: 115px;
  }
  .elmo-icon-btn {
    width: 37px;
    height: 37px;
  }
  .elmo-icon-btn img {
    width: 18px;
    height: 18px;
  }
  .elmo-nav-actions {
    gap: 5px;
  }
  .elmo-section {
    padding: 85px 0;
  }
  .elmo-hero, .elmo-hero-inner {
    min-height: 720px;
  }
  .elmo-hero picture img {
    object-position: center;
  }
  .elmo-hero-shade {
    background: linear-gradient(180deg, rgba(31, 29, 53, .35), rgba(31, 29, 53, .08) 50%, transparent);
  }
  .elmo-hero-inner {
    align-items: flex-start;
    padding-top: 72px;
  }
  .elmo-hero-copy {
    max-width: 320px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(37, 34, 61, .17);
  }
  h1 {
    font-size: 50px;
  }
  h2 {
    font-size: 36px;
  }
  .elmo-home-product-grid {
    gap: 20px;
  }
  .elmo-product-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .elmo-product-media {
    order: 0;
  }
  .elmo-product-media img {
    height: 420px;
  }
  .elmo-product-body {
    order: 1;
  }
  .elmo-product-buy {
    align-items: flex-start;
    flex-direction: column;
  }
  .elmo-product-buy .elmo-button {
    width: 100%;
  }
  .elmo-benefit-hero {
    padding: 90px 0;
  }
  .elmo-benefit-cards, .elmo-types-grid, .elmo-review-grid, .elmo-product-loop {
    grid-template-columns: 1fr;
  }
  .elmo-two-col {
    grid-template-columns: 1fr;
  }
  .elmo-about figure img, .elmo-help figure img {
    height: 450px;
  }
  .elmo-specs {
    min-height: 760px;
  }
  .elmo-specs-shade {
    background: linear-gradient(180deg, rgba(35, 32, 58, .77), rgba(35, 32, 58, .45));
  }
  .elmo-partner-card {
    grid-template-columns: 1fr;
    padding: 35px 22px;
  }
  .elmo-footer-grid {
    grid-template-columns: 1fr;
  }
  .elmo-product-hero {
    gap: 35px;
  }
  .elmo-gallery-main img {
    height: 430px;
  }
  .elmo-story-sections article, .elmo-story-sections article.reverse {
    grid-template-columns: 1fr;
  }
  .elmo-story-sections article.reverse figure {
    order: 0;
  }
  .elmo-cart-page, .elmo-checkout {
    grid-template-columns: 1fr;
    width: calc(100% - 30px);
    margin-top: 35px;
  }
  .elmo-order-summary, .elmo-checkout-order {
    position: static;
  }
  .elmo-checkout-fields #customer_details {
    grid-template-columns: 1fr;
  }
  .woocommerce-account .woocommerce {
    display: block;
    width: calc(100% - 30px);
    margin-top: 35px;
  }
  .elmo-account-nav {
    margin-bottom: 25px;
  }
  .elmo-account-cards {
    grid-template-columns: 1fr;
  }
  .elmo-contact-grid {
    grid-template-columns: 1fr;
  }
  .elmo-social img {
    width: 15px;
    height: 15px;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* WooCommerce: pełne odcięcie wizualne od domyślnych styli */

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border: 1px solid var(--elmo-line);
  background: #fff;
  border-radius: 14px;
  padding: 15px 18px;
  margin: 0 0 22px;
  list-style: none;
}

.woocommerce-error {
  border-color: #e6b6b6;
}

.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before {
  display: none;
}

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
}

.woocommerce table.shop_table th, .woocommerce table.shop_table td {
  border-bottom: 1px solid var(--elmo-line);
  padding: 15px;
  text-align: left;
}

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  background: var(--elmo-navy) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 13px 20px !important;
  font-weight: 800 !important;
}

.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: #1f1d35 !important;
}

.woocommerce .quantity .qty {
  width: 72px;
  padding: 10px;
  border: 1px solid var(--elmo-line);
  border-radius: 10px;
}

.woocommerce-checkout .select2-container .select2-selection--single {
  height: 48px;
  border: 1px solid var(--elmo-line);
  border-radius: 12px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
}

.woocommerce-account .woocommerce-MyAccount-content {
  min-width: 0;
}

.woocommerce-account .woocommerce-MyAccount-content h1, .woocommerce-account .woocommerce-MyAccount-content h2 {
  font-size: 32px;
}

.elmo-auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  width: min(1080px, calc(100% - 40px));
  margin: 70px auto 120px;
}

.elmo-auth-card {
  border: 1px solid var(--elmo-line);
  border-radius: 26px;
  padding: 40px;
}

.elmo-auth-card.is-alt {
  background: var(--elmo-bg);
}

.elmo-auth-card h1, .elmo-auth-card h2 {
  font-size: 38px;
}

.elmo-auth-card form {
  display: grid;
  gap: 14px;
}

.elmo-auth-card label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.elmo-auth-card input[type=text], .elmo-auth-card input[type=email], .elmo-auth-card input[type=password] {
  padding: 13px;
  border: 1px solid var(--elmo-line);
  border-radius: 12px;
}

.elmo-auth-card .elmo-check {
  display: flex;
  align-items: center;
}

.elmo-text-link {
  text-decoration: underline;
  font-size: 12px;
  font-weight: 700;
}

.woocommerce-MyAccount-orders td, .woocommerce-orders-table td {
  vertical-align: middle;
}

.woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.woocommerce-Address {
  border: 1px solid var(--elmo-line);
  border-radius: 18px;
  padding: 20px;
}

.woocommerce form .form-row {
  margin: 0 0 14px;
}

.woocommerce form .form-row label {
  font-size: 12px;
  font-weight: 700;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
  border: 0;
  padding: 0;
  margin: 0;
}

.woocommerce-checkout-review-order-table {
  margin-bottom: 25px !important;
}

.woocommerce-checkout-payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-checkout-payment li {
  padding: 12px 0;
  border-bottom: 1px solid var(--elmo-line);
}

.woocommerce-checkout-payment .payment_box {
  background: var(--elmo-bg);
  padding: 12px;
  border-radius: 10px;
  margin-top: 8px;
}

.woocommerce-checkout #place_order {
  width: 100%;
  margin-top: 18px;
}

.woocommerce-cart .cart_totals h2 {
  font-size: 26px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  text-align: center;
  margin-top: 18px;
}

.woocommerce-cart .coupon {
  display: flex;
  gap: 8px;
}

.woocommerce-cart .coupon input {
  padding: 12px;
  border: 1px solid var(--elmo-line);
  border-radius: 999px;
  min-width: 0;
}

.elmo-account-section h1 {
  font-size: 40px;
}

@media (max-width:700px) {
  .elmo-auth-wrap {
    grid-template-columns: 1fr;
  }
  .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
  .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
    text-align: left !important;
  }
  .woocommerce table.shop_table_responsive tr td::before {
    float: none;
    display: block;
    color: var(--elmo-muted);
    font-size: 10px;
  }
  .elmo-auth-card {
    padding: 25px;
  }
}

/* 1.1.0 — porządki WordPress + archiwum sklepu */

.elmo-menu .menu-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.elmo-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.elmo-footer .menu-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.elmo-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.elmo-shop-header {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, .7fr);
  align-items: end;
  gap: clamp(40px, 8vw, 130px);
  margin: 34px 0 62px;
}

.elmo-shop-header h1 {
  margin: 0;
  font-size: 56px;
}

.elmo-shop-header p {
  margin: 0;
  color: var(--elmo-muted);
  max-width: 520px;
  justify-self: end;
  font-size: 15px;
  line-height: 1.75;
}

@media (max-width:700px) {
  .elmo-shop-header {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 24px 0 42px;
  }
  .elmo-shop-header h1 {
    font-size: 44px;
  }
  .elmo-shop-header p {
    justify-self: start;
    max-width: 100%;
  }
}

/* ===== ELMO 1.2.0 ===== */

/* Menu: wyłącznie hover. WordPressowe current-menu-* i JS active nie zmieniają wyglądu. */

.elmo-menu>a, .elmo-menu .menu-item>a {
  position: relative;
  padding: 16px 0;
  color: var(--elmo-navy);
  transition: color .2s ease;
}

.elmo-menu>a::after, .elmo-menu .menu-item>a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 7px;
  width: 100%;
  height: 2px;
  background: var(--elmo-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.elmo-menu>a:hover, .elmo-menu .menu-item>a:hover {
  color: #168c9f;
}

.elmo-menu>a:hover::after, .elmo-menu .menu-item>a:hover::after {
  transform: scaleX(1);
}

.elmo-menu .current-menu-item>a, .elmo-menu .current_page_item>a, .elmo-menu a.active {
  color: var(--elmo-navy) !important;
}

.elmo-menu .current-menu-item>a::after, .elmo-menu .current_page_item>a::after, .elmo-menu a.active::after {
  transform: scaleX(0) !important;
}

/* Nieco spokojniejsza skala nagłówków w całym serwisie. */

h2 {
  font-size: clamp(31px, 3.45vw, 52px);
}

/* Sklep: kompaktowy loop i mocne CTA. */

.elmo-product-loop .elmo-product-body h3 {
  font-size: 22px;
  line-height: 1.18;
  margin-bottom: 10px;
}

.elmo-product-loop .elmo-button, .elmo-product-loop .elmo-button.is-outline {
  background: var(--elmo-navy);
  border-color: var(--elmo-navy);
  color: #fff;
  min-height: 52px;
}

.elmo-product-loop .elmo-button:hover, .elmo-product-loop .elmo-button.is-outline:hover {
  background: #1f1d35;
  color: #fff;
}

/* Galeria i warianty: miękka zmiana zdjęcia. */

.elmo-product-media img, .product-image, .elmo-gallery-main img {
  transition: opacity .22s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}

.elmo-product-media img.is-switching, .product-image.is-switching, .elmo-gallery-main img.is-switching {
  opacity: .12;
  transform: scale(.985);
}

.elmo-gallery-thumbs button {
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.elmo-gallery-thumbs button:hover, .elmo-gallery-thumbs button.is-active {
  border-color: var(--elmo-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(47, 44, 75, .08);
}

/* Single product: jasne, przeplatające się pasma zgodne z językiem strony głównej. */

.elmo-product-band {
  border-radius: 32px;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: clamp(58px, 7vw, 92px) clamp(28px, 5vw, 72px);
}

.elmo-product-band.is-white {
  background: #fff;
  border: 1px solid rgba(47, 44, 75, .08);
}

.elmo-product-band.is-mist {
  background: #FCFBFD;
}

.elmo-product-band.is-aqua-soft {
  background: #F2FAFB;
}

.elmo-product-band.is-lilac-soft {
  background: #FAF5FA;
}

.elmo-product-description {
  padding-bottom: clamp(58px, 7vw, 92px);
}

.elmo-product-specs {
  padding: clamp(58px, 7vw, 82px);
  border-radius: 32px;
}

.elmo-story-sections {
  padding: clamp(36px, 5vw, 65px) clamp(24px, 4vw, 54px);
}

.elmo-story-sections article {
  margin: clamp(30px, 5vw, 60px) 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 26px;
  background: rgba(255, 255, 255, .72);
}

.elmo-story-sections article:nth-child(even) {
  background: rgba(255, 255, 255, .94);
}

.elmo-faq {
  padding: clamp(58px, 7vw, 90px) clamp(28px, 5vw, 72px);
}

/* Global motion styles także poza home. */

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .10em;
  margin-bottom: -.10em;
}

.word-reveal {
  display: inline-block;
  opacity: .02;
  transform: translate3d(0, 108%, 0);
  transition: transform .82s cubic-bezier(.22, 1, .36, 1), opacity .5s ease;
  transition-delay: calc(var(--word-index, 0) * 42ms + var(--text-delay, 0ms));
}

.text-visible .word-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal {
  transition-delay: var(--delay, 0ms);
}

.elmo-header {
  transition: box-shadow .28s ease, background-color .28s ease;
}

.elmo-header.scrolled {
  box-shadow: 0 10px 35px rgba(32, 28, 58, .08);
  background: rgba(255, 255, 255, .97);
}

@media (max-width:700px) {
  h2 {
    font-size: 34px;
  }
  .elmo-product-loop .elmo-product-body h3 {
    font-size: 20px;
  }
  .elmo-product-band {
    border-radius: 24px;
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 48px 20px;
  }
  .elmo-story-sections {
    padding: 28px 15px;
  }
  .elmo-story-sections article {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .word-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .elmo-product-media img, .product-image, .elmo-gallery-main img {
    transition: none !important;
  }
}

/* Hover ma działać również dla elementu oznaczonego przez WP jako current. */

.elmo-menu .current-menu-item>a:hover, .elmo-menu .current_page_item>a:hover, .elmo-menu .current-menu-parent>a:hover, .elmo-menu .current-menu-ancestor>a:hover {
  color: #168c9f !important;
}

.elmo-menu .current-menu-item>a:hover::after, .elmo-menu .current_page_item>a:hover::after, .elmo-menu .current-menu-parent>a:hover::after, .elmo-menu .current-menu-ancestor>a:hover::after {
  transform: scaleX(1) !important;
}

.elmo-menu .current-menu-parent>a, .elmo-menu .current-menu-ancestor>a {
  color: var(--elmo-navy) !important;
}

.elmo-menu .current-menu-parent>a::after, .elmo-menu .current-menu-ancestor>a::after {
  transform: scaleX(0) !important;
}

/* ===== ELMO 1.3.0 ===== */

/* Spokojniejsza typografia nagłówków H2 w całym serwisie. */

h2 {
  font-size: clamp(28px, 2.7vw, 46px);
}

.elmo-product-description h2, .elmo-product-specs h2, .elmo-story-sections h2, .elmo-faq h2, .elmo-checkout-order h2, .elmo-order-summary h2 {
  font-size: clamp(28px, 2.7vw, 44px);
}

/* Single product — abonament bezpośrednio przy wariantach i zakupie. */

.elmo-single-plan {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid rgba(47, 44, 75, .12);
  border-radius: 22px;
  background: #f3fafb;
  box-shadow: 0 14px 40px rgba(47, 44, 75, .05);
}

.elmo-single-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.elmo-single-plan-head span {
  display: block;
  color: #168fa1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 5px;
}

.elmo-single-plan-head h2 {
  font-size: 24px;
  margin: 0;
  letter-spacing: -.035em;
}

.elmo-single-plan-head>strong {
  display: grid;
  place-items: center;
  min-width: 68px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--elmo-cyan);
  color: var(--elmo-navy);
  font-size: 16px;
  white-space: nowrap;
}

.elmo-single-plan>p {
  margin: 0 0 18px;
  color: var(--elmo-muted);
  font-size: 13px;
  line-height: 1.65;
}

.elmo-plan-month-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.elmo-plan-month-buttons button {
  border: 1px solid #dcd9e5;
  background: #fff;
  color: var(--elmo-navy);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  transition: .22s ease;
}

.elmo-plan-month-buttons button:hover {
  border-color: var(--elmo-cyan);
}

.elmo-plan-month-buttons button.active {
  background: var(--elmo-navy);
  border-color: var(--elmo-navy);
  color: #fff;
}

.elmo-single-plan-table {
  border-top: 1px solid var(--elmo-line);
  margin-bottom: 18px;
}

.elmo-single-plan-table>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 11px 0;
  border-bottom: 1px solid var(--elmo-line);
  font-size: 12px;
}

.elmo-single-plan-table span {
  color: var(--elmo-muted);
}

.elmo-single-plan-table strong {
  text-align: right;
  color: var(--elmo-navy);
}

.elmo-single-plan-table .is-total {
  padding-top: 15px;
  padding-bottom: 15px;
}

.elmo-single-plan-table .is-total strong {
  font-size: 20px;
  letter-spacing: -.03em;
}

.elmo-single-plan-add {
  width: 100%;
  min-height: 54px;
}

.elmo-single-plan-note {
  display: block;
  margin-top: 11px;
  color: var(--elmo-muted);
  font-size: 10px;
  line-height: 1.55;
}

/* Cart + Checkout — własna oprawa zamiast wyglądu bloków WooCommerce. */

.elmo-commerce-page {
  background: #fcfbfd;
}

.elmo-commerce-head {
  background: #fff;
  border-bottom: 1px solid rgba(47, 44, 75, .08);
  padding: 72px 0 48px;
}

.elmo-commerce-head-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr);
  gap: 8%;
  align-items: end;
}

.elmo-commerce-kicker, .elmo-summary-kicker {
  display: block;
  color: #168fa1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.elmo-commerce-head h1 {
  font-size: clamp(44px, 5vw, 70px);
  margin: 9px 0 0;
  letter-spacing: -.055em;
}

.elmo-commerce-head p {
  justify-self: end;
  max-width: 490px;
  margin: 0;
  color: var(--elmo-muted);
  font-size: 14px;
  line-height: 1.75;
}

.elmo-commerce-body {
  padding: 62px 0 120px;
}

.elmo-commerce-body>.woocommerce {
  width: 100%;
}

.elmo-cart-page, .elmo-checkout {
  width: min(var(--elmo-max), calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .72fr);
  gap: 34px;
  align-items: start;
}

.elmo-cart-card, .elmo-checkout-card, .elmo-order-summary, .elmo-checkout-order {
  background: #fff;
  border: 1px solid rgba(47, 44, 75, .10);
  border-radius: 28px;
  box-shadow: 0 18px 55px rgba(40, 34, 72, .05);
}

.elmo-cart-card {
  padding: 32px 34px;
}

.elmo-cart-card-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--elmo-line);
  color: var(--elmo-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
}

.elmo-cart-list article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-cart-image {
  display: grid;
  place-items: center;
  width: 110px;
  height: 125px;
  background: #f7fbfc;
  border-radius: 18px;
  padding: 10px;
}

.elmo-cart-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.elmo-cart-info h2 {
  font-size: 18px !important;
  margin: 0 0 6px;
  letter-spacing: -.025em;
}

.elmo-cart-info .variation {
  margin: 0 0 12px;
  color: var(--elmo-muted);
  font-size: 11px;
}

.elmo-cart-info .variation dt, .elmo-cart-info .variation dd {
  display: inline;
  margin: 0;
}

.elmo-cart-info .variation dd {
  margin-right: 8px;
}

.elmo-cart-row-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 13px;
}

.elmo-cart-row-actions .quantity .qty {
  width: 76px;
  height: 42px;
  border: 1px solid var(--elmo-line);
  border-radius: 999px;
  text-align: center;
  background: #fff;
}

.elmo-cart-remove {
  font-size: 11px;
  font-weight: 700;
  color: var(--elmo-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.elmo-cart-line-total {
  font-size: 17px;
  white-space: nowrap;
}

.elmo-cart-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}

.elmo-cart-coupon {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 430px;
}

.elmo-cart-coupon input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--elmo-line);
  border-radius: 999px;
  padding: 12px 16px;
  background: #fff;
}

.elmo-cart-tools .elmo-button {
  min-height: 46px;
  padding: 11px 18px;
  font-size: 12px;
}

.elmo-order-summary, .elmo-checkout-order {
  padding: 30px;
  position: sticky;
  top: 120px;
  background: #f3fafb;
}

.elmo-summary-kicker {
  margin-bottom: 13px;
}

.elmo-order-summary .cart_totals {
  width: 100% !important;
  float: none !important;
}

.elmo-order-summary .cart_totals h2 {
  font-size: 27px !important;
  margin: 0 0 20px;
}

.elmo-order-summary table.shop_table, .elmo-checkout-order table.shop_table {
  background: transparent !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.elmo-order-summary table.shop_table th, .elmo-order-summary table.shop_table td, .elmo-checkout-order table.shop_table th, .elmo-checkout-order table.shop_table td {
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(47, 44, 75, .10) !important;
  background: transparent !important;
}

.elmo-order-summary table.shop_table td, .elmo-checkout-order table.shop_table td {
  text-align: right !important;
}

.elmo-order-summary .order-total th, .elmo-order-summary .order-total td, .elmo-checkout-order .order-total th, .elmo-checkout-order .order-total td {
  padding-top: 18px !important;
  font-size: 18px !important;
  border-bottom: 0 !important;
}

.elmo-order-summary .wc-proceed-to-checkout {
  padding: 22px 0 0 !important;
}

.elmo-order-summary .checkout-button, .elmo-checkout-order #place_order {
  display: flex !important;
  width: 100% !important;
  min-height: 56px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: var(--elmo-navy) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

.elmo-order-summary .checkout-button:hover, .elmo-checkout-order #place_order:hover {
  background: #1f1d35 !important;
  transform: translateY(-2px);
}

.elmo-checkout-card {
  padding: 34px;
}

.elmo-checkout-fields #customer_details {
  display: block;
}

.elmo-checkout-fields .woocommerce-billing-fields>h3, .elmo-checkout-fields .woocommerce-shipping-fields>h3, .elmo-checkout-fields .woocommerce-additional-fields>h3 {
  font-size: 24px;
  margin: 16px 0 22px;
}

.elmo-checkout-fields .woocommerce-billing-fields__field-wrapper, .elmo-checkout-fields .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 14px;
}

.elmo-checkout-fields .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elmo-checkout-fields .form-row-wide {
  grid-column: 1/-1;
}

.elmo-checkout-fields label {
  display: block;
  margin: 0 0 6px;
  color: var(--elmo-navy);
  font-size: 11px;
  font-weight: 700;
}

.elmo-checkout-fields input.input-text, .elmo-checkout-fields textarea, .elmo-checkout-fields select, .elmo-checkout-fields .select2-selection--single {
  width: 100%;
  min-height: 52px;
  border: 1px solid #dedbe5 !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.elmo-checkout-fields input.input-text, .elmo-checkout-fields textarea {
  padding: 12px 14px !important;
}

.elmo-checkout-fields textarea {
  min-height: 110px;
}

.elmo-checkout-fields input.input-text:focus, .elmo-checkout-fields textarea:focus, .elmo-checkout-fields .select2-container--open .select2-selection--single {
  outline: 0;
  border-color: var(--elmo-cyan) !important;
  box-shadow: 0 0 0 3px rgba(41, 184, 206, .10) !important;
}

.elmo-checkout-fields .select2-selection__rendered {
  line-height: 50px !important;
  padding-left: 14px !important;
}

.elmo-checkout-fields .select2-selection__arrow {
  height: 50px !important;
  right: 8px !important;
}

.elmo-checkout-fields #ship-to-different-address {
  font-size: 14px !important;
  margin: 28px 0 18px;
}

.elmo-checkout-order h2 {
  font-size: 27px !important;
  margin: 4px 0 18px;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table .product-name {
  text-align: left !important;
}

.elmo-checkout-order .woocommerce-checkout-payment {
  margin-top: 22px;
  background: #fff !important;
  border: 1px solid rgba(47, 44, 75, .10);
  border-radius: 18px;
  padding: 8px 18px 18px !important;
}

.elmo-checkout-order .wc_payment_methods {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.elmo-checkout-order .wc_payment_method {
  padding: 15px 0 !important;
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-checkout-order .payment_box {
  background: #f7f6fa !important;
  border-radius: 13px !important;
  padding: 13px !important;
  margin: 10px 0 0 !important;
  color: var(--elmo-muted) !important;
  font-size: 12px;
}

.elmo-checkout-order .payment_box::before {
  display: none !important;
}

.elmo-checkout-order .place-order {
  padding: 20px 0 0 !important;
  margin: 0 !important;
}

.elmo-checkout-order .woocommerce-privacy-policy-text {
  font-size: 11px;
  color: var(--elmo-muted);
}

/* Fallback: jeśli WooCommerce wymusi blok Cart/Checkout, nadal zachowujemy język ELMO. */

.woocommerce-cart .wc-block-cart, .woocommerce-checkout .wc-block-checkout {
  font-family: Montserrat, Arial, sans-serif;
  color: var(--elmo-navy);
}

.woocommerce-cart .wc-block-cart__main, .woocommerce-checkout .wc-block-checkout__main {
  background: #fff;
  border: 1px solid var(--elmo-line);
  border-radius: 28px;
  padding: 28px;
}

.woocommerce-cart .wc-block-cart__sidebar, .woocommerce-checkout .wc-block-checkout__sidebar {
  background: #f3fafb;
  border: 1px solid var(--elmo-line);
  border-radius: 28px;
  padding: 28px;
}

.woocommerce-cart .wc-block-components-button, .woocommerce-checkout .wc-block-components-button {
  border-radius: 999px !important;
  background: var(--elmo-navy) !important;
  color: #fff !important;
  font-weight: 800 !important;
  min-height: 54px;
}

.woocommerce-cart .wc-block-components-text-input input, .woocommerce-checkout .wc-block-components-text-input input {
  border-radius: 13px !important;
  border-color: #dedbe5 !important;
}

@media (max-width:1050px) {
  .elmo-cart-page, .elmo-checkout {
    grid-template-columns: 1fr;
    width: min(860px, calc(100% - 50px));
  }
  .elmo-order-summary, .elmo-checkout-order {
    position: static;
  }
}

@media (max-width:700px) {
  h2, .elmo-product-description h2, .elmo-product-specs h2, .elmo-story-sections h2, .elmo-faq h2 {
    font-size: 32px;
  }
  .elmo-single-plan {
    padding: 20px 17px;
    border-radius: 20px;
  }
  .elmo-single-plan-head h2 {
    font-size: 22px;
  }
  .elmo-single-plan-head>strong {
    min-width: 60px;
    font-size: 14px;
  }
  .elmo-plan-month-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .elmo-plan-month-buttons button {
    padding: 10px 6px;
    font-size: 10px;
  }
  .elmo-commerce-head {
    padding: 48px 0 32px;
  }
  .elmo-commerce-head-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .elmo-commerce-head h1 {
    font-size: 44px;
  }
  .elmo-commerce-head p {
    justify-self: start;
    font-size: 13px;
  }
  .elmo-commerce-body {
    padding: 35px 0 80px;
  }
  .elmo-cart-page, .elmo-checkout {
    width: calc(100% - 30px);
    gap: 20px;
  }
  .elmo-cart-card, .elmo-checkout-card, .elmo-order-summary, .elmo-checkout-order {
    border-radius: 22px;
  }
  .elmo-cart-card, .elmo-checkout-card, .elmo-order-summary, .elmo-checkout-order {
    padding: 20px;
  }
  .elmo-cart-card-head {
    display: none;
  }
  .elmo-cart-list article {
    grid-template-columns: 84px 1fr;
    padding: 20px 0;
    gap: 14px;
  }
  .elmo-cart-image {
    width: 84px;
    height: 100px;
  }
  .elmo-cart-line-total {
    grid-column: 2;
    text-align: left;
    font-size: 15px;
  }
  .elmo-cart-tools {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .elmo-cart-coupon {
    display: grid;
    grid-template-columns: 1fr;
    max-width: none;
  }
  .elmo-cart-tools .elmo-button {
    width: 100%;
  }
  .elmo-checkout-fields .woocommerce-billing-fields__field-wrapper, .elmo-checkout-fields .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  .elmo-checkout-fields .form-row-wide {
    grid-column: auto;
  }
}

/* ===== ELMO 1.4.0 ===== */

.elmo-help-list span, .elmo-review-grid .review-author span, .elmo-account-cards span, .elmo-empty-category p {
  font-size: 15px;
  line-height: 1.65;
}

.elmo-partner-card .partner-chips span, .partner-chips span {
  font-size: 14px !important;
}

.elmo-product-card {
  position: relative;
}

.elmo-subscription-ribbon {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  background: var(--elmo-navy);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: 0 8px 24px rgba(47, 44, 75, .18);
}

.elmo-subscription-ribbon strong {
  color: #8ee4ed;
}

.elmo-live-price, .elmo-live-price *, .product-price, .product-price * {
  font-size: 24px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

.elmo-product-loop .elmo-product-body h3 {
  font-size: 19px !important;
}

.elmo-product-loop .elmo-loop-bottom>span {
  font-size: 15px;
}

.elmo-product-loop .elmo-loop-bottom>span strong {
  font-size: 17px;
}

.elmo-shop-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .65fr);
  gap: 7%;
  align-items: end;
  margin: 28px 0 52px;
}

.elmo-shop-title-zone {
  min-width: 0;
}

.elmo-shop-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.elmo-shop-title-row h1 {
  margin: 0;
  font-size: 54px;
}

.elmo-shop-header>p {
  margin: 0;
  justify-self: end;
  max-width: 520px;
  font-size: 18px !important;
  line-height: 1.7;
}

.elmo-cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.elmo-cat-filters button {
  border: 1px solid var(--elmo-line);
  background: #fff;
  color: var(--elmo-navy);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
}

.elmo-cat-filters button:hover, .elmo-cat-filters button.active {
  background: var(--elmo-navy);
  color: #fff;
  border-color: var(--elmo-navy);
}

.elmo-shop-group[hidden] {
  display: none !important;
}

.elmo-shop-group {
  padding: 54px 0 78px;
}

.elmo-shop-group-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .65fr);
  gap: 7%;
  align-items: end;
  margin-bottom: 34px;
}

.elmo-shop-group-head h2 {
  margin: 7px 0 0;
}

.elmo-shop-group-head>p {
  margin: 0;
  color: var(--elmo-muted);
  font-size: 15px;
}

.elmo-empty-category {
  border: 1px solid var(--elmo-line);
  border-radius: 24px;
  padding: 34px;
  background: #fff;
}

.elmo-coming-tofu {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, #f5eaf4, #eefafb);
  border: 1px solid var(--elmo-line);
  border-radius: 30px;
  padding: 42px;
}

.elmo-coming-tofu-mark {
  height: 230px;
  display: grid;
  place-items: center;
}

.elmo-coming-tofu-mark img {
  width: 150px;
  opacity: .14;
  transform: rotate(-10deg);
}

.elmo-coming-tofu h3 {
  font-size: 38px;
  margin: 8px 0 12px;
}

.elmo-coming-tofu p {
  max-width: 700px;
  color: var(--elmo-muted);
  font-size: 15px;
}

.elmo-coming-tofu strong {
  font-size: 15px;
  color: var(--elmo-navy);
}

.elmo-product-description, .elmo-product-specs {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.elmo-product-panel {
  width: 100%;
  padding: clamp(42px, 5vw, 72px);
  border-radius: 30px;
}

.elmo-product-description .elmo-product-panel {
  background: #fff;
  border: 1px solid var(--elmo-line);
}

.elmo-product-specs .elmo-product-panel {
  background: var(--elmo-bg);
}

.elmo-product-specs {
  background-color: var(--spec-bg, var(--elmo-bg)) !important;
}

.elmo-product-panel>h2 {
  margin-top: 0;
}

.elmo-simple-purchase {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--elmo-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.elmo-simple-price small, .elmo-simple-price strong {
  display: block;
}

.elmo-simple-price small {
  font-size: 13px;
  color: var(--elmo-muted);
  margin-bottom: 5px;
}

.elmo-simple-price strong {
  font-size: 26px;
}

.elmo-simple-price del {
  color: #9a95a5;
  font-size: 16px;
  margin-right: 8px;
}

.elmo-simple-price ins {
  text-decoration: none;
  color: var(--elmo-navy);
}

.elmo-cart-cross-sell {
  padding: 0 0 110px;
  background: #fcfbfd;
}

.elmo-cross-sell-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .65fr);
  gap: 8%;
  align-items: end;
  margin-bottom: 30px;
}

.elmo-cross-sell-head h2 {
  margin: 7px 0 0;
}

.elmo-cross-sell-head>p {
  margin: 0;
  color: var(--elmo-muted);
  font-size: 15px;
}

.elmo-cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.elmo-cross-card {
  background: #fff;
  border: 1px solid var(--elmo-line);
  border-radius: 22px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.elmo-cross-image {
  aspect-ratio: 1/1;
  background: #f8f7fa;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.elmo-cross-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.elmo-cross-card h3 {
  font-size: 15px;
  line-height: 1.35;
  margin: 16px 0 8px;
}

.elmo-cross-card>div>span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.elmo-cross-card .elmo-button {
  width: 100%;
  min-height: 44px;
  font-size: 11px;
  padding: 10px 12px;
  margin-top: auto;
}

.elmo-sidecart-panel {
  left: auto !important;
  right: 0 !important;
  transform: translateX(101%) !important;
  box-shadow: -18px 0 60px rgba(31, 29, 53, .15);
}

.elmo-sidecart.is-open .elmo-sidecart-panel {
  transform: none !important;
}

.elmo-commerce-head {
  padding: 42px 0 28px !important;
}

.elmo-commerce-head h1 {
  font-size: clamp(38px, 4.1vw, 58px) !important;
}

.elmo-commerce-head p {
  font-size: 17px !important;
  line-height: 1.68;
}

.elmo-commerce-body {
  padding-top: 46px;
}

.elmo-faq-full {
  background: #fcfbfd;
}

.elmo-faq-full .elmo-accordion {
  max-width: 1040px;
  margin: auto;
}

.elmo-faq-full .elmo-accordion details {
  background: #fff;
  border: 1px solid var(--elmo-line);
  border-radius: 18px;
  padding: 0 24px;
  margin-bottom: 10px;
}

.elmo-faq-full .elmo-accordion summary {
  padding: 22px 34px 22px 0;
  position: relative;
  font-size: 16px;
  list-style: none;
}

.elmo-faq-full .elmo-accordion summary::-webkit-details-marker {
  display: none;
}

.elmo-faq-full .elmo-accordion summary:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 15px;
  font-size: 25px;
  font-weight: 400;
}

.elmo-faq-full .elmo-accordion details[open] summary:after {
  content: "−";
}

.elmo-faq-answer {
  color: var(--elmo-muted);
  font-size: 15px;
  padding: 0 0 20px;
  max-width: 880px;
}

.elmo-faq-answer p {
  margin: 0;
}

.elmo-faq-contact {
  max-width: 1040px;
  margin: 42px auto 0;
  background: #eaf8fa;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.elmo-faq-contact h2 {
  margin: 7px 0 0;
}

@media (max-width:1050px) {
  .elmo-shop-header, .elmo-shop-group-head, .elmo-cross-sell-head {
    grid-template-columns: 1fr;
  }
  .elmo-shop-header>p {
    justify-self: start;
  }
  .elmo-cross-sell-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .elmo-coming-tofu {
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width:700px) {
  .elmo-shop-title-row {
    display: block;
  }
  .elmo-shop-title-row h1 {
    font-size: 42px;
    margin-bottom: 18px;
  }
  .elmo-cat-filters {
    gap: 6px;
  }
  .elmo-cat-filters button {
    font-size: 11px;
    padding: 8px 11px;
  }
  .elmo-shop-header>p {
    font-size: 16px !important;
  }
  .elmo-coming-tofu {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .elmo-coming-tofu-mark {
    height: 130px;
  }
  .elmo-coming-tofu-mark img {
    width: 95px;
  }
  .elmo-coming-tofu h3 {
    font-size: 30px;
  }
  .elmo-product-panel {
    padding: 28px 20px;
  }
  .elmo-simple-purchase {
    align-items: stretch;
    flex-direction: column;
  }
  .elmo-simple-purchase .elmo-button {
    width: 100%;
  }
  .elmo-cross-sell-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .elmo-cross-card {
    padding: 10px;
  }
  .elmo-cross-card h3 {
    font-size: 13px;
  }
  .elmo-cross-card>div>span {
    font-size: 13px;
  }
  .elmo-commerce-head {
    padding: 34px 0 24px !important;
  }
  .elmo-commerce-head p {
    font-size: 15px !important;
  }
  .elmo-faq-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

.elmo-type-card p, .elmo-product-short, .elmo-product-intro, .elmo-shop-group-head p, .elmo-contact-mini p {
  font-size: 15px;
}

.elmo-product-loop .elmo-product-media {
  aspect-ratio: 1/1;
  width: 100%;
  overflow: hidden;
}

.elmo-product-loop .elmo-product-media img {
  height: 100%;
  max-height: 320px;
  width: 100%;
  object-fit: contain;
}

.elmo-product-loop .elmo-product-card {
  min-height: 100%;
}

/* ===== ELMO 1.4.0 footer consistency on every template ===== */

.elmo-footer .elmo-container {
  width: min(var(--elmo-max), calc(100% - 80px));
  margin-inline: auto;
}

.elmo-footer-grid {
  display: grid !important;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.55fr) !important;
  gap: clamp(42px, 7vw, 110px) !important;
  align-items: start;
}

.elmo-footer-grid>div:first-child {
  max-width: 330px;
}

.elmo-footer-grid>div:first-child>p {
  margin-top: 18px;
  line-height: 1.7;
}

.elmo-footer .footer-nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 70px) !important;
  margin: 0 !important;
  align-items: start;
}

.elmo-footer .footer-nav>div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.elmo-footer .footer-nav strong {
  display: block;
  margin: 0 0 8px;
  color: #8fe0e9;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.elmo-footer .footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #d7d3e2;
}

.elmo-footer .footer-nav a:hover {
  color: #fff;
}

.elmo-footer .footer-nav ul, .elmo-footer .footer-nav li {
  display: contents;
}

.elmo-footer .elmo-social img {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px;
  object-fit: contain;
}

.elmo-footer-bottom {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width:900px) {
  .elmo-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 45px !important;
  }
  .elmo-footer-grid>div:first-child {
    max-width: 420px;
  }
}

@media (max-width:700px) {
  .elmo-footer {
    padding: 64px 0 24px;
  }
  .elmo-footer .elmo-container {
    width: calc(100% - 30px);
  }
  .elmo-footer .footer-nav {
    grid-template-columns: 1fr 1fr !important;
    gap: 34px 20px !important;
  }
  .elmo-footer .footer-nav>div:last-child {
    grid-column: 1/-1;
  }
  .elmo-footer-bottom {
    margin-top: 42px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}

/* ===== ELMO 1.4.2 — cross-sell: 4 kompaktowe karty na desktopie ===== */

.elmo-cart-cross-sell {
  background: #fff !important;
  padding: 80px 0 104px !important;
  overflow: hidden;
}

.elmo-cart-cross-sell .elmo-container {
  position: relative;
}

.elmo-cross-sell-head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 36px !important;
  margin: 0 0 38px !important;
}

.elmo-cross-sell-head h2 {
  max-width: 900px;
  margin: 0 !important;
  font-size: clamp(30px, 2.55vw, 40px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em;
}

.elmo-cross-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.elmo-cross-arrow {
  width: 52px;
  height: 52px;
  border: 2px solid var(--elmo-navy);
  border-radius: 50%;
  background: #fff;
  color: var(--elmo-navy);
  display: grid;
  place-items: center;
  font: 700 22px/1 var(--elmo-font);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(47, 44, 75, .08);
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.elmo-cross-arrow:hover:not(:disabled) {
  background: var(--elmo-navy);
  border-color: var(--elmo-navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47, 44, 75, .18);
}

.elmo-cross-arrow:disabled {
  opacity: .48;
  background: #f8f7fb;
  border-color: #c9c6d2;
  color: #777287;
  cursor: default;
  box-shadow: none;
}

.elmo-cross-carousel {
  overflow: hidden;
  width: 100%;
}

.elmo-cross-sell-grid {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 84px)/4);
  grid-template-columns: none !important;
  gap: 28px !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1px 2px 10px;
}

.elmo-cross-sell-grid::-webkit-scrollbar {
  display: none;
}

.elmo-cross-card {
  scroll-snap-align: start;
  background: #fff !important;
  border: 1px solid var(--elmo-line) !important;
  border-radius: 20px !important;
  padding: 12px !important;
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  box-shadow: none !important;
}

.elmo-cross-image {
  aspect-ratio: 1/1;
  background: #fbfafc !important;
  border-radius: 14px !important;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.elmo-cross-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px !important;
  transition: transform .3s ease;
}

.elmo-cross-card:hover .elmo-cross-image img {
  transform: scale(1.025);
}

.elmo-cross-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 4px 3px 2px;
}

.elmo-cross-card h3 {
  font-size: 15.5px !important;
  line-height: 1.34 !important;
  margin: 15px 0 7px !important;
  letter-spacing: -.015em;
}

.elmo-cross-card h3 a {
  color: var(--elmo-navy);
}

.elmo-cross-price {
  display: block;
  font-size: 14.5px !important;
  line-height: 1.35;
  font-weight: 700 !important;
  margin: 0 0 14px !important;
  color: var(--elmo-navy);
}

.elmo-cross-price * {
  font-size: inherit !important;
}

.elmo-cross-card .elmo-button {
  width: 100%;
  min-height: 42px !important;
  font-size: 11.5px !important;
  padding: 10px 12px !important;
  margin-top: auto;
  border-radius: 999px;
}

@media (max-width:1180px) {
  .elmo-cross-sell-grid {
    grid-auto-columns: calc((100% - 44px)/3);
    gap: 22px !important;
  }
}

@media (max-width:900px) {
  .elmo-cross-sell-grid {
    grid-auto-columns: calc((100% - 18px)/2);
    gap: 18px !important;
  }
  .elmo-cross-sell-head h2 {
    font-size: 31px !important;
  }
}

@media (max-width:600px) {
  .elmo-cart-cross-sell {
    padding: 60px 0 74px !important;
  }
  .elmo-cross-sell-head {
    align-items: center !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
  }
  .elmo-cross-sell-head h2 {
    font-size: 26px !important;
    max-width: calc(100% - 122px);
  }
  .elmo-cross-controls {
    gap: 8px;
  }
  .elmo-cross-arrow {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  .elmo-cross-sell-grid {
    grid-auto-columns: 84%;
    gap: 14px !important;
  }
  .elmo-cross-card h3 {
    font-size: 15px !important;
  }
  .elmo-cross-price {
    font-size: 14px !important;
  }
}

/* ===== ELMO 1.4.3 — uproszczone sekcje single product ===== */

.elmo-single-product .elmo-product-band {
  margin-top: 28px;
  margin-bottom: 28px;
  padding: clamp(58px, 6.2vw, 86px) clamp(34px, 5.2vw, 74px);
  border-radius: 30px;
  border: 0 !important;
  box-shadow: none !important;
}

.elmo-single-product .elmo-product-band.is-white {
  background: #fff !important;
  border: 0 !important;
}

.elmo-single-product .elmo-product-description {
  padding-left: clamp(34px, 5.2vw, 74px) !important;
  padding-right: clamp(34px, 5.2vw, 74px) !important;
}

.elmo-product-description .elmo-product-copy {
  max-width: 1120px;
  color: var(--elmo-muted);
  font-size: 16px;
  line-height: 1.78;
}

.elmo-product-description .elmo-product-copy>*:first-child {
  margin-top: 0;
}

.elmo-product-description .elmo-product-copy>*:last-child {
  margin-bottom: 0;
}

/* Właściwości: cała sekcja jest panelem — bez dodatkowego wrappera. */

.elmo-single-product .elmo-product-specs {
  background-color: var(--spec-bg, var(--elmo-bg)) !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--spec-label, var(--elmo-muted));
  padding: clamp(58px, 6.2vw, 86px) clamp(34px, 5.2vw, 74px) !important;
}

.elmo-product-specs h2 {
  color: var(--spec-heading, var(--elmo-navy));
  margin-top: 0;
}

.elmo-product-specs .elmo-spec-table.is-product-specs {
  max-width: 920px;
  border-top: 1px solid var(--spec-border, var(--elmo-line));
  color: var(--spec-label, var(--elmo-muted));
}

.elmo-product-specs .elmo-spec-table.is-product-specs>div {
  border-bottom: 1px solid var(--spec-border, var(--elmo-line));
  padding: 18px 5px;
}

.elmo-product-specs .elmo-spec-table.is-product-specs span {
  color: var(--spec-label, var(--elmo-muted));
  font-size: 15px;
}

.elmo-product-specs .elmo-spec-table.is-product-specs strong {
  color: var(--spec-value, var(--elmo-navy));
  font-size: 16px;
}

/* Sekcje artykułowe: pojedyncza sekcja = zdjęcie + treść, bez panelu w panelu. */

.elmo-story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8%;
  align-items: center;
}

.elmo-story-section.reverse figure {
  order: 2;
}

.elmo-story-section figure {
  margin: 0;
  min-width: 0;
}

.elmo-story-section figure img {
  width: 100%;
  height: clamp(380px, 34vw, 520px);
  object-fit: cover;
  border-radius: 25px;
}

.elmo-story-section .elmo-story-copy {
  min-width: 0;
  padding: 0;
}

.elmo-story-section .elmo-story-copy h2 {
  margin-top: 0;
}

.elmo-story-section .elmo-story-copy p {
  font-size: 16px;
  color: var(--elmo-muted);
  line-height: 1.78;
}

.elmo-story-section.is-aqua-soft {
  background: #F2FAFB !important;
}

.elmo-story-section.is-lilac-soft {
  background: #FAF5FA !important;
}

/* FAQ produktu: część z pytaniami wykorzystuje większość szerokości sekcji. */

.elmo-product-faq-grid {
  display: grid;
  grid-template-columns: minmax(170px, .34fr) minmax(0, 1.66fr);
  gap: 5%;
  align-items: start;
}

.elmo-product-faq-grid>h2 {
  margin: 0;
}

.elmo-product-faq-grid .elmo-accordion {
  width: 100%;
  min-width: 0;
}

.elmo-product-faq-grid .elmo-accordion details {
  padding: 23px 0;
}

.elmo-product-faq-grid .elmo-accordion summary {
  font-size: 16px;
  line-height: 1.45;
}

.elmo-product-faq-grid .elmo-accordion details p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--elmo-muted);
  max-width: none;
  margin-bottom: 0;
}

/* Produkty uzupełniające na single product — korzystają z tej samej karuzeli co koszyk. */

.elmo-product-related {
  margin-top: 72px;
  border-top: 1px solid rgba(47, 44, 75, .08);
}

.elmo-product-related .elmo-cross-card {
  position: relative;
}

.elmo-product-related .elmo-subscription-ribbon {
  top: 14px;
  left: 14px;
  font-size: 10px;
  padding: 7px 10px;
}

.elmo-product-related .elmo-cross-price {
  min-height: 20px;
}

@media (max-width:800px) {
  .elmo-story-section, .elmo-story-section.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .elmo-story-section.reverse figure {
    order: 0;
  }
  .elmo-story-section figure img {
    height: 430px;
  }
  .elmo-product-faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width:700px) {
  .elmo-single-product .elmo-product-band {
    padding: 44px 20px;
    border-radius: 24px;
  }
  .elmo-single-product .elmo-product-description {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .elmo-single-product .elmo-product-specs {
    padding: 44px 20px !important;
  }
  .elmo-story-section figure img {
    height: 360px;
    border-radius: 20px;
  }
  .elmo-product-related {
    margin-top: 48px;
  }
}

/* ===== ELMO 1.4.4 — korekty single product / checkout / cross-sell ===== */

/* Single product: płaskie sekcje i ciaśniejsze pionowe odstępy wg projektu. */

.elmo-single-product .elmo-product-band {
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  padding: clamp(58px, 5.2vw, 46px) clamp(34px, 5.2vw, 74px) !important;
}

.elmo-single-product .elmo-product-band.is-white {
  background: #f3fafb !important;
}

.elmo-product-specs .elmo-spec-table.is-product-specs span {
  font-size: 16px !important;
  font-weight: 600 !important;
}

@media (min-width:801px) {
  .elmo-product-specs .elmo-spec-table.is-product-specs {
    max-width: 520px !important;
  }
}

/* Naklejka na homepage — tylko desktop. */

@media (min-width:701px) {
  body.home .about-sticker {
    font-size: 20px !important;
    line-height: 1.15 !important;
  }
}

/* Koszyk i checkout — mniej pustej przestrzeni pod główną zawartością. */

.elmo-cart-page, .elmo-checkout {
  padding-bottom: 40px !important;
}

/* Cross-sell: używamy pełnych źródeł obrazów; dodatkowo wyłączamy filtry, które mogły optycznie rozmywać miniatury. */

.elmo-cross-image img {
  filter: none !important;
  image-rendering: auto !important;
  transform: none !important;
  backface-visibility: hidden;
}

/* Checkout: własne pole kuponu wewnątrz podsumowania, bez domyślnego toggle WooCommerce. */

.elmo-checkout-coupon {
  margin: 22px 0 4px;
  padding: 18px 0;
  border-top: 1px solid var(--elmo-line);
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-checkout-coupon>label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--elmo-navy);
  margin-bottom: 10px;
}

.elmo-checkout-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.elmo-checkout-coupon-row input {
  width: 100%;
  min-width: 0;
  padding: 12px 15px;
  border: 1px solid var(--elmo-line);
  border-radius: 999px;
  background: #fff;
  color: var(--elmo-navy);
  outline: none;
}

.elmo-checkout-coupon-row input:focus {
  border-color: var(--elmo-cyan);
  box-shadow: 0 0 0 3px rgba(41, 184, 206, .10);
}

.elmo-checkout-coupon-row button {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 12px;
}

.elmo-checkout-coupon-status {
  margin-top: 10px;
  font-size: 12px;
  color: var(--elmo-muted);
}

.elmo-checkout-coupon-status .woocommerce-error, .elmo-checkout-coupon-status .woocommerce-message, .elmo-checkout-coupon-status .woocommerce-info {
  margin: 0 !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
}

.woocommerce-form-coupon-toggle {
  display: none !important;
}

@media (max-width:560px) {
  .elmo-checkout-coupon-row {
    grid-template-columns: 1fr;
  }
  .elmo-checkout-coupon-row button {
    width: 100%;
  }
}

/* ===== ELMO 1.4.6 — shop wholesale banner + navigation rebuild ===== */

/* Desktop menu: prawdziwe submenu rozwijane w dół. */

.elmo-menu {
  position: static;
  overflow: visible;
}

.elmo-menu-list {
  display: flex !important;
  align-items: center;
  gap: 27px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.elmo-menu-list>li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.elmo-menu-list>li>a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 26px 0;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: color .2s ease;
}

.elmo-menu-list>li>a:hover, .elmo-menu-list>li:focus-within>a {
  color: var(--elmo-cyan);
}

.elmo-menu-list>.menu-item-has-children>a:after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.elmo-menu .sub-menu {
  display: block !important;
  position: absolute;
  z-index: 50;
  top: calc(100% - 8px);
  left: -22px;
  width: max-content;
  min-width: 220px;
  max-width: 310px;
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--elmo-line);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(47, 44, 75, .13);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.elmo-menu .sub-menu li {
  display: block;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.elmo-menu .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 11px;
  color: var(--elmo-navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  transition: background .18s ease, color .18s ease;
}

.elmo-menu .sub-menu a:hover, .elmo-menu .sub-menu a:focus {
  background: #f4fbfc;
  color: #168fa1;
  outline: none;
}

.elmo-menu li:hover>.sub-menu, .elmo-menu li:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.elmo-menu .sub-menu .sub-menu {
  top: -10px;
  left: calc(100% + 10px);
}

.elmo-menu-panel-head, .elmo-menu-backdrop, .elmo-menu-close, .elmo-submenu-toggle {
  display: none;
}

.elmo-menu-toggle {
  display: none !important;
}

/* Sklep: ciaśniejsza strefa filtrów + kompaktowy banner hurtowy. */

.elmo-shop-header {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) !important;
  gap: 36px !important;
  align-items: center !important;
  margin: 26px 0 46px !important;
}

.elmo-shop-title-row {
  flex-wrap: nowrap !important;
  gap: 20px !important;
}

.elmo-shop-title-row h1 {
  flex: 0 0 auto;
}

.elmo-cat-filters {
  flex-wrap: nowrap !important;
  gap: 6px !important;
}

.elmo-cat-filters button {
  padding: 8px 12px !important;
  font-size: 11.5px !important;
  white-space: nowrap;
}

.elmo-shop-header .elmo-wholesale-cta {
  margin: 0 !important;
  min-height: 94px;
  padding: 16px 18px !important;
  border-radius: 22px !important;
  gap: 16px !important;
  display: grid !important;
  grid-template-columns: minmax(0, .8fr) minmax(190px, 1.2fr) !important;
  align-items: center !important;
}

.elmo-shop-header .elmo-wholesale-cta h3 {
  font-size: 19px !important;
  line-height: 1.05 !important;
  max-width: 145px !important;
  margin: 0 !important;
}

.elmo-shop-header .elmo-wholesale-cta .elmo-button.is-outline {
  min-height: 48px !important;
  padding: 10px 18px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  text-align: center !important;
  width: 100% !important;
}

@media (max-width:1180px) {
  .elmo-menu-list {
    gap: 20px;
  }
  .elmo-menu-list>li>a {
    font-size: 11px;
  }
  .elmo-shop-header {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .elmo-shop-header .elmo-wholesale-cta {
    width: min(100%, 520px);
    justify-self: start;
  }
}

/* Tablet/mobile: nowoczesny panel wysuwany z lewej. */

@media (max-width:1050px) {
  .elmo-menu-toggle {
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 5px !important;
  }
  .elmo-menu-toggle .elmo-hamb-line {
    display: block !important;
    width: 19px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 99px !important;
    background: var(--elmo-navy) !important;
    transition: transform .25s ease, width .25s ease;
  }
  .elmo-menu-toggle .elmo-hamb-line:last-child {
    width: 13px !important;
    justify-self: end !important;
  }
  .elmo-menu-toggle:hover .elmo-hamb-line:last-child {
    width: 19px !important;
  }
  .elmo-menu {
    display: block !important;
    position: fixed !important;
    z-index: 2201 !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(390px, 88vw) !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 20px 30px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 26px 26px 0 !important;
    box-shadow: 18px 0 70px rgba(31, 29, 53, .18) !important;
    overflow-y: auto !important;
    transform: translateX(-104%) !important;
    visibility: hidden !important;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility .32s ease !important;
  }
  .elmo-menu.is-open {
    transform: none !important;
    visibility: visible !important;
  }
  .elmo-menu-panel-head {
    position: sticky;
    z-index: 4;
    top: 0;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    margin: 0 -2px 14px;
    padding: 0 2px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--elmo-line);
  }
  .elmo-menu-panel-head>span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--elmo-muted);
  }
  .elmo-menu-close {
    display: grid !important;
    place-items: center;
    position: relative;
    width: 43px;
    height: 43px;
    border: 1px solid var(--elmo-line);
    border-radius: 50%;
    background: #fff;
  }
  .elmo-menu-close span {
    position: absolute;
    width: 17px;
    height: 1.8px;
    border-radius: 99px;
    background: var(--elmo-navy);
  }
  .elmo-menu-close span:first-child {
    transform: rotate(45deg);
  }
  .elmo-menu-close span:last-child {
    transform: rotate(-45deg);
  }
  .elmo-menu-list {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
  .elmo-menu-list>li {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px;
    align-items: center;
    border-bottom: 1px solid rgba(47, 44, 75, .10);
  }
  .elmo-menu-list>li>a {
    grid-column: 1;
    padding: 18px 4px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    white-space: normal !important;
  }
  .elmo-menu-list>.menu-item-has-children>a:after {
    display: none !important;
  }
  .elmo-submenu-toggle {
    grid-column: 2;
    display: grid !important;
    place-items: center;
    width: 38px;
    height: 38px;
    justify-self: end;
    border: 0;
    border-radius: 50%;
    background: #f7f6f9;
    color: var(--elmo-navy);
  }
  .elmo-submenu-toggle:before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform .2s ease;
  }
  .menu-item-has-children.submenu-open>.elmo-submenu-toggle:before {
    transform: rotate(225deg) translate(-1px, -1px);
  }
  .elmo-menu .sub-menu {
    grid-column: 1/-1;
    position: static !important;
    display: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 0 12px !important;
    padding: 3px 0 8px 14px !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid #dff5f7 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .elmo-menu .submenu-open>.sub-menu {
    display: block !important;
  }
  .elmo-menu .sub-menu li {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    border: 0 !important;
  }
  .elmo-menu .sub-menu a {
    grid-column: 1;
    padding: 10px 12px !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    color: #625d73 !important;
  }
  .elmo-menu .sub-menu .elmo-submenu-toggle {
    grid-column: 2;
    width: 34px;
    height: 34px;
  }
  .elmo-menu .sub-menu .sub-menu {
    margin-left: 10px !important;
  }
  .elmo-menu-backdrop {
    display: block !important;
    position: fixed;
    z-index: 2200;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(31, 29, 53, .36);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
  }
  body.elmo-menu-open .elmo-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.elmo-menu-open {
    overflow: hidden;
  }
}

@media (max-width:700px) {
  .elmo-shop-header .elmo-wholesale-cta {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    padding: 20px !important;
    gap: 14px !important;
  }
  .elmo-shop-header .elmo-wholesale-cta h3 {
    max-width: none !important;
    font-size: 21px !important;
  }
  .elmo-shop-title-row {
    display: block !important;
  }
  .elmo-cat-filters {
    display: flex !important;
    flex-wrap: wrap !important;
  }
}

/* ===== ELMO 1.4.8 — submenu + odstępy stron hurtowych ===== */

/*
 * Strona główna korzysta dodatkowo z home-v14.css.
 * Starszy bridge ustawia tam elementy WordPressowego menu jako display: contents,
 * przez co submenu traci punkt odniesienia i potrafi otworzyć się przy lewej
 * krawędzi ekranu. Przywracamy normalne boxy dla elementów menu.
 */
body.home .site-header .nav-links .elmo-menu-list > li.menu-item {
  display: block !important;
  position: relative !important;
}

body.home .site-header .nav-links .elmo-menu-list .sub-menu > li.menu-item {
  display: block !important;
  position: relative !important;
}

/*
 * Submenu pierwszego poziomu na homepage ma być zakotwiczone dokładnie
 * pod pozycją nadrzędną (np. „Sklep”), tak samo jak na pozostałych stronach.
 */
body.home .site-header .nav-links .elmo-menu-list > li > .sub-menu {
  top: calc(100% - 8px) !important;
  left: -22px !important;
  right: auto !important;
}

/* Kolejny poziom submenu pozostaje rozwijany w prawo. */
body.home .site-header .nav-links .sub-menu .sub-menu {
  top: -10px !important;
  left: calc(100% + 10px) !important;
  right: auto !important;
}

/*
 * Na podstronach usuwamy mały turkusowy romb / trapezik pod pozycją z submenu.
 * Powstawał przez konflikt starego underline z nowym wskaźnikiem dropdownu.
 */
body:not(.home) .site-header .elmo-menu-list > li.menu-item-has-children > a::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
}

/*
 * Zamówienia hurtowe korzystają z ogólnego szablonu strony, którego standardowy
 * padding 135 px jest zbyt duży dla tego modułu. Skracamy pustą przestrzeń nad
 * listingiem i pojedynczym produktem hurtowym bez wpływu na zwykłe podstrony.
 */
.elmo-page > .elmo-section:has(.elmo-wholesale) {
  padding-top: 38px !important;
  padding-bottom: 90px !important;
}

.elmo-page > .elmo-section:has(.elmo-wholesale) .elmo-wholesale {
  padding-top: 0 !important;
}

.elmo-page > .elmo-section:has(.elmo-wholesale) .elmo-wholesale-listing .elmo-wholesale-hero {
  padding-top: 0 !important;
}

@media (max-width: 700px) {
  .elmo-page > .elmo-section:has(.elmo-wholesale) {
    padding-top: 24px !important;
    padding-bottom: 70px !important;
  }
}

/* =========================================================
   ELMO 1.4.9 — checkout / czytelne podsumowanie zamówienia
   ========================================================= */

/*
 * Tabela podsumowania ma zachowywać wyraźny podział na produkt i kwotę.
 * W szczególności dotyczy to pakietów hurtowych, które mają dodatkowe
 * informacje „Pakiet hurtowy” i „Rabat hurtowy”.
 */
.elmo-checkout-order .woocommerce-checkout-review-order-table {
  width: 100% !important;
  table-layout: fixed;
  border-collapse: collapse !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table thead th {
  padding: 18px 0 20px !important;
  font-size: 16px !important;
  line-height: 1.3;
  font-weight: 800 !important;
  color: var(--elmo-navy);
  border-bottom: 1px solid rgba(47, 44, 75, .14) !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table thead th.product-name {
  width: 72%;
  padding-right: 26px !important;
  text-align: left !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table thead th.product-total {
  width: 28%;
  text-align: right !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table .cart_item td {
  padding: 22px 0 !important;
  vertical-align: top !important;
  border-bottom: 1px solid rgba(47, 44, 75, .12) !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table .cart_item .product-name {
  width: 72%;
  padding-right: 26px !important;
  color: var(--elmo-navy);
  font-size: 15px;
  line-height: 1.45;
  text-align: left !important;
  overflow-wrap: anywhere;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table .cart_item .product-total {
  width: 28%;
  text-align: right !important;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--elmo-navy);
}

/* Ilość produktu pozostaje przy nazwie i nie tworzy osobnej, przypadkowej linii. */
.elmo-checkout-order .woocommerce-checkout-review-order-table .product-quantity {
  display: inline-block;
  margin-left: 4px;
  font-weight: 800;
  color: var(--elmo-navy);
  white-space: nowrap;
}

/*
 * Metadane pozycji WooCommerce (np. Pakiet hurtowy / Rabat hurtowy)
 * zamieniamy w małą, uporządkowaną tabelkę label → value.
 */
.elmo-checkout-order .woocommerce-checkout-review-order-table dl.variation {
  display: grid;
  grid-template-columns: minmax(125px, auto) minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 8px;
  width: 100%;
  max-width: 430px;
  margin: 16px 0 0 !important;
  padding: 14px 0 0;
  border-top: 1px solid rgba(47, 44, 75, .08);
  font-size: 13px;
  line-height: 1.45;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table dl.variation dt,
.elmo-checkout-order .woocommerce-checkout-review-order-table dl.variation dd {
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table dl.variation dt {
  font-weight: 500;
  color: var(--elmo-muted);
}

.elmo-checkout-order .woocommerce-checkout-review-order-table dl.variation dd {
  justify-self: end;
  text-align: right;
  font-weight: 700;
  color: var(--elmo-navy);
}

.elmo-checkout-order .woocommerce-checkout-review-order-table dl.variation dd p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit;
}

/* Podsumowania finansowe. */
.elmo-checkout-order .woocommerce-checkout-review-order-table tfoot th,
.elmo-checkout-order .woocommerce-checkout-review-order-table tfoot td {
  padding: 17px 0 !important;
  vertical-align: middle !important;
  border-bottom: 1px solid rgba(47, 44, 75, .12) !important;
  font-size: 15px;
  line-height: 1.35;
  color: var(--elmo-navy);
}

.elmo-checkout-order .woocommerce-checkout-review-order-table tfoot th {
  padding-right: 20px !important;
  text-align: left !important;
  font-weight: 700 !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table tfoot td {
  text-align: right !important;
  font-weight: 600;
  white-space: nowrap;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table .order-total th,
.elmo-checkout-order .woocommerce-checkout-review-order-table .order-total td {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
  border-bottom: 0 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table .order-total td strong,
.elmo-checkout-order .woocommerce-checkout-review-order-table .order-total td .woocommerce-Price-amount {
  display: inline !important;
  font-size: inherit !important;
  line-height: inherit !important;
  white-space: nowrap !important;
}

/* Metoda płatności zaczyna się dopiero pod czytelnym podsumowaniem. */
.elmo-checkout-order .woocommerce-checkout-payment {
  margin-top: 24px !important;
}

/* =========================================================
   MOBILE — podsumowanie checkout
   ========================================================= */
@media (max-width: 700px) {
  .elmo-checkout-order .woocommerce-checkout-review-order-table {
    table-layout: auto;
  }

  /* Nagłówek tabeli jest na małym ekranie zbędny — dane są czytelniejsze bez niego. */
  .elmo-checkout-order .woocommerce-checkout-review-order-table thead {
    display: none;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table tbody,
  .elmo-checkout-order .woocommerce-checkout-review-order-table tfoot,
  .elmo-checkout-order .woocommerce-checkout-review-order-table tr {
    display: block;
    width: 100%;
  }

  /*
   * Każda pozycja zamówienia jest małym dwukolumnowym blokiem:
   * nazwa po lewej, cena po prawej.
   */
  .elmo-checkout-order .woocommerce-checkout-review-order-table .cart_item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(47, 44, 75, .12);
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table .cart_item td {
    display: block;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table .cart_item .product-name {
    min-width: 0;
    padding-right: 0 !important;
    font-size: 14px;
    line-height: 1.45;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table .cart_item .product-total {
    padding-top: 1px !important;
    font-size: 14px;
    font-weight: 800;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table dl.variation {
    grid-column: 1 / -1;
    grid-template-columns: minmax(105px, 1fr) auto;
    column-gap: 14px;
    row-gap: 7px;
    max-width: none;
    margin-top: 13px !important;
    padding-top: 12px;
    font-size: 12px;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table dl.variation dd {
    white-space: nowrap;
  }

  /* Wiersze Kwota / Dostawa / Łącznie jako równe pary label → wartość. */
  .elmo-checkout-order .woocommerce-checkout-review-order-table tfoot tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 18px;
    align-items: center;
    border-bottom: 1px solid rgba(47, 44, 75, .12);
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table tfoot th,
  .elmo-checkout-order .woocommerce-checkout-review-order-table tfoot td {
    display: block;
    width: auto !important;
    padding: 15px 0 !important;
    border: 0 !important;
    font-size: 14px;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table tfoot td {
    text-align: right !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table .order-total {
    margin-top: 2px;
    border-bottom: 0;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table .order-total th,
  .elmo-checkout-order .woocommerce-checkout-review-order-table .order-total td {
    padding-top: 19px !important;
    padding-bottom: 19px !important;
    font-size: 18px !important;
  }
}

/* =========================================================
   ELMO 1.5.0 — koszyk i checkout hurtowy
   Czytelny układ B2B: netto jako cena główna, brutto jako suma płatności.
   ========================================================= */

/* ---------------------------------------------------------
   Komunikaty WooCommerce
   --------------------------------------------------------- */
.elmo-commerce-body > .woocommerce > .woocommerce-notices-wrapper {
  width: min(var(--elmo-max), calc(100% - 80px));
  margin: 0 auto 24px;
}

.elmo-commerce-body > .woocommerce > .woocommerce-notices-wrapper:empty {
  display: none;
}

.elmo-commerce-body .woocommerce-message,
.elmo-commerce-body .woocommerce-info,
.elmo-commerce-body .woocommerce-error {
  width: 100%;
  margin: 0;
  padding: 15px 20px;
  border: 1px solid rgba(47, 44, 75, .12);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  outline: 0;
}

.elmo-commerce-body .woocommerce-message:focus,
.elmo-commerce-body .woocommerce-info:focus,
.elmo-commerce-body .woocommerce-error:focus,
.elmo-commerce-body .woocommerce-message:focus-visible,
.elmo-commerce-body .woocommerce-info:focus-visible,
.elmo-commerce-body .woocommerce-error:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* ---------------------------------------------------------
   Pozycja w koszyku hurtowym
   --------------------------------------------------------- */
.elmo-cart-page.is-wholesale-cart .elmo-cart-list article {
  grid-template-columns: 118px minmax(0, 1fr) minmax(135px, auto);
  gap: 26px;
  align-items: start;
  padding: 30px 0;
}

.elmo-cart-page.is-wholesale-cart .elmo-cart-image {
  width: 118px;
  height: 142px;
  padding: 14px;
  align-self: start;
}

.elmo-cart-page.is-wholesale-cart .elmo-cart-info {
  min-width: 0;
}

.elmo-cart-page.is-wholesale-cart .elmo-cart-info h2 {
  margin: 0 0 9px;
  font-size: 20px !important;
  line-height: 1.3;
  font-weight: 800;
  color: var(--elmo-navy);
}

.elmo-cart-wholesale-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef9fa;
  color: #168fa1;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.elmo-cart-wholesale-meta {
  display: grid;
  grid-template-columns: minmax(155px, .75fr) minmax(90px, 1fr);
  gap: 9px 20px;
  max-width: 480px;
  padding: 16px 0;
  border-top: 1px solid rgba(47, 44, 75, .09);
  border-bottom: 1px solid rgba(47, 44, 75, .09);
}

.elmo-cart-wholesale-meta > div {
  display: contents;
}

.elmo-cart-wholesale-meta span,
.elmo-cart-wholesale-meta strong {
  font-size: 13px;
  line-height: 1.45;
}

.elmo-cart-wholesale-meta span {
  color: var(--elmo-muted);
}

.elmo-cart-wholesale-meta strong {
  color: var(--elmo-navy);
  font-weight: 700;
  text-align: left;
}

.elmo-cart-page.is-wholesale-cart .elmo-cart-row-actions {
  margin-top: 16px;
}

.elmo-cart-fixed-package {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--elmo-line);
  border-radius: 999px;
  color: var(--elmo-muted);
  font-size: 12px;
  font-weight: 700;
}

.elmo-cart-line-total.is-wholesale-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  min-width: 135px;
  text-align: right;
  white-space: nowrap;
}

.elmo-cart-line-total.is-wholesale-total > span {
  color: var(--elmo-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.elmo-cart-line-total.is-wholesale-total > strong {
  color: var(--elmo-navy);
  font-size: 20px;
  line-height: 1.2;
}

.elmo-cart-line-total.is-wholesale-total > small {
  color: var(--elmo-muted);
  font-size: 11px;
  line-height: 1.35;
}

/* Hurt ma stałą konfigurację pakietu, więc nie pokazujemy pustych narzędzi. */
.elmo-cart-page.is-wholesale-cart .elmo-cart-tools:empty {
  display: none;
}

/* ---------------------------------------------------------
   Podsumowanie koszyka hurtowego
   --------------------------------------------------------- */
.elmo-wholesale-cart-totals h2 {
  margin: 0 0 22px;
  font-size: 27px !important;
}

.elmo-wholesale-totals-table {
  border-top: 1px solid rgba(47, 44, 75, .11);
}

.elmo-wholesale-totals-table > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(47, 44, 75, .11);
}

.elmo-wholesale-totals-table span {
  color: var(--elmo-muted);
  font-size: 13px;
}

.elmo-wholesale-totals-table strong {
  color: var(--elmo-navy);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.elmo-wholesale-totals-table .is-free {
  color: #168fa1;
  font-size: 12px;
  letter-spacing: .06em;
}

.elmo-wholesale-totals-table .is-total {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 0;
}

.elmo-wholesale-totals-table .is-total span {
  color: var(--elmo-navy);
  font-size: 16px;
  font-weight: 800;
}

.elmo-wholesale-totals-table .is-total strong {
  font-size: 22px;
}

.elmo-wholesale-total-note {
  margin: 2px 0 22px;
  color: var(--elmo-muted);
  font-size: 11px;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   Checkout hurtowy — pozycje
   --------------------------------------------------------- */
.elmo-checkout-order .woocommerce-checkout-review-order-table.is-wholesale-review {
  table-layout: fixed;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table.is-wholesale-review thead th.product-name {
  width: 70%;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table.is-wholesale-review thead th.product-total {
  width: 30%;
}

.elmo-checkout-order .is-wholesale-review .cart_item .product-name {
  padding-right: 30px !important;
}

.elmo-review-product-title {
  color: var(--elmo-navy);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.elmo-review-wholesale-meta {
  display: grid;
  grid-template-columns: minmax(145px, .9fr) minmax(85px, 1fr);
  gap: 8px 18px;
  max-width: 430px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(47, 44, 75, .09);
}

.elmo-review-wholesale-meta > div {
  display: contents;
}

.elmo-review-wholesale-meta span,
.elmo-review-wholesale-meta strong {
  font-size: 12px;
  line-height: 1.45;
}

.elmo-review-wholesale-meta span {
  color: var(--elmo-muted);
}

.elmo-review-wholesale-meta strong {
  color: var(--elmo-navy);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.elmo-checkout-order .is-wholesale-review .cart_item .product-total {
  white-space: nowrap;
}

.elmo-checkout-order .is-wholesale-review .cart_item .product-total strong,
.elmo-checkout-order .is-wholesale-review .cart_item .product-total small {
  display: block;
}

.elmo-checkout-order .is-wholesale-review .cart_item .product-total strong {
  color: var(--elmo-navy);
  font-size: 16px;
  font-weight: 800;
}

.elmo-checkout-order .is-wholesale-review .cart_item .product-total small {
  margin-top: 4px;
  color: var(--elmo-muted);
  font-size: 10px;
  font-weight: 500;
}

.elmo-checkout-order .is-wholesale-review tfoot th,
.elmo-checkout-order .is-wholesale-review tfoot td {
  font-size: 14px;
}

.elmo-checkout-order .is-wholesale-review .order-total th,
.elmo-checkout-order .is-wholesale-review .order-total td {
  font-size: 18px !important;
  white-space: nowrap;
}

.elmo-free-shipping-label {
  color: #168fa1;
  font-size: 12px;
  letter-spacing: .06em;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */
@media (max-width: 1050px) {
  .elmo-commerce-body > .woocommerce > .woocommerce-notices-wrapper {
    width: min(860px, calc(100% - 50px));
  }

  .elmo-cart-page.is-wholesale-cart .elmo-cart-list article {
    grid-template-columns: 105px minmax(0, 1fr) minmax(125px, auto);
    gap: 20px;
  }

  .elmo-cart-page.is-wholesale-cart .elmo-cart-image {
    width: 105px;
    height: 128px;
  }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */
@media (max-width: 700px) {
  .elmo-commerce-body > .woocommerce > .woocommerce-notices-wrapper {
    width: calc(100% - 30px);
    margin-bottom: 18px;
  }

  .elmo-commerce-body .woocommerce-message,
  .elmo-commerce-body .woocommerce-info,
  .elmo-commerce-body .woocommerce-error {
    padding: 13px 15px;
    font-size: 13px;
    line-height: 1.5;
  }

  .elmo-cart-page.is-wholesale-cart .elmo-cart-list article {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .elmo-cart-page.is-wholesale-cart .elmo-cart-image {
    width: 82px;
    height: 100px;
    padding: 9px;
  }

  .elmo-cart-page.is-wholesale-cart .elmo-cart-info h2 {
    font-size: 16px !important;
    line-height: 1.35;
  }

  .elmo-cart-wholesale-badge {
    margin-bottom: 13px;
    font-size: 9px;
  }

  .elmo-cart-wholesale-meta {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    padding: 12px 0;
  }

  .elmo-cart-wholesale-meta span,
  .elmo-cart-wholesale-meta strong {
    font-size: 11px;
  }

  .elmo-cart-wholesale-meta strong {
    text-align: right;
    white-space: nowrap;
  }

  .elmo-cart-page.is-wholesale-cart .elmo-cart-row-actions {
    gap: 10px;
    margin-top: 12px;
  }

  .elmo-cart-fixed-package {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 10px;
  }

  .elmo-cart-line-total.is-wholesale-total {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 3px 12px;
    width: 100%;
    padding: 15px 0 0 96px;
    border-top: 1px solid rgba(47, 44, 75, .08);
    text-align: left;
  }

  .elmo-cart-line-total.is-wholesale-total > span {
    grid-column: 1;
  }

  .elmo-cart-line-total.is-wholesale-total > strong {
    grid-column: 2;
    justify-self: end;
    font-size: 17px;
  }

  .elmo-cart-line-total.is-wholesale-total > small {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .elmo-wholesale-totals-table > div {
    gap: 12px;
  }

  .elmo-wholesale-totals-table .is-total span {
    font-size: 14px;
  }

  .elmo-wholesale-totals-table .is-total strong {
    font-size: 19px;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table.is-wholesale-review .cart_item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .elmo-review-product-title {
    font-size: 13px;
  }

  .elmo-review-wholesale-meta {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    max-width: none;
    margin-top: 12px;
    padding-top: 11px;
  }

  .elmo-review-wholesale-meta span,
  .elmo-review-wholesale-meta strong {
    font-size: 11px;
  }

  .elmo-checkout-order .is-wholesale-review .cart_item .product-total strong {
    font-size: 13px;
  }

  .elmo-checkout-order .is-wholesale-review .order-total {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .elmo-checkout-order .is-wholesale-review .order-total th,
  .elmo-checkout-order .is-wholesale-review .order-total td {
    font-size: 16px !important;
  }
}

/* =========================================================
   ELMO 1.5.1 — SIDECART: ZAMÓWIENIA HURTOWE
   ========================================================= */

.elmo-sidecart-panel {
  width: min(520px, 94vw);
  padding: 30px 32px 34px;
}

.elmo-sidecart-panel header {
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 18px;
}

.elmo-sidecart-panel header small {
  color: #168fa1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.elmo-sidecart-panel h2 {
  margin: 5px 0 0;
  font-size: 38px;
  line-height: 1.05;
}

.elmo-sidecart-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  transition: background .2s ease;
}

.elmo-sidecart-close:hover {
  background: #f6f5f8;
}

.elmo-mini-items article {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
}

.elmo-mini-image {
  width: 88px;
  height: 106px;
  display: grid;
  place-items: center;
  align-self: start;
  padding: 9px;
  overflow: hidden;
  border-radius: 18px;
  background: #f7fbfc;
}

.elmo-mini-items .elmo-mini-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.elmo-mini-content {
  min-width: 0;
}

.elmo-mini-items h3 {
  margin: 0 0 8px;
  color: var(--elmo-navy);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.elmo-mini-wholesale-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0 0 9px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef9fa;
  color: #168fa1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.elmo-mini-wholesale-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  margin-top: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(47, 44, 75, .09);
  border-bottom: 1px solid rgba(47, 44, 75, .09);
}

.elmo-mini-wholesale-meta > div {
  display: contents;
}

.elmo-mini-wholesale-meta span,
.elmo-mini-wholesale-meta strong {
  font-size: 11px;
  line-height: 1.45;
}

.elmo-mini-wholesale-meta span {
  color: var(--elmo-muted);
}

.elmo-mini-wholesale-meta strong {
  color: var(--elmo-navy);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.elmo-mini-wholesale-price {
  margin-top: 12px;
}

.elmo-mini-wholesale-price > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
}

.elmo-mini-wholesale-price span {
  color: var(--elmo-muted);
  font-size: 11px;
}

.elmo-mini-wholesale-price strong {
  color: var(--elmo-navy);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.elmo-mini-wholesale-price small {
  display: block;
  margin-top: 3px;
  color: var(--elmo-muted);
  font-size: 10px;
  text-align: right;
}

.elmo-mini-standard-price {
  margin: 7px 0 10px;
  color: var(--elmo-muted);
  font-size: 13px;
  line-height: 1.45;
}

.elmo-mini-remove {
  display: inline-flex;
  margin-top: 12px;
  color: var(--elmo-muted);
  text-underline-offset: 3px;
}

.elmo-mini-remove:hover {
  color: var(--elmo-navy);
}

.is-wholesale-mini-total {
  display: grid;
  gap: 10px;
  padding: 20px 0 22px;
}

.is-wholesale-mini-total > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.is-wholesale-mini-total span {
  color: var(--elmo-muted);
  font-size: 13px;
}

.is-wholesale-mini-total strong {
  color: var(--elmo-navy);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.is-wholesale-mini-total .is-gross {
  padding-top: 11px;
  border-top: 1px solid var(--elmo-line);
}

.is-wholesale-mini-total .is-gross span {
  color: var(--elmo-navy);
  font-size: 15px;
  font-weight: 700;
}

.is-wholesale-mini-total .is-gross strong {
  font-size: 20px;
}

.is-wholesale-mini-total > small {
  color: #168fa1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: right;
}

.elmo-mini-actions .elmo-button {
  min-width: 0;
  min-height: 50px;
  padding-inline: 15px;
}

@media (max-width: 560px) {
  .elmo-sidecart-panel {
    width: min(440px, 100vw);
    padding: 24px 20px 28px;
  }

  .elmo-sidecart-panel h2 {
    font-size: 32px;
  }

  .elmo-mini-items article {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 13px;
    padding: 18px 0;
  }

  .elmo-mini-image {
    width: 74px;
    height: 90px;
    padding: 7px;
    border-radius: 15px;
  }

  .elmo-mini-items h3 {
    font-size: 14px;
  }

  .elmo-mini-wholesale-meta {
    gap: 5px 10px;
  }

  .elmo-mini-wholesale-meta span,
  .elmo-mini-wholesale-meta strong {
    font-size: 10px;
  }

  .elmo-mini-wholesale-price strong {
    font-size: 15px;
  }

  .elmo-mini-actions {
    gap: 8px;
  }

  .elmo-mini-actions .elmo-button {
    min-height: 48px;
    padding: 11px 10px;
    font-size: 12px;
  }
}

/* =========================================================
   ELMO 1.5.2 — Zamówienie otrzymane
   ========================================================= */
.elmo-order-received-shell {
  padding: 0;
}

.elmo-order-received-hero {
  padding: 54px 0 38px;
  background: #fff;
  border-bottom: 1px solid rgba(47, 44, 75, .08);
}

.elmo-order-received-hero.is-failed {
  padding-bottom: 58px;
}

.elmo-order-received-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
  margin-top: 9px;
}

.elmo-order-received-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 5vw, 72px);
  letter-spacing: -.055em;
}

.elmo-order-received-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--elmo-muted);
  font-size: 16px;
  line-height: 1.72;
}

.elmo-order-received-number {
  min-width: 190px;
  text-align: right;
}

.elmo-order-received-number span,
.elmo-order-quickfacts span {
  display: block;
  margin-bottom: 5px;
  color: var(--elmo-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.elmo-order-received-number strong {
  color: var(--elmo-navy);
  font-size: 30px;
}

.elmo-order-quickfacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--elmo-line);
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-order-quickfacts > div {
  min-width: 0;
  padding: 18px 22px 18px 0;
}

.elmo-order-quickfacts > div + div {
  padding-left: 22px;
  border-left: 1px solid var(--elmo-line);
}

.elmo-order-quickfacts strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--elmo-navy);
  font-size: 14px;
  line-height: 1.45;
}

.elmo-order-received-body {
  padding: 54px 0 96px;
  background: #fcfbfd;
}

.elmo-order-received-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, .7fr);
  gap: 30px;
  align-items: start;
}

.elmo-order-received-main {
  display: grid;
  gap: 26px;
}

.elmo-order-card,
.elmo-order-address-card,
.elmo-order-next-card,
.elmo-order-help-card {
  background: #fff;
  border: 1px solid rgba(47, 44, 75, .10);
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(40, 34, 72, .045);
}

.elmo-order-card {
  padding: 32px 34px;
}

.elmo-order-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-order-card-head h2,
.elmo-order-address-card h2,
.elmo-order-next-card h2 {
  margin: 6px 0 0;
  font-size: 28px;
  letter-spacing: -.035em;
}

.elmo-order-status-pill,
.elmo-order-wholesale-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef9fa;
  color: #168fa1;
  font-weight: 800;
  text-transform: uppercase;
}

.elmo-order-status-pill {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 9px;
  letter-spacing: .07em;
}

.elmo-received-items {
  display: grid;
}

.elmo-received-item {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-received-item-image {
  width: 94px;
  height: 112px;
  display: grid;
  place-items: center;
  padding: 9px;
  border-radius: 18px;
  background: #f7fbfc;
}

.elmo-received-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.elmo-received-item-content {
  min-width: 0;
}

.elmo-received-item-content h3 {
  margin: 0 0 9px;
  color: var(--elmo-navy);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.elmo-order-wholesale-badge {
  min-height: 24px;
  margin-bottom: 12px;
  padding: 5px 9px;
  font-size: 9px;
  letter-spacing: .06em;
}

.elmo-received-item-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 18px;
  max-width: 560px;
  margin: 0;
}

.elmo-received-item-meta > div {
  display: contents;
}

.elmo-received-item-meta dt,
.elmo-received-item-meta dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.elmo-received-item-meta dt {
  color: var(--elmo-muted);
}

.elmo-received-item-meta dd {
  color: var(--elmo-navy);
  font-weight: 700;
  text-align: right;
}

.elmo-received-item-qty {
  display: block;
  margin-top: 12px;
  color: var(--elmo-muted);
  font-size: 11px;
}

.elmo-received-item-total {
  color: var(--elmo-navy);
  font-size: 17px;
  white-space: nowrap;
}

.elmo-received-totals {
  display: grid;
  margin-top: 5px;
}

.elmo-received-totals > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  padding: 14px 0;
  border-bottom: 1px solid var(--elmo-line);
}

.elmo-received-totals span {
  color: var(--elmo-muted);
  font-size: 13px;
}

.elmo-received-totals strong {
  color: var(--elmo-navy);
  font-size: 14px;
  text-align: right;
}

.elmo-received-totals .is-total {
  padding-top: 20px;
  border-bottom: 0;
}

.elmo-received-totals .is-total span,
.elmo-received-totals .is-total strong {
  color: var(--elmo-navy);
  font-size: 19px;
  font-weight: 800;
}

.elmo-order-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.elmo-order-address-card {
  padding: 28px 30px;
}

.elmo-order-address-card address {
  margin-top: 18px;
  color: var(--elmo-muted);
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
}

.elmo-order-address-card a,
.elmo-order-address-card p {
  display: block;
  margin: 8px 0 0;
  color: var(--elmo-muted);
  font-size: 12px;
  line-height: 1.55;
}

.elmo-order-received-aside {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 118px;
}

.elmo-order-next-card,
.elmo-order-help-card {
  padding: 30px;
}

.elmo-order-next-card.is-wholesale {
  background: #eef9fa;
}

.elmo-order-next-card p,
.elmo-order-help-card p {
  margin: 14px 0 20px;
  color: var(--elmo-muted);
  font-size: 13px;
  line-height: 1.65;
}

.elmo-order-next-card .elmo-button {
  width: 100%;
  min-height: 52px;
}

.elmo-order-bank-data {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  border-top: 1px solid rgba(47, 44, 75, .12);
}

.elmo-order-bank-data > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(47, 44, 75, .10);
}

.elmo-order-bank-data dt,
.elmo-order-bank-data dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.elmo-order-bank-data dt {
  color: var(--elmo-muted);
}

.elmo-order-bank-data dd {
  color: var(--elmo-navy);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.elmo-order-help-card h3 {
  margin: 0;
  font-size: 20px;
}

.elmo-order-help-card a {
  color: #168fa1;
  font-size: 13px;
  font-weight: 800;
}

.elmo-order-received-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

/* =========================================================
   ELMO 1.5.2 — popup konfliktu koszyka
   ========================================================= */
body.elmo-modal-open {
  overflow: hidden;
}

.elmo-cart-conflict-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s ease;
}

.elmo-cart-conflict-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.elmo-cart-conflict-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(25, 22, 43, .58);
  backdrop-filter: blur(4px);
}

.elmo-cart-conflict-dialog {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  padding: 38px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(25, 22, 43, .26);
  transform: translateY(14px) scale(.985);
  transition: transform .24s cubic-bezier(.22, 1, .36, 1);
}

.elmo-cart-conflict-modal.is-open .elmo-cart-conflict-dialog {
  transform: none;
}

.elmo-cart-conflict-dialog h2 {
  max-width: 450px;
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 38px);
}

.elmo-cart-conflict-dialog p {
  margin: 0;
  color: var(--elmo-muted);
  font-size: 14px;
  line-height: 1.7;
}

.elmo-cart-conflict-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--elmo-line);
  border-radius: 50%;
  background: #fff;
  color: var(--elmo-navy);
  font-size: 25px;
  line-height: 1;
}

.elmo-cart-conflict-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
}

.elmo-cart-conflict-actions .elmo-button {
  min-width: 0;
  min-height: 50px;
}

@media (max-width: 980px) {
  .elmo-order-received-hero-grid,
  .elmo-order-received-grid {
    grid-template-columns: 1fr;
  }

  .elmo-order-received-number {
    text-align: left;
  }

  .elmo-order-received-aside {
    position: static;
  }
}

@media (max-width: 700px) {
  .elmo-order-received-hero {
    padding: 38px 0 28px;
  }

  .elmo-order-received-hero h1 {
    font-size: 44px;
  }

  .elmo-order-quickfacts {
    grid-template-columns: 1fr 1fr;
  }

  .elmo-order-quickfacts > div,
  .elmo-order-quickfacts > div + div {
    padding: 14px 12px 14px 0;
    border-left: 0;
    border-bottom: 1px solid var(--elmo-line);
  }

  .elmo-order-quickfacts > div:nth-child(even) {
    padding-left: 12px;
    border-left: 1px solid var(--elmo-line);
  }

  .elmo-order-received-body {
    padding: 30px 0 70px;
  }

  .elmo-order-card,
  .elmo-order-address-card,
  .elmo-order-next-card,
  .elmo-order-help-card {
    border-radius: 22px;
  }

  .elmo-order-card {
    padding: 22px 20px;
  }

  .elmo-order-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .elmo-received-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .elmo-received-item-image {
    width: 72px;
    height: 88px;
    padding: 7px;
    border-radius: 14px;
  }

  .elmo-received-item-content h3 {
    font-size: 15px;
  }

  .elmo-received-item-meta {
    grid-template-columns: 1fr auto;
    gap: 5px 10px;
  }

  .elmo-received-item-meta dt,
  .elmo-received-item-meta dd {
    font-size: 10px;
  }

  .elmo-received-item-total {
    grid-column: 2;
    font-size: 16px;
  }

  .elmo-order-addresses {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .elmo-order-address-card,
  .elmo-order-next-card,
  .elmo-order-help-card {
    padding: 24px 20px;
  }

  .elmo-cart-conflict-dialog {
    padding: 32px 22px 22px;
    border-radius: 22px;
  }

  .elmo-cart-conflict-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ELMO 1.5.3 — pełna szerokość hurtu + detaliczny koszyk
   ========================================================= */

/*
 * Strona "Zamówienia hurtowe" i jej widok produktu nie mogą
 * dziedziczyć ograniczenia .elmo-content-narrow z typowych stron.
 * page.php usuwa tę klasę, a poniżej pilnujemy pełnej szerokości
 * komponentu w kontenerze ELMO.
 */
.elmo-page .elmo-wholesale {
  width: 100%;
  max-width: none;
}

.elmo-page .elmo-wholesale-listing,
.elmo-page .elmo-wholesale-detail {
  width: 100%;
}

.elmo-page > .elmo-section:has(.elmo-wholesale) > .elmo-container {
  max-width: var(--elmo-max);
}

/* =========================================================
   ZWYKŁY KOSZYK — czytelna karta produktu detalicznego
   ========================================================= */

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-list article {
  grid-template-columns: 112px minmax(0, 1fr) minmax(120px, auto);
  gap: 24px;
  align-items: center;
  padding: 28px 0;
}

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-image {
  width: 112px;
  height: 128px;
  padding: 10px;
  border-radius: 18px;
  background: #f7fbfc;
}

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info {
  min-width: 0;
}

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info h2 {
  margin: 0 0 10px;
  font-size: 18px !important;
  line-height: 1.3;
}

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info .variation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 16px;
  color: var(--elmo-muted);
}

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info .variation dt,
.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info .variation dd {
  float: none;
  clear: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.45;
}

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info .variation dt {
  font-weight: 600;
}

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info .variation dd {
  color: var(--elmo-navy);
  font-weight: 700;
}

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info .variation p {
  margin: 0;
  line-height: inherit;
}

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-row-actions {
  margin-top: 14px;
}

.elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-line-total {
  min-width: 120px;
  color: var(--elmo-navy);
  font-size: 18px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

/* =========================================================
   ZWYKŁE PODSUMOWANIE KOSZYKA
   ========================================================= */

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table {
  table-layout: fixed;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table th {
  width: 42%;
  padding-right: 18px !important;
  color: var(--elmo-navy);
  font-weight: 700;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table td {
  width: 58%;
  min-width: 0;
  text-align: right !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li {
  margin: 0;
  padding: 0;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method label {
  color: var(--elmo-navy);
  font-weight: 600;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) .woocommerce-shipping-destination {
  margin: 9px 0 0;
  color: var(--elmo-muted);
  font-size: 11px;
  line-height: 1.5;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) .order-total td strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) .order-total .includes_tax {
  display: block;
  margin-top: 5px;
  color: var(--elmo-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
}

/* =========================================================
   ZWYKŁY CHECKOUT — tabela produktów tylko dla detalu
   ========================================================= */

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) {
  width: 100%;
  table-layout: fixed;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) thead th.product-name,
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .cart_item .product-name {
  width: 66%;
  padding-right: 22px !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) thead th.product-total,
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .cart_item .product-total {
  width: 34%;
  text-align: right !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .cart_item .product-name {
  color: var(--elmo-navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .product-quantity {
  color: var(--elmo-navy);
  font-weight: 800;
  white-space: nowrap;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) dl.variation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 9px;
  margin: 11px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(47, 44, 75, .08);
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) dl.variation dt,
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) dl.variation dd {
  float: none;
  clear: none;
  margin: 0;
  padding: 0;
  font-size: 10px;
  line-height: 1.45;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) dl.variation dt {
  color: var(--elmo-muted);
  font-weight: 500;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) dl.variation dd {
  color: var(--elmo-navy);
  font-weight: 700;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) dl.variation p {
  margin: 0;
  line-height: inherit;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .cart_item .product-total {
  color: var(--elmo-navy);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot th {
  width: 42%;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot td {
  width: 58%;
  min-width: 0;
  text-align: right !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li {
  margin: 0;
  padding: 0;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method label {
  color: var(--elmo-navy);
  font-size: 13px;
  font-weight: 600;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .order-total th,
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .order-total td {
  vertical-align: top;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .order-total td strong,
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .order-total td > .woocommerce-Price-amount {
  display: block;
  font-size: 19px;
  line-height: 1.2;
  white-space: nowrap;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .order-total .includes_tax {
  display: block;
  margin-top: 5px;
  color: var(--elmo-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
}

/* =========================================================
   MOBILE — detaliczny koszyk i checkout
   ========================================================= */

@media (max-width: 700px) {
  .elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-list article {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-image {
    width: 82px;
    height: 98px;
    padding: 8px;
    border-radius: 15px;
  }

  .elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info h2 {
    font-size: 15px !important;
  }

  .elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info .variation {
    gap: 4px 8px;
  }

  .elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info .variation dt,
  .elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-info .variation dd {
    font-size: 10px;
  }

  .elmo-cart-page:not(.is-wholesale-cart) .elmo-cart-line-total {
    grid-column: 2;
    min-width: 0;
    padding-top: 3px;
    font-size: 16px;
    text-align: left;
  }

  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table th,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table td {
    width: 50%;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) {
    table-layout: fixed;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) thead th.product-name,
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .cart_item .product-name {
    width: 64%;
    padding-right: 12px !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) thead th.product-total,
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .cart_item .product-total {
    width: 36%;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .cart_item .product-name {
    font-size: 12px;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .cart_item .product-total {
    font-size: 13px;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot th,
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot td {
    width: 50%;
    font-size: 12px !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .order-total td strong,
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .order-total td > .woocommerce-Price-amount {
    font-size: 17px;
  }
}


/* =========================================================
   ELMO 1.5.8 — checkout: faktura detaliczna + InPost
   ========================================================= */

.elmo-checkout-fields #billing_faktura_field {
  grid-column: 1 / -1;
  margin: 0 0 4px !important;
}

.elmo-checkout-fields #billing_faktura_field .woocommerce-form__label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  color: var(--elmo-navy);
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4;
  cursor: pointer;
}

.elmo-checkout-fields #billing_faktura {
  width: 20px;
  height: 20px;
  margin: 0 !important;
  flex: 0 0 20px;
  accent-color: var(--elmo-cyan);
}

.elmo-checkout-fields #billing_company_field[hidden],
.elmo-checkout-fields #billing_nip_field[hidden] {
  display: none !important;
}

/* Metody dostawy — logo InPost nie może dziedziczyć globalnego display:block. */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method {
  display: grid !important;
  gap: 9px;
  width: 100%;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  row-gap: 5px;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > input[type="radio"],
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > input[type="radio"] {
  grid-column: 1;
  width: 16px;
  height: 16px;
  margin: 0 !important;
  align-self: center;
  justify-self: center;
  accent-color: var(--elmo-cyan);
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > label,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > label {
  grid-column: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
  margin: 0 !important;
  color: var(--elmo-navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
  cursor: pointer;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li label img,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li label img,
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > img,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > img {
  display: inline-block !important;
  width: auto !important;
  max-width: 52px !important;
  max-height: 27px !important;
  height: auto !important;
  margin: 0 !important;
  object-fit: contain;
  vertical-align: middle;
  flex: 0 0 auto;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > img,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > img {
  grid-column: 2;
  justify-self: end;
}

/* Dodatkowe kontrolki wtyczek przewoźników (np. wybór punktu) układamy pod metodą. */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > :not(input):not(label):not(img),
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > :not(input):not(label):not(img) {
  grid-column: 2;
  max-width: 100%;
}

@media (max-width: 700px) {
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > label,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > label {
    font-size: 11px;
    gap: 5px;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li label img,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li label img,
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > img,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > img {
    max-width: 44px !important;
    max-height: 24px !important;
  }
}

/* =========================================================
   ELMO 1.5.9 — Order received + metody dostawy InPost
   ========================================================= */

/* Dodatkowe karty własnego widoku zamówienia. */
.elmo-order-note-card,
.elmo-order-bank-card {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid rgba(47, 44, 75, .10);
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(40, 34, 72, .045);
}

.elmo-order-note-card p {
  margin: 14px 0 0;
  color: var(--elmo-muted);
  font-size: 14px;
  line-height: 1.7;
  white-space: normal;
}

.elmo-order-bank-card h2 {
  margin: 6px 0 0;
  font-size: 28px;
  letter-spacing: -.035em;
}

.elmo-order-next-card.is-bank-transfer {
  background: #f4fbfc;
}

.elmo-order-bank-account {
  margin-top: 20px;
}

.elmo-order-bank-account.is-next {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--elmo-line);
}

.elmo-order-bank-account-name {
  display: block;
  color: var(--elmo-navy);
  font-size: 13px;
  line-height: 1.5;
}

.elmo-order-bank-card .elmo-order-bank-data {
  margin-top: 14px;
}

.elmo-order-bank-payment-meta {
  display: grid;
  gap: 0;
  margin-top: 20px;
  padding-top: 4px;
  border-top: 1px solid var(--elmo-line);
}

.elmo-order-bank-payment-meta > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(47, 44, 75, .08);
}

.elmo-order-bank-payment-meta > div:last-child {
  border-bottom: 0;
}

.elmo-order-bank-payment-meta span {
  color: var(--elmo-muted);
  font-size: 11px;
}

.elmo-order-bank-payment-meta strong {
  color: var(--elmo-navy);
  font-size: 12px;
  text-align: right;
  overflow-wrap: anywhere;
}

.elmo-order-invoice-flag {
  margin-top: 14px !important;
  color: var(--elmo-navy) !important;
}

.elmo-order-address-card p strong {
  color: var(--elmo-navy);
}

/*
 * W tabeli podsumowania oddajemy nieco więcej miejsca metodom dostawy.
 * Dzięki temu nazwa + cena + logo InPost nie są ściskane w wąskiej kolumnie.
 */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot th,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table th {
  width: 36%;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot td,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table td {
  width: 64%;
}

/*
 * InPost opakowuje logo w span.easypack-shipping-method-logo. W poprzedniej
 * wersji ten wrapper wpadał do reguły "dodatkowe kontrolki" i był przenoszony
 * do następnego wiersza. Ustawiamy osobną kolumnę na logo.
 */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li {
  grid-template-columns: 18px minmax(0, 1fr) 46px !important;
  column-gap: 8px !important;
  row-gap: 7px !important;
  align-items: center !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > label,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > label {
  grid-column: 2 / -1;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 5px;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  line-height: 1.25;
}

/* Jeśli logo jest rodzeństwem label, label zajmuje tylko środkową kolumnę. */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li:has(> .easypack-shipping-method-logo) > label,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li:has(> .easypack-shipping-method-logo) > label {
  grid-column: 2;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .easypack-shipping-method-logo,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  max-width: 42px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > .easypack-shipping-method-logo,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > .easypack-shipping-method-logo {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .easypack-shipping-method-logo img,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo img {
  display: block !important;
  width: auto !important;
  max-width: 42px !important;
  height: auto !important;
  max-height: 25px !important;
  margin: 0 !important;
  border: 0 !important;
  object-fit: contain;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .woocommerce-Price-amount,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .woocommerce-Price-amount {
  white-space: nowrap;
}

/* Punkt odbioru, przycisk wyboru mapy itd. pozostają pod całą metodą. */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > :not(input):not(label):not(img):not(.easypack-shipping-method-logo),
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > :not(input):not(label):not(img):not(.easypack-shipping-method-logo) {
  grid-column: 2 / -1;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 700px) {
  .elmo-order-note-card,
  .elmo-order-bank-card {
    padding: 24px 22px;
    border-radius: 22px;
  }

  .elmo-order-bank-card h2 {
    font-size: 24px;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot th,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table th {
    width: 32%;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot td,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table td {
    width: 68%;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li {
    grid-template-columns: 18px minmax(0, 1fr) 40px !important;
    column-gap: 6px !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > label,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > label {
    white-space: normal;
    font-size: 11px;
    line-height: 1.3;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .easypack-shipping-method-logo,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo {
    width: 38px;
    max-width: 38px;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .easypack-shipping-method-logo img,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo img {
    max-width: 38px !important;
    max-height: 23px !important;
  }
}

/* =========================================================
   ELMO 1.5.10 — checkout: InPost + kompaktowy mobile
   ========================================================= */

/*
 * Wtyczka InPost może wstawić logo jako rodzeństwo etykiety albo wewnątrz
 * etykiety. Zamiast sztywnej siatki używamy elastycznego wiersza, dzięki czemu
 * radio, nazwa/cena i logo zawsze tworzą jedną logiczną linię i nie nachodzą
 * na siebie.
 */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method {
  display: grid !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > input[type="radio"],
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > input[type="radio"] {
  order: 1;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  align-self: center !important;
  accent-color: var(--elmo-cyan);
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > label,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > label {
  order: 2;
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  min-width: 0 !important;
  max-width: calc(100% - 26px) !important;
  margin: 0 !important;
  color: var(--elmo-navy) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: right !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* Logo może być w label albo obok niego. W obu wariantach pozostaje inline. */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .easypack-shipping-method-logo,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo {
  display: inline-flex !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  max-width: 46px !important;
  height: 28px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  vertical-align: middle !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > .easypack-shipping-method-logo,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > .easypack-shipping-method-logo {
  order: 3;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .easypack-shipping-method-logo img,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo img {
  display: block !important;
  width: auto !important;
  max-width: 46px !important;
  height: auto !important;
  max-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: contain !important;
}

/* Przyciski/mapa/punkt odbioru wtyczki zawsze pod wybraną metodą. */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > :not(input):not(label):not(.easypack-shipping-method-logo),
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > :not(input):not(label):not(.easypack-shipping-method-logo) {
  order: 4;
  flex: 1 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 26px !important;
}

/* Więcej realnej przestrzeni dla metod dostawy na desktopie. */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot th,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table th {
  width: 30% !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot td,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table td {
  width: 70% !important;
}

@media (max-width: 700px) {
  /* Minimalny margines zewnętrzny — na telefonie wykorzystujemy prawie całą szerokość. */
  .elmo-commerce-head .elmo-container {
    width: calc(100% - 16px) !important;
  }

  .elmo-commerce-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .elmo-cart-page,
  .elmo-checkout {
    width: calc(100% - 12px) !important;
    max-width: none !important;
    margin-left: 6px !important;
    margin-right: 6px !important;
    gap: 12px !important;
  }

  .elmo-cart-card,
  .elmo-checkout-card,
  .elmo-order-summary,
  .elmo-checkout-order {
    width: 100% !important;
    max-width: none !important;
    padding: 15px 12px !important;
    border-radius: 16px !important;
  }

  .elmo-checkout-order h2,
  .elmo-order-summary .cart_totals h2 {
    font-size: 25px !important;
  }

  /* Tabela nie traci połowy szerokości na etykietę „Przesyłka”. */
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot .shipping,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table tr.shipping {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(47, 44, 75, .12) !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot .shipping > th,
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot .shipping > td,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table tr.shipping > th,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table tr.shipping > td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li {
    justify-content: flex-start !important;
    gap: 7px !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method li > label,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method li > label {
    flex: 1 1 0 !important;
    max-width: none !important;
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: 12px !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .easypack-shipping-method-logo,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo {
    flex-basis: 42px !important;
    width: 42px !important;
    max-width: 42px !important;
    height: 26px !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .easypack-shipping-method-logo img,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo img {
    max-width: 42px !important;
    max-height: 26px !important;
  }

  /* Pozostałe wiersze podsumowania dostają więcej miejsca na wartość. */
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot tr:not(.shipping) {
    grid-template-columns: minmax(72px, .65fr) minmax(0, 1.35fr) !important;
    column-gap: 10px !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot th,
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot td {
    font-size: 12px !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .order-total th,
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) .order-total td {
    font-size: 17px !important;
  }
}

@media (max-width: 430px) {
  .elmo-cart-page,
  .elmo-checkout {
    width: calc(100% - 8px) !important;
    margin-left: 4px !important;
    margin-right: 4px !important;
  }

  .elmo-cart-card,
  .elmo-checkout-card,
  .elmo-order-summary,
  .elmo-checkout-order {
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 14px !important;
  }
}

/* =========================================================
   ELMO 1.5.11 — final checkout width + InPost layout
   ========================================================= */

/*
 * Checkout ma własny dwukolumnowy layout. Wrapper WooCommerce nie powinien
 * dodatkowo odejmować 80 px od szerokości — szczególnie na telefonach.
 */
.elmo-commerce-body > .woocommerce {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/*
 * W tabeli fixed-layout kolumny z nagłówka Produkt / Kwota obowiązują również
 * tfoot. Dlatego zwykłe width:70% na komórce wysyłki nie działało. Wiersz
 * wysyłki wyjmujemy z geometrii tabeli i robimy z niego osobny blok na pełną
 * szerokość karty.
 */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot tr.woocommerce-shipping-totals.shipping,
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot tr.shipping,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table tr.woocommerce-shipping-totals.shipping,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table tr.shipping {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 17px 0 !important;
  border-bottom: 1px solid rgba(47, 44, 75, .12) !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot tr.shipping > th,
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot tr.shipping > td,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table tr.shipping > th,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table tr.shipping > td {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  text-align: left !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot tr.shipping > th,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table tr.shipping > th {
  color: var(--elmo-navy) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

/* Pełna szerokość listy metod. */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/*
 * Aktualny InPost generuje: input + label +
 * span.inpost_pl-shipping-method-meta-wrap. Meta-wrap zawiera logo / metadane.
 * Każda metoda dostaje trzy stabilne kolumny: radio | nazwa+cena | logo.
 */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method > li,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) auto !important;
  grid-auto-rows: auto !important;
  column-gap: 9px !important;
  row-gap: 7px !important;
  align-items: center !important;
  justify-content: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 8px 0 !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method > li > input[type="radio"],
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > input[type="radio"] {
  grid-column: 1 !important;
  grid-row: 1 !important;
  order: initial !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: center !important;
  align-self: center !important;
  flex: none !important;
  accent-color: var(--elmo-cyan);
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method > li > label,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > label {
  grid-column: 2 !important;
  grid-row: 1 !important;
  order: initial !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 4px 6px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--elmo-navy) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  flex: none !important;
}

/* Nowy wrapper InPost — nie traktujemy go jak kontrolki pod metodą. */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method > li > .inpost_pl-shipping-method-meta-wrap,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > .inpost_pl-shipping-method-meta-wrap {
  grid-column: 3 !important;
  grid-row: 1 !important;
  order: initial !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
}

/* Logo InPost — zarówno wewnątrz meta-wrap, jak i w starszym markupie. */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .inpost_pl-shipping-method-meta-wrap .easypack-shipping-method-logo,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .inpost_pl-shipping-method-meta-wrap .easypack-shipping-method-logo,
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method > li > .easypack-shipping-method-logo,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > .easypack-shipping-method-logo {
  order: initial !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  flex: 0 0 44px !important;
}

.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .easypack-shipping-method-logo img,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo img,
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .inpost_pl-shipping-method-meta-wrap img,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .inpost_pl-shipping-method-meta-wrap img {
  display: block !important;
  width: auto !important;
  max-width: 44px !important;
  height: auto !important;
  max-height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: contain !important;
}

/*
 * Dodatkowe elementy (np. przycisk/mapa wyboru Paczkomatu) mają znaleźć się
 * pod nazwą metody, a nie zabierać jej szerokości. Wykluczamy meta-wrap logo.
 */
.elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method > li > :not(input):not(label):not(.easypack-shipping-method-logo):not(.inpost_pl-shipping-method-meta-wrap),
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > :not(input):not(label):not(.easypack-shipping-method-logo):not(.inpost_pl-shipping-method-meta-wrap) {
  grid-column: 2 / -1 !important;
  grid-row: auto !important;
  order: initial !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
}

@media (max-width: 700px) {
  /* Wykorzystujemy praktycznie całą szerokość telefonu. */
  .elmo-commerce-page .elmo-commerce-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .elmo-commerce-body > .woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .elmo-commerce-body .elmo-cart-page,
  .elmo-commerce-body .elmo-checkout {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    gap: 10px !important;
  }

  .elmo-commerce-body .elmo-cart-card,
  .elmo-commerce-body .elmo-checkout-card,
  .elmo-commerce-body .elmo-order-summary,
  .elmo-commerce-body .elmo-checkout-order {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 14px !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) tfoot tr.shipping,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table tr.shipping {
    gap: 8px !important;
    padding: 13px 0 !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method > li,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li {
    grid-template-columns: 20px minmax(0, 1fr) 40px !important;
    column-gap: 7px !important;
    padding: 6px 0 !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method > li > label,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > label {
    font-size: 12px !important;
    line-height: 1.32 !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .inpost_pl-shipping-method-meta-wrap .easypack-shipping-method-logo,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .inpost_pl-shipping-method-meta-wrap .easypack-shipping-method-logo,
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method > li > .easypack-shipping-method-logo,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > .easypack-shipping-method-logo {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 24px !important;
    flex-basis: 38px !important;
  }

  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .easypack-shipping-method-logo img,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo img,
  .elmo-checkout-order .woocommerce-checkout-review-order-table:not(.is-wholesale-review) #shipping_method .inpost_pl-shipping-method-meta-wrap img,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .inpost_pl-shipping-method-meta-wrap img {
    max-width: 38px !important;
    max-height: 24px !important;
  }
}

@media (max-width: 430px) {
  .elmo-commerce-body .elmo-cart-page,
  .elmo-commerce-body .elmo-checkout {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  .elmo-commerce-body .elmo-cart-card,
  .elmo-commerce-body .elmo-checkout-card,
  .elmo-commerce-body .elmo-order-summary,
  .elmo-commerce-body .elmo-checkout-order {
    padding-left: 8px !important;
    padding-right: 8px !important;
    border-radius: 12px !important;
  }
}

/* =========================================================
   ELMO 1.5.12 — tiny safe mobile gutter
   ========================================================= */
@media (max-width: 700px) {
  /* Mały, ale rzeczywisty margines od krawędzi ekranu. */
  .elmo-commerce-page .elmo-commerce-body {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    overflow-x: clip !important;
  }

  .elmo-commerce-body > .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .elmo-commerce-body .elmo-cart-page,
  .elmo-commerce-body .elmo-checkout {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .elmo-commerce-body .elmo-cart-card,
  .elmo-commerce-body .elmo-checkout-card,
  .elmo-commerce-body .elmo-order-summary,
  .elmo-commerce-body .elmo-checkout-order {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Zabezpieczenie przed wypychaniem karty przez płatności / tabele. */
  .elmo-checkout-order .woocommerce-checkout-review-order-table,
  .elmo-checkout-order #payment,
  .elmo-checkout-order .woocommerce-checkout-payment,
  .elmo-checkout-order .wc_payment_methods,
  .elmo-checkout-order .payment_box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .elmo-checkout-order input,
  .elmo-checkout-order select,
  .elmo-checkout-order textarea,
  .elmo-checkout-card input,
  .elmo-checkout-card select,
  .elmo-checkout-card textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 430px) {
  .elmo-commerce-page .elmo-commerce-body {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}


/* =========================================================
   ELMO 1.5.13 — compact mobile gutters outside checkout
   ========================================================= */
@media (max-width: 700px) {
  /* Pozostałe podstrony: mały, równy margines zamiast szerokiego
     desktopowego obramowania. Checkout ma własny, jeszcze ciaśniejszy gutter. */
  body:not(.woocommerce-checkout) .elmo-container {
    width: calc(100% - 24px);
  }
}

@media (max-width: 440px) {
  body:not(.woocommerce-checkout) .elmo-container {
    width: calc(100% - 20px);
  }
}

/* =========================================================
   ELMO 1.5.18 — koszyk detaliczny: pełnoszeroka wysyłka
   ========================================================= */
/*
 * WooCommerce buduje podsumowanie koszyka jako tabelę 2-kolumnową.
 * JS motywu nadaje komórce wysyłki colspan=2 i przenosi nagłówek
 * "Przesyłka" do środka tej komórki. Dzięki temu metody InPost nie
 * są już ograniczane do wąskiej kolumny wartości.
 */
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table > tbody {
  display: table-row-group !important;
  width: auto !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table > tbody > tr {
  display: table-row !important;
  width: auto !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table > tbody > tr > th,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) table.shop_table > tbody > tr > td {
  display: table-cell !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* Po korekcie JS źródłowa komórka TH jest zbędna. */
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) tr.woocommerce-shipping-totals.shipping > th,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) tr.shipping > th.elmo-cart-shipping-source-title {
  display: none !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) tr.woocommerce-shipping-totals.shipping > td.elmo-cart-shipping-cell,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) tr.shipping > td.elmo-cart-shipping-cell {
  display: table-cell !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  padding: 17px 0 !important;
  border-bottom: 1px solid rgba(47, 44, 75, .12) !important;
  text-align: left !important;
  vertical-align: top !important;
  box-sizing: border-box !important;
}

.elmo-order-summary .elmo-cart-shipping-title {
  display: block !important;
  margin: 0 0 14px !important;
  color: var(--elmo-navy) !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) 62px !important;
  align-items: center !important;
  column-gap: 10px !important;
  row-gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  box-sizing: border-box !important;
  list-style: none !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > input[type="radio"] {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 !important;
  justify-self: center !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > label {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--elmo-navy) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  text-align: left !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .woocommerce-Price-amount {
  white-space: nowrap !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > .inpost_pl-shipping-method-meta-wrap,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > .easypack-shipping-method-logo {
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 62px !important;
  min-width: 62px !important;
  max-width: 62px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  justify-self: end !important;
  box-sizing: border-box !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .inpost_pl-shipping-method-meta-wrap .easypack-shipping-method-logo,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo {
  display: flex !important;
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo img,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .inpost_pl-shipping-method-meta-wrap img {
  display: block !important;
  width: auto !important;
  max-width: 58px !important;
  height: auto !important;
  max-height: 34px !important;
  margin: 0 !important;
  object-fit: contain !important;
}

/* Widget Paczkomatu / pozostałe informacje umieszczamy pod głównym wierszem. */
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > :not(input):not(label):not(.easypack-shipping-method-logo):not(.inpost_pl-shipping-method-meta-wrap) {
  grid-column: 2 / -1 !important;
  grid-row: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) .woocommerce-shipping-destination,
.elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) .woocommerce-shipping-calculator {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

@media (max-width: 520px) {
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li {
    grid-template-columns: 22px minmax(0, 1fr) 50px !important;
    column-gap: 8px !important;
  }

  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > label {
    font-size: 13px !important;
  }

  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > .inpost_pl-shipping-method-meta-wrap,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method > li > .easypack-shipping-method-logo {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
  }

  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .inpost_pl-shipping-method-meta-wrap .easypack-shipping-method-logo,
  .elmo-order-summary .cart_totals:not(.elmo-wholesale-cart-totals) #shipping_method .easypack-shipping-method-logo {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
  }
}

