/* Stop ugly word splitting in buttons */


.wp-block-button__link,
button,
a.button {
  hyphens: auto !important;
  overflow-wrap: anywhere;
  word-break: normal !important;
}

/* Hide Dokan "Become a Vendor" button and migration section */
.dokan-account-migration-lists,
.dokan-account-migration,
.dokan-vendor-upgrade,
[class*="dokan-account-migration"],
[class*="become-vendor"],
ul.dokan-account-migration-lists {
  display: none !important;
}

.pba-store-setup {
  max-width: 720px;
}

.pba-store-setup__callout {
  background: #fff4d6;
  border-left: 4px solid #e1a200;
  padding: 12px 14px;
  margin: 12px 0 16px;
}

.pba-store-setup__steps {
  background: #f6f7fb;
  border: 1px solid #d9dbe7;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 16px;
}

.pba-store-setup__steps h3 {
  margin: 0 0 8px;
}

.pba-store-setup__steps ol {
  margin: 0 0 0 18px;
}

.pba-store-setup__help {
  color: #5b5f6a;
  display: block;
  margin-top: 6px;
}

/* My Account: move menu under dashboard + tile layout */
.woocommerce-account .woocommerce {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  gap: 20px;
}

.woocommerce-account .woocommerce-MyAccount {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px;
}

/* Strong override in case theme uses grid on account layout */
.woocommerce-account .entry-content .woocommerce {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
  grid-auto-flow: row !important;
  column-gap: 0 !important;
  row-gap: 20px !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  order: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  float: none !important;
  clear: both !important;
  margin: 0 auto !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  order: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  float: none !important;
  clear: both !important;
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e8eaf2;
  border-radius: 12px;
  color: #2b2f3a;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(20, 27, 48, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 52px;
  height: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 27, 48, 0.12);
  border-color: #d7dbef;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
  outline: none;
  border-color: #7b73ff;
  box-shadow: 0 6px 16px rgba(20, 27, 48, 0.08);
}

.woocommerce-account .pba-vendor-account-note {
  margin: 0 0 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #f6f8ff 0%, #ffffff 60%, #fff4ef 100%);
  border: 1px solid #e7e9f3;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(22, 30, 58, 0.08);
}

.woocommerce-account .pba-vendor-account-note h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.woocommerce-account .pba-vendor-account-note p {
  margin: 0 0 12px;
  color: #4b5162;
}

.woocommerce-account .pba-vendor-account-note .button {
  border-radius: 999px;
}

@media (max-width: 640px) {
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Bunny upload page: modern card layout */
.pba-bunny-upload {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
  background: linear-gradient(135deg, #f6f8ff 0%, #ffffff 60%, #fff6f6 100%);
  border: 1px solid #e7e9f3;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(22, 30, 58, 0.08);
}

.pba-bunny-upload h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.pba-bunny-upload p {
  margin: 0 0 16px;
  color: #4b5162;
}

#pba-bunny-upload-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #ffffff;
  border: 1px dashed #cfd6f6;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(114, 123, 255, 0.05);
}

#pba-bunny-file {
  width: 100%;
  padding: 10px 12px;
  background: #f8f9ff;
  border: 1px solid #e3e7ff;
  border-radius: 10px;
}

#pba-bunny-upload-form .button {
  padding: 10px 16px;
  border-radius: 999px;
}

#pba-bunny-status {
  display: inline-block;
  margin-top: 10px;
  color: #2b2f3a;
}

.pba-bunny-gallery {
  margin-top: 22px;
  background: #ffffff;
  border: 1px solid #eef0f6;
  border-radius: 14px;
  padding: 16px;
}

.pba-bunny-gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pba-bunny-gallery li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #eef0f6;
  border-radius: 12px;
  background: #fbfcff;
}

.pba-bunny-gallery li a {
  font-weight: 600;
  text-decoration: none;
}

.pba-bunny-gallery li small {
  display: block;
  color: #6b7280;
}

.pba-bunny-gallery .button.pba-bunny-delete {
  padding: 6px 10px;
  border-radius: 999px;
}

@media (max-width: 820px) {
  #pba-bunny-upload-form {
    grid-template-columns: 1fr;
  }
  .pba-bunny-gallery ul {
    grid-template-columns: 1fr;
  }
}

/* Dokan store page: remove blog sidebar + polish layout */
.dokan-store #secondary,
.dokan-store .widget-area,
.dokan-store .dokan-store-sidebar {
  display: none !important;
}

.dokan-store #primary,
.dokan-store .dokan-store-main,
.dokan-store .dokan-single-store {
  width: 100% !important;
  max-width: 1200px;
  margin: 0 auto;
}

.dokan-store .dokan-single-store .store-banner img {
  border-radius: 14px;
}

.dokan-store .dokan-store-wrap {
  background: linear-gradient(180deg, #f6f7fb 0%, #ffffff 100%);
  padding: 24px 0 40px;
}

.dokan-store .profile-frame {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(27, 31, 59, 0.08);
}

.dokan-store .dokan-store-info {
  font-size: 15px;
}

.dokan-store .dokan-btn,
.dokan-store .dokan-btn-theme {
  border-radius: 8px;
  box-shadow: none;
}

/* Dokan store: hide bank details on public store pages */
.dokan-store .dokan-bank-name,
.dokan-store .dokan-bank-iban {
  display: none !important;
}

/* Dokan store: reduce banner height */
.dokan-store .profile-info-box .profile-info-img,
.dokan-store .profile-info-box .profile-info-img img {
  max-height: 220px;
}

.dokan-store .profile-info-box .profile-info-img img {
  object-fit: cover;
}

.dokan-store {
  background:
    radial-gradient(circle at top left, rgba(255, 188, 153, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(114, 123, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #f8f7ff 0%, #fffdfb 36%, #ffffff 100%);
}

.dokan-store .wp-site-blocks {
  min-height: 100vh;
}

.dokan-store .entry-content.wp-block-post-content,
.dokan-store .dokan-store-wrap {
  max-width: 1260px;
  margin: 0 auto;
}

.dokan-store #breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px auto 14px;
  padding: 8px 14px;
  border: 1px solid #ece8f6;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(35, 41, 70, 0.08);
  color: #575d72;
  font-size: 14px;
}

.dokan-store #breadcrumbs a {
  color: #5f53d6;
  text-decoration: none;
}

.dokan-store #breadcrumbs a:hover {
  text-decoration: underline;
}

.dokan-store .dokan-store-wrap {
  padding: 18px 20px 56px;
}

.dokan-store .profile-frame {
  overflow: hidden;
  border: 1px solid rgba(231, 229, 244, 0.9);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(26, 33, 60, 0.12);
  background: #ffffff;
}

.dokan-store .profile-info-box {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.76) 0%, rgba(255,255,255,0.98) 100%);
}

.dokan-store .profile-info-box .profile-info-img,
.dokan-store .profile-info-box .dummy-image {
  width: 100%;
  min-height: 320px;
  max-height: none;
  object-fit: cover;
  display: block;
}

.dokan-store .profile-info-box .dummy-image {
  background:
    linear-gradient(135deg, rgba(116, 139, 255, 0.8), rgba(255, 181, 136, 0.68)),
    linear-gradient(180deg, #dde4ff, #fff4ea);
}

.dokan-store .profile-info-summery-wrapper {
  position: relative;
  margin-top: -72px;
  padding: 0 28px 28px;
}

.dokan-store .profile-info-summery {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(233, 230, 243, 0.9);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,246,255,0.98) 54%, rgba(255,247,242,0.96) 100%);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 44px rgba(26, 33, 60, 0.12);
}

.dokan-store .profile-info-head {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  margin-bottom: 0;
}

.dokan-store .profile-info-head .profile-img {
  flex: 0 0 148px;
  width: 148px;
  height: 148px;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff, #f7f3ff);
  box-shadow: 0 20px 40px rgba(23, 31, 56, 0.18);
}

.dokan-store .profile-info-head .profile-img img,
.dokan-store .profile-img.profile-img-circle img,
.dokan-store .profile-img.profile-img-square img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  background: #ffffff;
}

.dokan-store .store-name {
  display: inline-flex;
  align-items: center;
  margin: 0 0 6px;
  padding: 8px 14px;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #1b2c3d !important;
  text-shadow: none;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 230, 242, 0.92);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(26, 33, 60, 0.10);
  position: relative;
  z-index: 2;
}

.dokan-store .store-name .dokan-verified-badge,
.dokan-store .store-name .dokan-store-verified {
  vertical-align: middle;
}

.dokan-store .profile-info {
  display: grid;
  gap: 10px;
  align-content: center;
  min-width: 0;
  justify-items: stretch;
  padding-right: 10px;
  position: relative;
  margin-top: -6px;
}

.dokan-store .dokan-store-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  grid-template-areas:
    "address phone"
    "email rating"
    "company company";
  align-items: stretch;
  gap: 12px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 100%;
}

.dokan-store .dokan-store-info li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px 14px 42px;
  border: 1px solid #ebe7f6;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  color: #44506b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.42);
  overflow: hidden;
}

.dokan-store .dokan-store-info li i {
  display: none !important;
}

.dokan-store .dokan-store-info li::before {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8e5f;
  font-family: "Font Awesome 5 Free";
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.dokan-store .dokan-store-info .dokan-store-address::before {
  content: "\f3c5";
}

.dokan-store .dokan-store-info .dokan-store-phone::before {
  content: "\f3cd";
}

.dokan-store .dokan-store-info .dokan-store-email::before {
  content: "\f0e0";
}

.dokan-store .dokan-store-info .dokan-store-rating::before {
  content: "\f005";
}

.dokan-store .dokan-store-info .dokan-store-address,
.dokan-store .dokan-store-info .dokan-store-email {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-self: stretch !important;
}

.dokan-store .dokan-store-info .dokan-store-phone,
.dokan-store .dokan-store-info .dokan-store-rating {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding-right: 14px;
  justify-self: stretch !important;
}

.dokan-store .dokan-store-info .dokan-store-company-name,
.dokan-store .dokan-store-info .dokan-store-company,
.dokan-store .dokan-store-info .dokan-bank-name {
  width: auto !important;
  max-width: none !important;
  justify-self: stretch !important;
}

.dokan-store .dokan-store-info .dokan-store-address {
  grid-area: address !important;
}

.dokan-store .dokan-store-info .dokan-store-phone {
  grid-area: phone !important;
  max-width: 240px !important;
  justify-self: start !important;
}

.dokan-store .dokan-store-info .dokan-store-email {
  grid-area: email !important;
}

.dokan-store .dokan-store-info .dokan-store-rating {
  grid-area: rating !important;
  white-space: normal !important;
  line-height: 1.35;
  overflow: visible !important;
}

.dokan-store .dokan-store-info .dokan-store-company-name,
.dokan-store .dokan-store-info .dokan-store-company,
.dokan-store .dokan-store-info .dokan-bank-name {
  grid-area: company !important;
}

.dokan-store .profile-info .dokan-store-info {
  padding-left: 0;
}

.dokan-store.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info {
  padding: 0 !important;
}

.dokan-store.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.dokan-store.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info li {
  float: none !important;
  text-align: left !important;
}

.dokan-store.dokan-single-store .profile-frame .profile-info-box .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info li i {
  display: none !important;
}

.dokan-store.dokan-single-store .profile-frame .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-summery .profile-info {
  padding: 0 !important;
}

.dokan-store.dokan-single-store .profile-frame.profile-frame-no-banner .profile-info-box.profile-layout-layout3 .profile-info-summery-wrapper .profile-info-summery .profile-info .dokan-store-info li i {
  margin-left: 0 !important;
}

.dokan-store .profile-info .store-social-wrapper {
  position: absolute !important;
  top: -18px !important;
  right: 20px !important;
  width: auto !important;
  margin-top: 0 !important;
  justify-content: flex-end !important;
}

.dokan-store .profile-info .store-social {
  justify-content: flex-end !important;
}

.dokan-store .dokan-store-info a {
  color: #33435f;
  text-decoration: none;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dokan-store .dokan-store-address a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.dokan-store .dokan-store-info a:hover {
  color: #5f53d6;
}

.dokan-store .store-social-wrapper {
  margin-top: 2px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.dokan-store .store-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 100%;
}

.dokan-store .store-social li {
  display: flex;
}

.dokan-store .store-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #675bdf, #8a7cff);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(94, 84, 215, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.dokan-store .store-social a i,
.dokan-store .store-social a svg {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 18px;
  line-height: 1;
  margin: 0;
  text-align: center;
  transform: none;
}

.dokan-store .store-social a i::before {
  display: block;
  line-height: 1;
}

.dokan-store .store-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(94, 84, 215, 0.28);
}

.dokan-store .dokan-store-tabs {
  margin-top: 18px;
  border: 0;
  border-radius: 20px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 16px 32px rgba(26, 33, 60, 0.08);
  overflow: hidden;
}

.dokan-store .dokan-store-tabs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 14px 18px;
  list-style: none;
}

.dokan-store .dokan-store-tabs .dokan-list-inline a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f4f1ff;
  color: #4d43c4;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dokan-store .dokan-store-tabs .dokan-list-inline a:hover {
  background: #e9e4ff;
  transform: translateY(-1px);
}

.dokan-store .store-page-wrap {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid rgba(232, 229, 244, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 52px rgba(26, 33, 60, 0.08);
  overflow: hidden;
}

.dokan-store .woocommerce-ordering,
.dokan-store .product-name-search {
  margin-bottom: 18px;
}

.dokan-store form.dokan-store-products-ordeby,
.dokan-store .store-search {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #ece8f6;
  border-radius: 18px;
  background: linear-gradient(135deg, #faf9ff, #fff5ef);
}

.dokan-store .store-search input[type="search"],
.dokan-store .store-search input[type="text"],
.dokan-store .woocommerce-ordering select {
  min-height: 48px;
  border: 1px solid #ddd8ef;
  border-radius: 14px;
  background: #ffffff;
}

.dokan-store .dokan-btn,
.dokan-store .dokan-btn-theme,
.dokan-store .store-search button,
.dokan-store .store-search input[type="submit"] {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #6558dc, #886ff7);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(96, 82, 217, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dokan-store .dokan-btn:hover,
.dokan-store .dokan-btn-theme:hover,
.dokan-store .store-search button:hover,
.dokan-store .store-search input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(96, 82, 217, 0.28);
}

.dokan-store ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.dokan-store ul.products li.product {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 16px 16px 18px;
  min-width: 0;
  height: 100%;
  border: 1px solid #ece8f6;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  box-shadow: 0 16px 34px rgba(26, 33, 60, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
  overflow: hidden;
}

.dokan-store ul.products li.product:hover {
  transform: translateY(-2px);
  border-color: #ddd5f4;
  box-shadow: 0 22px 42px rgba(26, 33, 60, 0.12);
}

.dokan-store ul.products li.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f7f9fc;
  border-radius: 18px;
}

.dokan-store ul.products li.product .woocommerce-LoopProduct-link,
.dokan-store ul.products li.product .woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.dokan-store ul.products li.product .woocommerce-loop-product__title,
.dokan-store ul.products li.product h2.woocommerce-loop-product__title,
.dokan-store ul.products li.product .woocommerce-loop-product__title a {
  margin: 0;
  color: #173949;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dokan-store ul.products li.product .price {
  margin: 0 0 12px;
  color: #3c556d;
  font-weight: 700;
}

.dokan-store ul.products li.product .wc-gzd-additional-info,
.dokan-store ul.products li.product .wc-gzd-additional-info a {
  margin: 0 0 12px;
  color: #5d7084;
  font-size: 13px;
  line-height: 1.45;
}

.dokan-store ul.products li.product .button,
.dokan-store ul.products li.product a.button,
.dokan-store ul.products li.product .added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 44px;
  margin-top: auto;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 16px;
  border-radius: 999px;
  white-space: nowrap;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: manual !important;
  text-align: center;
  line-height: 1.2;
  position: static !important;
  left: auto !important;
  right: auto !important;
  float: none !important;
  box-sizing: border-box;
}

.dokan-store .dokan-info,
.dokan-store .woocommerce-info {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #dbe8f6;
  border-radius: 20px;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  color: #35516b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.44);
}

@media (max-width: 960px) {
  .dokan-store .profile-info-summery {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .dokan-store .dokan-store-info {
    grid-template-columns: 1fr;
  }

  .dokan-store .profile-info {
    width: 100%;
    padding-right: 0;
  }

  .dokan-store .store-social-wrapper,
  .dokan-store .store-social {
    justify-content: center;
  }

  .dokan-store ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dokan-store .dokan-store-wrap {
    padding: 14px 12px 40px;
  }

  .dokan-store .store-page-wrap,
  .dokan-store .profile-info-summery-wrapper {
    padding-left: 14px;
    padding-right: 14px;
  }

  .dokan-store .profile-info-summery {
    padding: 18px;
  }

  .dokan-store .profile-info-box .profile-info-img,
  .dokan-store .profile-info-box .dummy-image {
    min-height: 220px;
  }

  .dokan-store .profile-info-head {
    align-items: center;
  }

  .dokan-store .profile-info-head .profile-img {
    flex-basis: 92px;
    width: 92px;
    height: 92px;
    border-radius: 20px;
  }

  .dokan-store .profile-info-head .profile-img img,
  .dokan-store .profile-img.profile-img-circle img,
  .dokan-store .profile-img.profile-img-square img {
    border-radius: 14px;
  }

  .dokan-store .store-name {
    font-size: 28px;
  }

  .dokan-store .store-page-wrap {
    padding: 16px;
  }

  .dokan-store form.dokan-store-products-ordeby,
  .dokan-store .store-search {
    flex-direction: column;
    align-items: stretch;
  }

  .dokan-store ul.products {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Home: product collection cards */
.pba-card .wp-block-woocommerce-product-collection .wc-block-product,
.pba-card .wp-block-woocommerce-product-collection .wc-block-product-template > li {
  background: #ffffff;
  border: 1px solid #e8eaf2;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(20, 27, 48, 0.08);
  padding: 14px 14px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pba-card .wp-block-woocommerce-product-collection .wc-block-product:hover,
.pba-card .wp-block-woocommerce-product-collection .wc-block-product-template > li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 27, 48, 0.12);
  border-color: #d7dbef;
}

.pba-card .wp-block-woocommerce-product-collection .wc-block-components-product-image img,
.pba-card .wp-block-woocommerce-product-collection .wc-block-product-template > li img {
  border-radius: 12px;
}

.pba-card .wp-block-woocommerce-product-collection .wc-block-components-product-title {
  font-size: 16px;
  line-height: 1.4;
  margin: 8px 0 4px;
}

.pba-card .wp-block-woocommerce-product-collection .wc-block-components-product-price {
  color: #4b5162;
}

.pba-card .wp-block-woocommerce-product-collection .wp-block-button__link {
  border-radius: 999px;
  padding: 8px 14px;
}

/* Home: search cards (Nach Thema/Region/Format) */
.pba-container.pba-search .hero-item .wp-block-column.is-style-default.has-background {
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(18, 24, 45, 0.10);
  padding: 16px 16px 18px;
  min-height: 100%;
}

.pba-container.pba-search .hero-item .wp-block-column.is-style-default.has-background > *:last-child {
  margin-bottom: 0;
}

/* Pill groups: keep tidy on mobile */
.pba-container.pba-search .hero-item .wp-block-buttons,
.pba-container.pba-search .hero-item .wp-block-group,
.pba-container.pba-search .hero-item .wp-block-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.pba-container.pba-search .hero-item a,
.pba-container.pba-search .hero-item .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #e5e7f0;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(12, 18, 38, 0.08);
  white-space: normal;
}

.pba-container.pba-search .hero-item a:focus,
.pba-container.pba-search .hero-item .wp-block-button__link:focus {
  outline: none;
  border-color: #7b73ff;
  box-shadow: 0 0 0 3px rgba(123, 115, 255, 0.2);
}

/* PLZ search block */
.pba-container.pba-search .pba-plz-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.pba-container.pba-search .pba-plz-search input[type="search"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d9def0;
  border-radius: 10px;
  background: #fff;
}

.pba-container.pba-search .pba-plz-search button[type="submit"] {
  padding: 8px 12px;
  border-radius: 10px;
}

@media (max-width: 820px) {
  .pba-container.pba-search .hero-item .wp-block-column.is-style-default.has-background {
    padding: 14px;
  }
  .pba-container.pba-search .pba-plz-search {
    grid-template-columns: 1fr;
  }
}

/* Home: Top Produkte carousel polish + arrows */
#top + .wp-block-woocommerce-product-collection,
#top ~ .wp-block-woocommerce-product-collection {
  --pba-carousel-gap: 18px;
}

#top + .wp-block-woocommerce-product-collection .wc-block-product-template,
#top ~ .wp-block-woocommerce-product-collection .wc-block-product-template {
  gap: var(--pba-carousel-gap);
  padding-right: 24px;
  scroll-padding-right: 24px;
}

#top + .wp-block-woocommerce-product-collection .wc-block-product-template > li,
#top ~ .wp-block-woocommerce-product-collection .wc-block-product-template > li {
  min-width: 250px;
}

#top + .wp-block-woocommerce-product-collection .wc-block-components-product-title,
#top ~ .wp-block-woocommerce-product-collection .wc-block-components-product-title,
#top + .wp-block-woocommerce-product-collection .wc-block-components-product-rating,
#top ~ .wp-block-woocommerce-product-collection .wc-block-components-product-rating {
  display: block !important;
}

#top + .wp-block-woocommerce-product-collection .wc-block-components-carousel__nav button,
#top ~ .wp-block-woocommerce-product-collection .wc-block-components-carousel__nav button {
  opacity: 1 !important;
  background: #111;
  color: #fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  box-shadow: 0 10px 22px rgba(20, 27, 48, 0.18);
}

#top + .wp-block-woocommerce-product-collection .wc-block-components-carousel__nav button:hover,
#top ~ .wp-block-woocommerce-product-collection .wc-block-components-carousel__nav button:hover {
  transform: translateY(-1px);
}

/* Dokan store list: modern card styling */
#dokan-seller-listing-wrap .dokan-seller-wrap,
#dokan-seller-listing-wrap .dokan-seller-wrap li {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

#dokan-seller-listing-wrap .dokan-seller-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
  justify-items: stretch;
  grid-auto-flow: row dense;
}

#dokan-seller-listing-wrap,
#dokan-seller-listing-wrap .seller-listing-content {
  width: 100% !important;
}

#dokan-seller-listing-wrap {
  max-width: 1040px;
  margin: 0 auto;
}

#dokan-seller-listing-wrap .seller-listing-content {
  margin: 0;
  padding: 0;
}

#dokan-seller-listing-wrap .seller-listing-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#dokan-seller-listing-wrap .dokan-seller-wrap {
  max-width: 100%;
  width: 100%;
}

#dokan-seller-listing-wrap .dokan-seller-wrap::before,
#dokan-seller-listing-wrap .dokan-seller-wrap::after {
  content: none !important;
  display: none !important;
}

#dokan-seller-listing-wrap .dokan-seller-wrap > * {
  grid-column: auto !important;
  grid-row: auto !important;
  float: none !important;
}

/* Constrain header / site logo so it cannot render excessively large
   on wizard or account pages. Keeps aspect ratio. */
#wc-logo img,
.custom-logo-link img,
.site-branding img,
.site-logo img,
.custom-logo,
.site-header .site-logo img {
  max-height: 120px !important;
  height: auto !important;
  width: auto !important;
}

/* Dokan wizard logo (specifically #wc-logo) - cap at 100px */
#wc-logo img {
  max-height: 100px !important;
}

/* Small adjustments for very narrow screens */
@media (max-width:420px) {
  #wc-logo img,
  .custom-logo-link img,
  .site-branding img,
  .site-logo img,
  .custom-logo { max-height: 80px !important; }
}

#dokan-seller-listing-wrap .dokan-single-seller {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}

#dokan-seller-listing-wrap .store-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important;
}

#dokan-seller-listing-wrap .dokan-single-seller.woocommerce,
#dokan-seller-listing-wrap .dokan-single-seller.coloum-3 {
  width: 100% !important;
}

#dokan-store-listing-filter-wrap {
  max-width: 980px;
  margin: 0 auto 20px;
}

#dokan-store-listing-filter-wrap,
#dokan-store-listing-filter-wrap * {
  float: none !important;
}

#dokan-store-listing-filter-wrap {
  width: 100% !important;
}

#dokan-store-listing-filter-wrap .dokan-geolocation-locations-map-top {
  width: 100% !important;
  margin-bottom: 16px;
}

#dokan-seller-listing-wrap {
  clear: both;
  margin-top: 10px;
}

#dokan-seller-listing-wrap .dokan-single-seller {
  background: #ffffff;
  border: 1px solid #e8eaf2;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(20, 27, 48, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#dokan-seller-listing-wrap .dokan-single-seller:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 27, 48, 0.12);
  border-color: #d7dbef;
}

#dokan-seller-listing-wrap .store-header,
#dokan-seller-listing-wrap .store-banner {
  background: linear-gradient(120deg, #f1f4ff 0%, #f7f7fb 100%);
}

#dokan-seller-listing-wrap .store-banner img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f2f4f8;
  display: block;
}

#dokan-seller-listing-wrap .store-banner {
  position: relative;
  overflow: hidden;
}

#dokan-seller-listing-wrap .store-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

#dokan-seller-listing-wrap .store-content {
  padding: 14px 16px 10px;
}

#dokan-seller-listing-wrap .store-data h2 {
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 8px;
}

#dokan-seller-listing-wrap .store-data h2 a {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

#dokan-seller-listing-wrap .store-address,
#dokan-seller-listing-wrap .store-phone {
  font-size: 13px;
  color: #4b5162;
  margin: 0 0 6px;
}

#dokan-seller-listing-wrap .store-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid #eef0f6;
  margin-top: auto;
  background: #ffffff;
  width: 100%;
  flex-wrap: nowrap;
}

#dokan-seller-listing-wrap .seller-avatar img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#dokan-seller-listing-wrap .dokan-follow-store-button,
#dokan-seller-listing-wrap .dokan-btn-theme,
#dokan-seller-listing-wrap .dokan-btn {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1;
}

#dokan-seller-listing-wrap .dokan-btn-round {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

#dokan-seller-listing-wrap .seller-avatar {
  margin-left: auto;
}

@media (max-width: 900px) {
  #dokan-seller-listing-wrap .dokan-seller-wrap {
    grid-template-columns: 1fr;
  }
}

/* Remove clearfix element that breaks grid layout */
#dokan-seller-listing-wrap .dokan-seller-wrap .dokan-clearfix {
  display: none !important;
}


.dokan-vendor-setup-wizard #wc-logo img{
  max-width: 50px !important;
  height: auto !important;
}

.form-table .dokan-bank-settings-template .dokan-form-group img {
  height: 60px;
  display: none !important;
}

/* Hide US-specific bank fields by input name */
.form-table .dokan-bank-settings-template .dokan-form-group
input[name="settings[bank][ac_number]"],
input[name="settings[bank][routing_number]"],
input[name="settings[bank][swift]"],
img[src*="bank-check"] {
  display: none !important;
}

/* Hide the parent form-group (and row) of those inputs */
.form-table .dokan-bank-settings-template .dokan-form-group
input[name="settings[bank][ac_number]"],
input[name="settings[bank][routing_number]"],
input[name="settings[bank][swift]"] {
  visibility: hidden !important;
}

input[name="settings[bank][ac_number]"]â€‹,
input[name="settings[bank][routing_number]"],
input[name="settings[bank][swift]"] {
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Hide parent form-groups entirely */
.dokan-form-group:has(input[name="settings[bank][ac_number]"]),
.dokan-form-group:has(input[name="settings[bank][routing_number]"]),
.dokan-form-group:has(input[name="settings[bank][bank_addr]"]) {
  display: none !important;
}

/* Hide bank-check image form-group */
.dokan-form-group:has(img[src*="bank-check"]) {
  display: none !important;
}
body.dokan-vendor-setup-wizard { outline: none !important; }

/* Dokan wizard payment cleanup (DE): keep only relevant fields. */
body.dokan-vendor-setup-wizard form#dokan-seller-payment-setup-form input[name="settings[bank][swift]"] {
  display: block !important;
  visibility: visible !important;
  max-height: none !important;
  margin: initial !important;
  padding: 8px 12px !important;
  border: 1px solid #e2e8f0 !important;
}

body.dokan-vendor-setup-wizard form#dokan-seller-payment-setup-form .dokan-form-group:has(input[name="settings[bank][ac_number]"]),
body.dokan-vendor-setup-wizard form#dokan-seller-payment-setup-form .dokan-form-group:has(input[name="settings[bank][routing_number]"]),
body.dokan-vendor-setup-wizard form#dokan-seller-payment-setup-form .dokan-form-group:has(textarea[name="settings[bank][bank_addr]"]),
body.dokan-vendor-setup-wizard form#dokan-seller-payment-setup-form .dokan-form-group:has(img[src*="bank-check"]) {
  display: none !important;
}

body.dokan-vendor-setup-wizard .pba-paypal-helper {
  margin: 6px 0 10px;
  font-size: 12px;
  color: #4f6072;
  font-style: italic;
}

body.dokan-vendor-setup-wizard .pba-paypal-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border-radius: 50%;
  background: #2e5f87;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
}

body.dokan-vendor-setup-wizard .pba-payout-purpose-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #cfe0ee;
  border-radius: 8px;
  background: #f4f9ff;
  color: #23445a;
  font-size: 13px;
  line-height: 1.45;
}

body.dokan-vendor-setup-wizard .pba-pay-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  border-radius: 50%;
  background: #2e5f87;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
}

/* My Account: view product playback page */
.pba-library-view {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e8eaf2;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20, 27, 48, 0.08);
}

.pba-library-view h2 {
  margin: 0 0 10px;
  font-size: 26px;
  color: #173949;
}

.pba-library-summary {
  margin: 0 0 16px;
  color: #4b5162;
  line-height: 1.6;
}

.pba-library-card {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f9fafb;
  margin-bottom: 14px;
}

.pba-library-card__title {
  font-weight: 700;
  margin-bottom: 8px;
  color: #1d4256;
}

/* =========================================================
   Homepage facelift v2 (inspired, not cloned)
   Scope is limited to home/front pages to avoid bleed.
   ========================================================= */
body.home {
  --pba-home-ink: #0e1d3f;
  --pba-home-blue-1: #abadad;
  --pba-home-blue-2: #ffffff;
  --pba-home-accent: #33ce8f;
  --pba-home-surface: #f5f9ff;
  --pba-home-border: #d9e4f5;
  --pba-home-shadow-sm: 0 8px 20px rgba(14, 29, 63, 0.10);
  --pba-home-shadow-lg: 0 20px 42px rgba(14, 29, 63, 0.16);
}

body.home h1,
body.home h2,
body.home h3,
body.home h4 {
  font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  color: var(--pba-home-ink);
}

body.home p,
body.home li,
body.home a,
body.home button,
body.home input {
  font-family: "Inter", "Segoe UI", sans-serif;
}

body.home.pba-home-scrolled .wp-site-blocks > header,
body.home.pba-home-scrolled .site-header {
  box-shadow: 0 10px 28px rgba(9, 23, 52, 0.20);
}

/* Hero + search wrapper */
body.home .pba-hero,
body.home .pba-container.pba-search {
  border-radius: 22px;
  padding: clamp(18px, 2vw, 30px);
  background:
    radial-gradient(640px 220px at 12% -15%, rgba(255, 255, 255, 0.25), transparent 70%),
    linear-gradient(145deg, var(--pba-home-blue-1) 0%, var(--pba-home-blue-2) 100%);
  box-shadow: var(--pba-home-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body.home .pba-hero h1,
body.home .pba-container.pba-search h1,
body.home .pba-container.pba-search h2,
body.home .pba-container.pba-search h3 {
  color: #ffffff;
}

body.home .pba-hero p,
body.home .pba-container.pba-search p {
  color: rgba(0, 0, 0, 0.92);
}

/* Buttons in hero/search */
body.home .pba-hero .wp-block-button__link,
body.home .pba-container.pba-search .wp-block-button__link {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(8, 19, 45, 0.22);
}

body.home .pba-hero .wp-block-button.is-style-fill .wp-block-button__link,
body.home .pba-container.pba-search .wp-block-button.is-style-fill .wp-block-button__link {
  background: linear-gradient(135deg, #44d69a 0%, #2eb97f 100%);
  color: #0a2d1f;
  border-color: transparent;
}

/* Audience cards / search tiles */
body.home .pba-search-tiles {
  gap: 20px !important;
}

body.home .pba-search-tiles > .wp-block-column,
body.home .pba-search-tiles .wp-block-column.has-background {
  min-height: 100%;
}

body.home .pba-search-tiles .wp-block-column.has-background {
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: var(--pba-home-shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.home .pba-search-tiles .wp-block-column.has-background:hover {
  transform: translateY(-4px);
  box-shadow: var(--pba-home-shadow-lg);
  border-color: rgba(51, 206, 143, 0.75);
}

body.home .pba-search-tiles .pba-card-title {
  color: var(--pba-home-ink);
  font-weight: 800 !important;
}

/* Pills in cards */
body.home .pba-card .hero-item-wrap
  :is(.pba-pill, p.wp-block-heading.pba-card-title.has-small-font-size),
body.home .pba-search-tiles .wp-block-column.has-background p.wp-block-heading.has-small-font-size,
body.home .pba-search-tiles .wp-block-column.has-background p.pba-pill {
  border: 1px solid #d5e3f8 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%) !important;
  color: #22335d !important;
  box-shadow: 0 6px 14px rgba(14, 29, 63, 0.11) !important;
}

/* Utility: assign to blocks that sit on dark/image backgrounds */
body.home .pba-home-on-dark,
body.home .pba-home-on-dark .wp-block-cover__inner-container {
  color: #f5f8ff;
}

body.home .pba-home-on-dark :is(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
  color: #eef6ff !important;
}

body.home .pba-home-on-dark :is(p, li, a, span) {
  color: rgba(245, 248, 255, 0.96);
}

/* Home product cards */
body.home .pba-card .wp-block-woocommerce-product-collection .wc-block-product,
body.home .pba-card .wp-block-woocommerce-product-collection .wc-block-product-template > li {
  border-color: #dae6f7;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body.home .pba-card .wp-block-woocommerce-product-collection .wc-block-product:hover,
body.home .pba-card .wp-block-woocommerce-product-collection .wc-block-product-template > li:hover {
  border-color: #b9cfef;
}

/* Optional section classes you can assign in editor */
body.home .pba-home-section {
  padding: clamp(28px, 4vw, 64px) 0;
}

body.home .pba-home-surface {
  background: var(--pba-home-surface);
  border-top: 1px solid var(--pba-home-border);
  border-bottom: 1px solid var(--pba-home-border);
}

body.home .pba-home-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.home .pba-home-kpi {
  background: #ffffff;
  border: 1px solid #dce8f8;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--pba-home-shadow-sm);
}

body.home .pba-home-kpi strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: #1260bc;
}

body.home .pba-home-kpi span {
  color: #58688a;
  font-size: 13px;
}

/* Reveal motion (JS adds these classes) */
body.home .pba-home-revealable {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

body.home .pba-home-revealable.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  body.home .pba-home-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.home .pba-home-kpis {
    grid-template-columns: 1fr;
  }

  body.home .pba-hero,
  body.home .pba-container.pba-search {
    border-radius: 16px;
  }
}

/* Phase 2 shortcode sections: [pba_home_phase2] */
body.home .pba-home2 {
  max-width: 1200px;
  margin: 0 auto 34px;
  padding: 0 18px 30px;
}

body.home .pba-home2-hero,
body.home .pba-home2-cta {
  border-radius: 22px;
  padding: clamp(24px, 3vw, 42px);
  color: #ffffff;
  background:
    radial-gradient(520px 220px at 10% -20%, rgba(255, 255, 255, 0.22), transparent 70%),
    linear-gradient(145deg, #0b3d81 0%, #0d58ac 100%);
  box-shadow: var(--pba-home-shadow-lg);
}

body.home .pba-home2-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  align-items: center;
}

body.home .pba-home2-hero-main {
  max-width: 700px;
}

body.home .pba-home2-hero h1,
body.home .pba-home2-cta h3 {
  color: #ffffff;
  margin: 0 0 10px;
}

body.home .pba-home2-sub,
body.home .pba-home2-cta p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 16px;
}

body.home .pba-home2-hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

body.home .pba-home2-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 0;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: #59d28f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.home .pba-home2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.home .pba-home2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.home .pba-home2-btn:hover {
  transform: translateY(-1px);
}

body.home .pba-home2-btn--solid {
  color: #083324;
  background: linear-gradient(135deg, #44d69a 0%, #2eb97f 100%);
  box-shadow: 0 10px 22px rgba(7, 29, 21, 0.20);
}

body.home .pba-home2-btn--ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

body.home .pba-home2-hero-rail {
  display: grid;
  gap: 10px;
}

body.home .pba-home2-rail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

body.home .pba-home2-rail-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
}

body.home .pba-home2-rail-item strong {
  color: #ffffff;
  font-size: 30px;
}

body.home .pba-home2-rail-item span {
  color: rgba(220, 232, 252, 0.9);
  font-size: 18px;
}

body.home .pba-home2-head {
  margin: 0 0 22px;
  text-align: center;
}

body.home .pba-home2-head h2 {
  margin: 0 0 10px;
  font-size: clamp(44px, 4vw, 68px);
  line-height: 1;
  color: #12284e;
}

body.home .pba-home2-head p {
  margin: 0;
  color: #657695;
  font-size: 30px;
}

body.home .pba-home2-kicker {
  margin: 0 0 8px !important;
  color: #52cc86 !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px !important;
}

body.home .pba-home2-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.home .pba-home2-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid #dfe5ee;
  background: #ffffff;
  box-shadow: none;
  padding: 24px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: center;
  align-items: center;
  justify-content: center;
}

body.home .pba-home2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 35, 70, 0.10);
  border-color: #86d8ad;
}

body.home .pba-home2-card strong {
  color: #12264b;
  font-size: 30px;
}

body.home .pba-home2-card span {
  color: #6f7f98;
  font-size: 18px;
}

body.home .pba-home2-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #173867;
  border: 1px solid rgba(23, 56, 103, 0.08);
  text-transform: uppercase;
  margin-bottom: 8px;
}

body.home .pba-home2-card.tone-blue .pba-home2-icon { background: #e9f3ff; }
body.home .pba-home2-card.tone-green .pba-home2-icon { background: #e8fbf2; }
body.home .pba-home2-card.tone-teal .pba-home2-icon { background: #e8f8f9; }
body.home .pba-home2-card.tone-orange .pba-home2-icon { background: #fff5e7; }
body.home .pba-home2-card.tone-purple .pba-home2-icon { background: #f3edff; }
body.home .pba-home2-card.tone-indigo .pba-home2-icon { background: #eef0ff; }
body.home .pba-home2-card.tone-pink .pba-home2-icon { background: #ffedf6; }
body.home .pba-home2-card.tone-rose .pba-home2-icon { background: #ffeff1; }

body.home .pba-home2-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.home .pba-home2-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 999px;
  border: 1px solid #d6e4f7;
  background: #f8fbff;
  color: #30456e;
  font-size: 13px;
  font-weight: 600;
  min-height: 42px;
  padding: 8px 12px;
}

@media (max-width: 1000px) {
  body.home .pba-home2-hero-grid {
    grid-template-columns: 1fr;
  }

  body.home .pba-home2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .pba-home2-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.home .pba-home2-head h2 {
    font-size: 40px;
  }

  body.home .pba-home2-head p {
    font-size: 19px;
  }

  body.home .pba-home2-grid {
    grid-template-columns: 1fr;
  }

  body.home .pba-home2-trust {
    grid-template-columns: 1fr;
  }
}

/* Hide legacy homepage block (old pba-card layout with hero-item-wrap) */
body.home .entry-content .pba-card:has(.hero-item-wrap) {
  display: none !important;
}

/* =========================================================
   Homepage Phase 2 brand refinement (PBA identity)
   ========================================================= */
body.home {
  --pba-home-blue-1: #abadad;
  --pba-home-blue-2: #ffffff;
  --pba-home-accent: #2fc68f;
}

body.home .pba-home2-hero,
body.home .pba-home2-cta {
  background:
    radial-gradient(560px 240px at 8% -18%, rgba(255, 255, 255, 0.20), transparent 72%),
    linear-gradient(145deg, #123a66 0%, #1f4f86 100%);
}

body.home .pba-home2-hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
}

body.home .pba-home2-tag {
  color: #8ce8bf;
}

body.home .pba-home2-rail-item {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
}

body.home .pba-home2-rail-item strong {
  font-size: 22px;
}

body.home .pba-home2-rail-item span {
  font-size: 15px;
}

body.home .pba-home2-head h2 {
  font-size: clamp(34px, 3.2vw, 48px);
}

body.home .pba-home2-head p {
  font-size: clamp(18px, 1.55vw, 24px);
}

body.home .pba-home2-card strong {
  font-size: clamp(22px, 1.8vw, 30px);
}

body.home .pba-home2-card span {
  font-size: clamp(14px, 1.2vw, 17px);
}

body.home .pba-home2-btn--solid {
  background: linear-gradient(135deg, #3dd39a 0%, #28b680 100%);
}

/* =========================================================
   Homepage Phase 2 originality pass (distinct PBA style)
   ========================================================= */
body.home {
  --pba-home-blue-1: #ffffff !important;
  --pba-home-blue-2: #abadad !important;
  --pba-home-accent: #f2bb45 !important;
  --pba-home-ink: #12303d !important;
}

body.home .pba-home2 {
  max-width: 1240px !important;
}

body.home .pba-home2-hero,
body.home .pba-home2-cta {
  background:
    radial-gradient(620px 250px at 85% -25%, rgba(242, 187, 69, 0.18), transparent 70%),
    linear-gradient(145deg, #15333d 0%, #1f5a66 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.home .pba-home2-tag {
  color: #ffd37a !important;
  letter-spacing: 0.08em !important;
}

body.home .pba-home2-hero h1 {
  font-size: clamp(40px, 5vw, 64px) !important;
  max-width: 18ch;
}

body.home .pba-home2-sub {
  max-width: 58ch;
}

body.home .pba-home2-btn {
  padding: 12px 22px !important;
}

body.home .pba-home2-btn--solid {
  background: linear-gradient(135deg, #f6c55f 0%, #e7aa2f 100%) !important;
  color: #23333d !important;
  box-shadow: 0 10px 24px rgba(20, 33, 42, 0.32) !important;
}

body.home .pba-home2-btn--ghost {
  background: rgba(255, 255, 255, 0.12) !important;
}

body.home .pba-home2-rail-item {
  background: rgba(7, 23, 31, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

body.home .pba-home2-rail-item strong {
  font-size: 20px !important;
}

body.home .pba-home2-rail-item span {
  font-size: 14px !important;
}

body.home .pba-home2-head h2 {
  color: #163746 !important;
}

body.home .pba-home2-kicker {
  color: #2e9f85 !important;
}

body.home .pba-home2-card {
  border: 1px solid #d5e1e6 !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 18px rgba(17, 45, 59, 0.08) !important;
}

body.home .pba-home2-card:hover {
  border-color: #8ab8ab !important;
  box-shadow: 0 16px 28px rgba(17, 45, 59, 0.12) !important;
}

body.home .pba-home2-card strong {
  color: #173949 !important;
}

body.home .pba-home2-icon {
  border-radius: 18px !important;
  color: #204556 !important;
}

body.home .pba-home2-card.tone-blue .pba-home2-icon { background: #e7f2f8 !important; }
body.home .pba-home2-card.tone-green .pba-home2-icon { background: #e7f6ef !important; }
body.home .pba-home2-card.tone-purple .pba-home2-icon { background: #efe8f9 !important; }
body.home .pba-home2-card.tone-orange .pba-home2-icon { background: #fdf1df !important; }
body.home .pba-home2-card.tone-pink .pba-home2-icon { background: #fbeaf2 !important; }
body.home .pba-home2-card.tone-teal .pba-home2-icon { background: #e4f3f2 !important; }
body.home .pba-home2-card.tone-indigo .pba-home2-icon { background: #e9ecfb !important; }
body.home .pba-home2-card.tone-rose .pba-home2-icon { background: #fceff0 !important; }

/* =========================================================
   Homepage Phase 2 search cards
   ========================================================= */
body.home .pba-home2-search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.home .pba-home2-search-card {
  background: #edf2ff;
  border: 1px solid #d6e0f5;
  border-radius: 16px;
  padding: 16px;
  min-height: 320px;
}

body.home .pba-home2-search-card h3 {
  margin: 0 0 12px;
  color: #1b3044;
  font-size: 28px;
}

body.home .pba-home2-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.home .pba-home2-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d0d8ea;
  color: #27425d;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(21, 51, 61, 0.08);
}

body.home .pba-home2-pill:hover {
  border-color: #96b8c6;
  box-shadow: 0 6px 14px rgba(21, 51, 61, 0.13);
}

body.home .pba-home2-region-form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

body.home .pba-home2-region-form input {
  flex: 1;
  min-height: 36px;
  border: 1px solid #b8c9e0;
  border-radius: 8px;
  padding: 0 10px;
  background: #ffffff;
}

body.home .pba-home2-region-form button {
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid #365872;
  background: #365872;
  color: #ffffff;
  padding: 0 12px;
  font-weight: 700;
}

body.home .pba-home2-region-links {
  display: grid;
  gap: 10px;
}

@media (max-width: 1000px) {
  body.home .pba-home2-search-grid {
    grid-template-columns: 1fr;
  }

  body.home .pba-home2-search-card {
    min-height: 0;
  }
}

/* =========================================================
   Homepage Phase 2 catalog card sections (Thema/Region/Format)
   ========================================================= */
body.home .pba-home2-grid--catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.home .pba-home2-card--catalog {
  min-height: 170px;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

body.home .pba-home2-card--catalog .pba-home2-icon {
  margin-bottom: 10px;
}

body.home .pba-home2-card--catalog .pba-home2-icon img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

body.home .pba-home2-card--catalog strong {
  margin-bottom: 4px;
}

body.home .pba-home2-region-shell {
  max-width: 520px;
  margin: 0 auto 16px;
  padding: 14px;
  border-radius: 14px;
  background: #eef4fb;
  border: 1px solid #d5e0ef;
}

body.home .pba-home2-region-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

body.home .pba-home2-region-form input {
  min-height: 42px;
  border: 1px solid #b7c9df;
  border-radius: 10px;
  padding: 0 12px;
  background: #ffffff;
  color: #1d3444;
}

body.home .pba-home2-region-form button {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #2d4d63;
  background: #2d4d63;
  color: #ffffff;
  font-weight: 700;
  padding: 0 14px;
}

body.home .pba-home2-grid--region {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Region search should use PLZ form only (hide legacy region option cards if present). */
body.home .pba-home2-region-shell + .pba-home2-grid,
body.home .pba-home2-grid--region {
  display: none !important;
}

@media (max-width: 1200px) {
  body.home .pba-home2-grid--catalog,
  body.home .pba-home2-grid--region {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.home .pba-home2-grid--catalog,
  body.home .pba-home2-grid--region {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.home .pba-home2-grid--catalog,
  body.home .pba-home2-grid--region {
    grid-template-columns: 1fr;
  }

  body.home .pba-home2-region-form {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Homepage Products + Creators refresh
   ========================================================= */
body.home .wp-block-woocommerce-product-collection {
  margin: 6px auto 22px !important;
  padding: 8px 4px !important;
}

body.home .wp-block-woocommerce-product-collection .wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px !important;
  overflow: visible !important;
  padding: 0 !important;
}

body.home .wp-block-woocommerce-product-collection .wc-block-product {
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid #d7e3ec;
  border-radius: 18px;
  background: #ffffff;
  padding: 10px 10px 14px;
  box-shadow: 0 10px 24px rgba(18, 45, 59, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.home .wp-block-woocommerce-product-collection .wc-block-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(18, 45, 59, 0.12);
  border-color: #8db6c4;
}

body.home .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-image,
body.home .wp-block-woocommerce-product-collection .wc-block-components-product-image {
  border-radius: 14px;
  overflow: hidden;
  background: #eff5fa;
}

body.home .wp-block-woocommerce-product-collection .wc-block-components-product-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.home .wp-block-woocommerce-product-collection .wp-block-post-title {
  margin: 10px 0 6px !important;
  min-height: 3.9em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3; /* standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px !important;
  line-height: 1.3 !important;
  text-align: left !important;
}


body.home .wp-block-woocommerce-product-collection .wp-block-post-title a {
  color: #173949 !important;
  text-decoration: none;
}

body.home .wp-block-woocommerce-product-collection .wc-block-components-product-price {
  margin: 6px 0 10px;
  text-align: left !important;
  font-weight: 700;
  color: #214760;
}

body.home .wp-block-woocommerce-product-collection .wc-block-components-product-button {
  align-items: stretch !important;
}

body.home .wp-block-woocommerce-product-collection .wc-block-components-product-button__button {
  width: 100%;
  min-height: 40px;
  border-radius: 999px !important;
  border: 1px solid #244b66 !important;
  background: #244b66 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.home .pba-home-top-products {
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: 0 18px;
}

body.home .pba-home-top-products > h1,
body.home .pba-home-top-products > h2,
body.home .pba-home-top-products > h3,
body.home .pba-home-top-products > h4,
body.home .pba-home-top-products > h5,
body.home .pba-home-top-products > h6 {
  text-align: center;
  margin: 0 0 22px;
}

body.home .pba-home-top-products .wp-block-woocommerce-product-collection {
  margin: 6px auto 22px !important;
  padding: 8px 4px !important;
}

body.home .pba-home-top-products .wc-block-product-template {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px !important;
  overflow: visible !important;
  padding: 0 !important;
}

body.home .pba-home-top-products .wc-block-product-template > li,
body.home .pba-home-top-products .wc-block-product {
  min-width: 0 !important;
}

body.home .pba-home-top-products .wp-block-buttons {
  justify-content: center;
  margin-top: 14px;
}

body.home .pba-home-top-products .wp-block-button__link {
  border-radius: 999px !important;
  padding: 10px 24px !important;
}

body.home #dokan-store-listing-filter-wrap {
  max-width: 1120px;
  margin: 8px auto 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #d7e3ec;
  background: #f5f9fd;
}

body.home #dokan-store-listing-filter-wrap .item,
body.home #dokan-store-listing-filter-wrap .store-count {
  color: #2a4357;
  font-size: 14px;
}

body.home #dokan-store-listing-filter-wrap .dokan-btn,
body.home #dokan-store-listing-filter-wrap button,
body.home #dokan-store-listing-filter-wrap select {
  border-radius: 10px !important;
}

body.home #dokan-seller-listing-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

body.home #dokan-seller-listing-wrap ul.dokan-seller-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

body.home #dokan-seller-listing-wrap ul.dokan-seller-wrap > li.dokan-single-seller {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  list-style: none;
}

body.home #dokan-seller-listing-wrap .store-wrapper {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d7e3ec;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 45, 59, 0.10);
}

body.home #dokan-seller-listing-wrap .store-banner {
  position: relative;
}

body.home #dokan-seller-listing-wrap .store-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 31, 0.58), rgba(7, 21, 31, 0.10));
  pointer-events: none;
}

body.home #dokan-seller-listing-wrap .store-content {
  background: #ffffff;
}

body.home #dokan-seller-listing-wrap .store-data h2,
body.home #dokan-seller-listing-wrap .store-data a {
  color: #173949 !important;
}

body.home #dokan-seller-listing-wrap .store-data p {
  color: #567086;
}

body.home #dokan-seller-listing-wrap .store-footer {
  border-top: 1px solid #e2ebf2;
  background: #f9fcff;
  position: relative;
  overflow: visible;
  padding-right: 86px;
}

body.home #dokan-seller-listing-wrap .seller-avatar {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 1px solid #d8e2ec;
  box-shadow: 0 6px 14px rgba(17, 45, 59, 0.12);
}

body.home #dokan-seller-listing-wrap .seller-avatar img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
}

body.home .pagination-container,
body.home #dokan-seller-listing-wrap .pagination-wrap {
  max-width: 1120px;
  margin: 10px auto 0;
}

body.home .pagination-container .pagination a,
body.home .pagination-container .pagination span,
body.home #dokan-seller-listing-wrap .pagination a,
body.home #dokan-seller-listing-wrap .pagination span {
  border-radius: 8px;
  border: 1px solid #d3e0ea;
  padding: 6px 10px;
  color: #2d4b62;
  background: #ffffff;
}

@media (max-width: 1100px) {
  body.home .wp-block-woocommerce-product-collection .wc-block-product-template {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.home .wp-block-woocommerce-product-collection .wc-block-product-template,
  body.home #dokan-seller-listing-wrap ul.dokan-seller-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.home .wp-block-woocommerce-product-collection .wc-block-product-template,
  body.home #dokan-seller-listing-wrap ul.dokan-seller-wrap {
    grid-template-columns: 1fr;
  }
}

/* Homepage product image fit: no-crop (show full vendor image) */
body.home .wp-block-woocommerce-product-collection .wc-block-components-product-image,
body.home .pba-card .wp-block-woocommerce-product-collection .wc-block-components-product-image {
  background: #f6f9fc !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
}

body.home .wp-block-woocommerce-product-collection .wc-block-components-product-image img,
body.home .pba-card .wp-block-woocommerce-product-collection .wc-block-components-product-image img,
body.home .pba-card .wp-block-woocommerce-product-collection .wc-block-product-template > li img {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  background: #ffffff;
  padding: 6px;
}

/* =========================================================
   Kontakt page module
   ========================================================= */
.pba-contact-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 18px 40px;
}

.pba-contact-hero {
  border-radius: 20px;
  padding: clamp(22px, 3vw, 38px);
  color: #ffffff;
  background: linear-gradient(145deg, #15333d 0%, #1f5a66 100%);
  box-shadow: 0 18px 36px rgba(17, 45, 59, 0.18);
}

.pba-contact-kicker {
  margin: 0 0 8px;
  color: #ffd37a;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pba-contact-hero h1 {
  margin: 0 0 10px;
  color: #ffffff;
}

.pba-contact-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.pba-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.pba-contact-card {
  border-radius: 16px;
  border: 1px solid #d7e3ec;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(18, 45, 59, 0.08);
  padding: 14px 16px;
}

.pba-contact-card h3 {
  margin: 0 0 6px;
  color: #173949;
  font-size: 18px;
}

.pba-contact-card a,
.pba-contact-card span {
  color: #2e4d62;
  text-decoration: none;
}

.pba-contact-form-section,
.pba-contact-faq {
  margin-top: 20px;
  border-radius: 16px;
  border: 1px solid #d7e3ec;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(18, 45, 59, 0.08);
  padding: 16px;
}

.pba-contact-form-head h2 {
  margin: 0 0 6px;
  color: #173949;
}

.pba-contact-form-head p {
  margin: 0 0 14px;
  color: #5d7387;
}

.pba-contact-alert {
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-weight: 600;
}

.pba-contact-alert.is-success {
  background: #e9f9ef;
  border: 1px solid #9ad8b1;
  color: #235f3b;
}

.pba-contact-alert.is-error {
  background: #fff0ef;
  border: 1px solid #f0b9b5;
  color: #8f2b24;
}

.pba-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.pba-contact-form > label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  gap: 6px;
}

.pba-contact-form > label > span {
  font-size: 13px;
  color: #2e4d62;
  font-weight: 700;
  line-height: 1.25;
}

.pba-contact-form > label input:not([type="checkbox"]),
.pba-contact-form > label textarea,
.pba-contact-form > label select {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #c8d7e5;
  border-radius: 10px;
  background: #ffffff;
  min-height: 42px;
  padding: 10px 12px;
  color: #183748;
  box-sizing: border-box;
}

.pba-contact-form > label textarea {
  min-height: 140px;
  resize: vertical;
}

.pba-contact-form .full {
  grid-column: 1 / -1;
}

.pba-contact-form > label.full.pba-contact-consent {
  justify-self: start !important;
  align-self: start !important;
  width: auto !important;
}

.pba-contact-form > label.pba-contact-consent {
  display: inline-flex;
  align-items: center;
  flex-direction: row !important;
  justify-content: flex-start;
  justify-self: start;
  align-self: start;
  width: fit-content;
  gap: 10px;
  text-align: left;
}

.pba-contact-form > label.pba-contact-consent span {
  display: inline;
}

.pba-contact-form > label.pba-contact-consent {
  padding: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.pba-contact-form > label.pba-contact-consent input {
  align-self: center;
  margin-left: 0;
}

.pba-contact-consent input {
  display: inline-block;
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  appearance: checkbox;
}

.pba-contact-consent span {
  line-height: 1.4;
}

.pba-contact-submit {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #244b66;
  background: #244b66;
  color: #ffffff;
  font-weight: 700;
  padding: 0 18px;
}

.pba-contact-faq-list {
  display: grid;
  gap: 10px;
}

.pba-contact-faq details {
  border: 1px solid #d7e3ec;
  border-radius: 12px;
  background: #f9fcff;
  padding: 10px 12px;
}

.pba-contact-faq summary {
  cursor: pointer;
  color: #1f4055;
  font-weight: 700;
}

.pba-contact-faq p {
  margin: 10px 0 0;
  color: #4b657a;
}

@media (max-width: 900px) {
  .pba-contact-cards,
  .pba-contact-form {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Info pages module (Ueber Uns / Mission & Werte / Plattform / Expertennetzwerk)
   ========================================================= */
.pba-info-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 18px 40px;
}

.pba-info-hero,
.pba-info-cta {
  border-radius: 20px;
  padding: clamp(22px, 3vw, 38px);
  color: #000000;
  background:
    radial-gradient(520px 220px at 88% -24%, rgba(242, 187, 69, 0.2), transparent 70%),
    linear-gradient(145deg, #ffffff 0%, #abadad 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 36px rgba(17, 45, 59, 0.18);
}

.pba-info-kicker {
  margin: 0 0 8px;
  color: #ffd37a;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pba-info-hero h1,
.pba-info-cta h2 {
  margin: 0 0 10px;
  color: #ffffff;
}

.pba-info-hero p,
.pba-info-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.pba-info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pba-info-chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.pba-info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.pba-info-card,
.pba-info-detail {
  border-radius: 16px;
  border: 1px solid #d7e3ec;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(18, 45, 59, 0.08);
  padding: 16px;
}

.pba-info-card h3,
.pba-info-detail h2 {
  margin: 0 0 8px;
  color: #173949;
}

.pba-info-card p {
  margin: 0;
  color: #536a7d;
}

.pba-info-detail {
  margin-top: 16px;
}

.pba-info-detail ul {
  margin: 0;
  padding-left: 20px;
  color: #3d586d;
  display: grid;
  gap: 8px;
}

.pba-info-cta {
  margin-top: 18px;
}

.pba-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pba-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pba-info-btn:hover {
  transform: translateY(-1px);
}

.pba-info-btn--solid {
  border: 1px solid #f1bf58;
  background: linear-gradient(135deg, #f6c55f 0%, #e7aa2f 100%);
  color: #243742;
  box-shadow: 0 10px 22px rgba(15, 30, 40, 0.24);
}

.pba-info-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

@media (max-width: 900px) {
  .pba-info-cards {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Legacy info pages restyle (keep original page content + media)
   ========================================================= */
.pba-info-legacy {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 18px 36px;
}

.pba-info-legacy .wp-block-post-title {
  margin: 0 0 14px !important;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: 20px;
  color: #ffffff !important;
  background:
    radial-gradient(520px 220px at 88% -24%, rgba(242, 187, 69, 0.2), transparent 70%),
    linear-gradient(145deg, #15333d 0%, #1f5a66 100%);
  box-shadow: 0 18px 36px rgba(17, 45, 59, 0.18);
}

.pba-info-legacy > .wp-block-group.alignfull.has-background {
  margin-top: 0 !important;
  border-radius: 18px;
  border: 1px solid #d7e3ec;
  box-shadow: 0 10px 22px rgba(18, 45, 59, 0.08);
  overflow: hidden;
}

.pba-info-legacy .wp-block-columns {
  gap: 18px;
}

.pba-info-legacy .wp-block-column {
  min-width: 0;
}

@media (min-width: 901px) {
  .pba-info-legacy .wp-block-columns > .wp-block-column:first-child:has(.wp-block-image),
  .pba-info-legacy .wp-block-columns > .wp-block-column:last-child:has(.wp-block-image) {
    align-self: center;
  }

  .pba-info-legacy .wp-block-columns > .wp-block-column:has(> .wp-block-image):not(:has(> :not(.wp-block-image))) {
    display: flex;
    align-items: center;
  }
}

.pba-info-legacy .wp-block-columns > .wp-block-column:first-child .wp-block-image {
  margin: 0;
  width: 100%;
}

.pba-info-legacy .wp-block-columns > .wp-block-column:first-child img {
  display: block;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(17, 45, 59, 0.14);
}

.pba-info-legacy .wp-block-columns:has(> .wp-block-column:nth-child(2):last-child) > .wp-block-column:last-child {
  background: #ffffff;
  border: 1px solid #d7e3ec;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(18, 45, 59, 0.08);
  padding: 16px;
}

.pba-info-legacy .wp-block-heading {
  color: #173949;
}

.pba-info-legacy p,
.pba-info-legacy li {
  color: #69b3f3;
}

/* Ensure readability inside dark legacy content blocks (e.g. black background sections). */
.pba-info-legacy .wp-block-group.has-background[style*="background-color:#0"] .wp-block-heading,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:#0"] p,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:#0"] li,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:#0"] strong,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:#0"] a,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:#0"] .has-base-color,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:rgb(0"] .wp-block-heading,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:rgb(0"] p,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:rgb(0"] li,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:rgb(0"] strong,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:rgb(0"] a,
.pba-info-legacy .wp-block-group.has-background[style*="background-color:rgb(0"] .has-base-color {
  color: #ffffff !important;
}

.pba-info-legacy .wp-block-list {
  display: grid;
  gap: 7px;
}

.pba-info-legacy .wp-block-buttons {
  gap: 10px;
}

.pba-info-legacy .wp-block-button__link {
  border-radius: 999px !important;
  min-height: 42px;
  padding: 10px 18px !important;
  font-weight: 700;
}

@media (max-width: 900px) {
  .pba-info-legacy .wp-block-post-title {
    border-radius: 16px;
  }

  .pba-info-legacy > .wp-block-group.alignfull.has-background {
    border-radius: 14px;
  }

  .pba-info-legacy .wp-block-columns > .wp-block-column:last-child {
    padding: 14px;
  }
}

/* Page-specific polish: Wie funktioniert die Plattform */
.pba-info-legacy--wie-funktioniert-die-plattform > .wp-block-group.alignfull.has-background {
  margin-bottom: 16px;
}

.pba-info-legacy--wie-funktioniert-die-plattform > .wp-block-group.alignfull.has-background:last-child {
  margin-bottom: 0;
}

.pba-info-legacy--wie-funktioniert-die-plattform > .wp-block-group.alignfull.has-background:first-child {
  background:
    radial-gradient(560px 220px at 85% -20%, rgba(242, 187, 69, 0.18), transparent 70%),
    linear-gradient(145deg, #15333d 0%, #1f5a66 100%) !important;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 36px rgba(17, 45, 59, 0.2);
}

.pba-info-legacy--wie-funktioniert-die-plattform > .wp-block-group.alignfull.has-background:first-child .wp-block-heading,
.pba-info-legacy--wie-funktioniert-die-plattform > .wp-block-group.alignfull.has-background:first-child p,
.pba-info-legacy--wie-funktioniert-die-plattform > .wp-block-group.alignfull.has-background:first-child li {
  color: #ffffff !important;
}

.pba-info-legacy--wie-funktioniert-die-plattform h2.wp-block-heading {
  margin-bottom: 10px;
  font-size: clamp(30px, 2.8vw, 40px);
  color: #173949;
}

.pba-info-legacy--wie-funktioniert-die-plattform h3.wp-block-heading {
  font-size: clamp(22px, 2.1vw, 30px);
  color: #1d4256;
}

.pba-info-legacy--wie-funktioniert-die-plattform .wp-block-columns.is-not-stacked-on-mobile {
  align-items: stretch;
}

.pba-info-legacy--wie-funktioniert-die-plattform .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column {
  background: #ffffff;
  border: 1px solid #d7e3ec;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(18, 45, 59, 0.08);
  padding: 14px;
}

.pba-info-legacy--wie-funktioniert-die-plattform .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column img {
  box-shadow: none;
}

.pba-info-legacy--wie-funktioniert-die-plattform .wp-block-group.alignfull.has-background .wp-block-buttons .wp-block-button__link {
  border: 1px solid #244b66 !important;
  background: #244b66 !important;
  color: #ffffff !important;
}

.pba-info-legacy--wie-funktioniert-die-plattform .wp-block-group.alignfull.has-background:first-child .wp-block-buttons .wp-block-button__link {
  border-color: #f1bf58 !important;
  background: linear-gradient(135deg, #f6c55f 0%, #e7aa2f 100%) !important;
  color: #23343f !important;
}

/* Page-specific polish: Mission & Werte */
.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background {
  margin-bottom: 16px;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:last-child {
  margin-bottom: 0;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:first-child {
  background:
    radial-gradient(560px 220px at 85% -20%, rgba(242, 187, 69, 0.18), transparent 70%),
    linear-gradient(145deg, #ffffff 0%, #abadad 100%) !important;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 36px rgba(17, 45, 59, 0.2);
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:first-child .wp-block-heading,
.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:first-child p,
.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:first-child li {
  color: #000000 !important;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:first-child .has-small-font-size {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%) !important;
}

/* Mission values block polish: keep content, improve flow and reduce empty space. */
.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) :is(h2, h3, p, ul, ol) {
  text-align: left !important;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) h2.wp-block-heading {
  margin-bottom: 12px;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) h3.wp-block-heading {
  margin: 14px 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d6e3ef;
  background: #f2f8fe;
  color: #173949;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.25;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) p {
  margin: 0 0 10px;
  color: #3f5c72;
  line-height: 1.6;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) .wp-block-list {
  margin: 8px 0 12px;
  padding: 10px 12px 10px 26px;
  border-radius: 10px;
  border: 1px solid #dce7f1;
  background: #ffffff;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) .wp-block-spacer {
  height: 10px !important;
}

.pba-info-legacy--mission-werte h2.wp-block-heading {
  margin-bottom: 10px;
  font-size: clamp(30px, 2.7vw, 40px);
  color: #173949;
}

.pba-info-legacy--mission-werte h3.wp-block-heading {
  margin: 18px 0 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d7e3ec;
  background: #f3f8fd;
  color: #1d4256;
  font-size: clamp(20px, 1.8vw, 28px);
}

.pba-info-legacy--mission-werte h3.wp-block-heading.has-text-align-right {
  background: #edf5fb;
  border-color: #cfe0ee;
}

.pba-info-legacy--mission-werte .wp-block-list {
  margin-top: 8px;
  margin-bottom: 14px;
  padding: 12px 14px 12px 30px;
  border-radius: 12px;
  border: 1px solid #dce7f1;
  background: #fbfdff;
}

.pba-info-legacy--mission-werte .wp-block-columns {
  align-items: stretch;
}

.pba-info-legacy--mission-werte .wp-block-columns > .wp-block-column {
  background: #ffffff;
  border: 1px solid #d7e3ec;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(18, 45, 59, 0.08);
  padding: 14px;
}

.pba-info-legacy--mission-werte .wp-block-buttons .wp-block-button__link {
  border: 1px solid #244b66 !important;
  background: #244b66 !important;
  color: #ffffff !important;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:first-child .wp-block-buttons .wp-block-button__link,
.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background:nth-child(3) .wp-block-buttons .wp-block-button__link {
  border-color: #f1bf58 !important;
  background: linear-gradient(135deg, #f6c55f 0%, #e7aa2f 100%) !important;
  color: #23343f !important;
}

/* Mission values redesign: homepage-like tiles with accordion-style headers */
.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) > .wp-block-group__inner-container {
  display: grid;
  gap: 12px;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) > .wp-block-group__inner-container > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) h2.wp-block-heading {
  margin-bottom: 4px !important;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) h3.wp-block-heading {
  position: relative;
  margin: 2px 0 0 !important;
  padding: 12px 14px 12px 40px !important;
  border-radius: 12px !important;
  border: 1px solid #cfe0ee !important;
  background: linear-gradient(180deg, #f6fbff 0%, #edf5fb 100%) !important;
  color: #173949 !important;
  font-size: clamp(18px, 1.45vw, 22px) !important;
  line-height: 1.25;
  box-shadow: 0 6px 14px rgba(18, 45, 59, 0.08);
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) h3.wp-block-heading::before {
  content: "+";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #173949;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) h3.wp-block-heading + p,
.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) h3.wp-block-heading + .wp-block-list,
.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) h3.wp-block-heading + p + .wp-block-list,
.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) h3.wp-block-heading + p + .wp-block-list + p {
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #dce8f2;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(18, 45, 59, 0.06);
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) .wp-block-list {
  padding-left: 28px !important;
}

.pba-info-legacy--mission-werte > .wp-block-group.alignfull.has-background:nth-child(2) .wp-block-spacer {
  height: 2px !important;
}

/* Fallback targeting for mission values built as nested alignwide groups with inline padding. */
.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background[style*="background-color:#fff"] > .wp-block-group.alignwide.has-global-padding {
  padding: 12px 14px !important;
  margin: 10px 0 !important;
  border: 1px solid #dce8f2;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(18, 45, 59, 0.06);
}

.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background[style*="background-color:#fff"] > .wp-block-group.alignwide.has-global-padding > h3.wp-block-heading {
  position: relative;
  margin: 0 0 8px !important;
  padding: 11px 12px 11px 38px !important;
  border: 1px solid #cfe0ee;
  border-radius: 10px;
  background: linear-gradient(180deg, #f6fbff 0%, #edf5fb 100%);
  color: #173949 !important;
  font-size: clamp(17px, 1.35vw, 21px) !important;
  line-height: 1.25;
}

.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background[style*="background-color:#fff"] > .wp-block-group.alignwide.has-global-padding > h3.wp-block-heading::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #173949;
}

.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background[style*="background-color:#fff"] > .wp-block-group.alignwide.has-global-padding > p,
.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background[style*="background-color:#fff"] > .wp-block-group.alignwide.has-global-padding > ul {
  margin: 0 !important;
  color: #3f5c72 !important;
  line-height: 1.55;
}

.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background[style*="background-color:#fff"] > .wp-block-group.alignwide.has-global-padding > ul {
  padding-left: 22px !important;
}

.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background[style*="background-color:#fff"] > .wp-block-group.alignwide.has-global-padding > ul,
.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background[style*="background-color:#fff"] > .wp-block-group.alignwide.has-global-padding > ol {
  margin: 6px 0 0 !important;
  padding-left: 24px !important;
  text-align: left !important;
  list-style-position: outside !important;
}

.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background[style*="background-color:#fff"] > .wp-block-group.alignwide.has-global-padding > ul li,
.pba-info-legacy--mission-werte .wp-block-group.alignfull.has-background[style*="background-color:#fff"] > .wp-block-group.alignwide.has-global-padding > ol li {
  margin: 0 0 6px !important;
  padding-left: 0 !important;
  text-align: left !important;
}

/* Mission values: interactive accordion */
.pba-info-legacy--mission-werte .pba-mv-item > .pba-mv-toggle {
  cursor: pointer;
  user-select: none;
}

.pba-info-legacy--mission-werte .pba-mv-item > .pba-mv-toggle::after {
  content: "+";
  float: left;
  color: #173949;
  font-weight: 800;
  margin-left: 6px;
}

.pba-info-legacy--mission-werte .pba-mv-item.is-open > .pba-mv-toggle::after {
  content: "-";
}

.pba-info-legacy--mission-werte .pba-mv-item.is-collapsed > .pba-mv-body {
  display: none !important;
}

.pba-info-legacy--mission-werte .pba-mv-item.is-open > .pba-mv-body {
  display: block;
}

/* Keep bullets with text (right-aligned, but not detached to page edge). */
.pba-info-legacy--mission-werte .pba-mv-item .pba-mv-body ul,
.pba-info-legacy--mission-werte .pba-mv-item .pba-mv-body ol {
  list-style: none !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

.pba-info-legacy--mission-werte .pba-mv-item .pba-mv-body li {
  position: relative;
  margin: 0 0 6px !important;
  padding: 0 14px 0 0 !important;
  text-align: right !important;
}

.pba-info-legacy--mission-werte .pba-mv-item .pba-mv-body li::before {
  content: "\2022";
  position: absolute;
  right: 0;
  top: 0;
  color: #6da8dd;
  font-weight: 700;
}

/* =========================================================
   Creators page: vendor subscription pack refresh
   ========================================================= */
body.page-creators .dokan-subscription-content,
body.page-creators .entry-content .dokan-subscription-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 22px 48px;
  position: relative;
  background:
    radial-gradient(420px 180px at 14% -6%, rgba(242, 187, 69, 0.18), transparent 70%),
    radial-gradient(520px 220px at 88% -12%, rgba(31, 90, 102, 0.14), transparent 68%),
    linear-gradient(180deg, #f7f8fb 0%, #ffffff 60%);
  border: 1px solid #e6edf2;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(17, 45, 59, 0.12);
}

body.page-creators .dokan-subscription-content .nav.nav-tabs {
  border: 0;
  gap: 8px;
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: #eef3f7;
  box-shadow: inset 0 0 0 1px rgba(23, 57, 73, 0.12);
}

body.page-creators .dokan-subscription-content .nav.nav-tabs > li > a {
  border: 0 !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  color: #173949 !important;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: -0.01em;
}

body.page-creators .dokan-subscription-content .nav.nav-tabs > li.active > a,
body.page-creators .dokan-subscription-content .nav.nav-tabs > li > a:hover {
  background: linear-gradient(135deg, #f6c55f 0%, #e7aa2f 100%) !important;
  color: #23343f !important;
  box-shadow: 0 8px 18px rgba(231, 170, 47, 0.28);
}

body.page-creators .dokan-subscription-content .pack_content_wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

body.page-creators .dokan-subscription-content .pack_content_wrapper .product_pack_item {
  position: relative;
  border: 1px solid #dbe6ee;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(17, 45, 59, 0.12);
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.page-creators .dokan-subscription-content .pack_content_wrapper .product_pack_item .pack_price {
  margin: 0;
  padding: 18px 18px;
  color: #23343f;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  background:
    radial-gradient(240px 120px at 100% -28%, rgba(255, 255, 255, 0.7), transparent 62%),
    linear-gradient(135deg, #f7d88a 0%, #f1bf58 55%, #e7aa2f 100%);
}

body.page-creators .dokan-subscription-content .pack_content_wrapper .product_pack_item .pack_content {
  padding: 16px 18px 18px;
}

body.page-creators .dokan-subscription-content .pack_content_wrapper .product_pack_item .pack_content h2 {
  margin: 0 0 8px;
  color: #173949;
  font-size: 26px;
  line-height: 1.2;
}

body.page-creators .dokan-subscription-content .pack_content_wrapper .product_pack_item .pack_content ul {
  margin: 10px 0 14px;
  padding-left: 18px;
}

body.page-creators .dokan-subscription-content .pack_content_wrapper .product_pack_item .buy_pack_button {
  border-radius: 999px !important;
  border: 1px solid #1f5a66 !important;
  background: #1f5a66 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 10px 16px !important;
  text-decoration: none !important;
}

body.page-creators .dokan-subscription-content .pack_content_wrapper .product_pack_item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(17, 45, 59, 0.18);
  border-color: #cbdbe6;
}

@media (max-width: 1000px) {
  body.page-creators .dokan-subscription-content .pack_content_wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.page-creators .dokan-subscription-content .pack_content_wrapper {
    grid-template-columns: 1fr;
  }
}

/* Fallback selectors when body classes differ on production pages. */
form#dokan-seller-payment-setup-form .dokan-form-group:has(input[name="settings[bank][ac_number]"]),
form#dokan-seller-payment-setup-form .dokan-form-group:has(input[name="settings[bank][routing_number]"]),
form#dokan-seller-payment-setup-form .dokan-form-group:has(textarea[name="settings[bank][bank_addr]"]),
form#dokan-seller-payment-setup-form .dokan-form-group:has(img[src*="bank-check"]) {
  display: none !important;
}

form#dokan-seller-payment-setup-form input[name="settings[bank][swift]"] {
  display: block !important;
  visibility: visible !important;
  max-height: none !important;
}

.dokan-dashboard-subscription-wrap .dokan-subscription-content {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 12px 18px 34px !important;
}

.dokan-dashboard-subscription-wrap .dokan-subscription-content .pack_content_wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.dokan-dashboard-subscription-wrap .dokan-subscription-content .pack_content_wrapper .product_pack_item {
  position: relative !important;
  border: 1px solid #d8e5f0 !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 22px rgba(17, 45, 59, 0.1) !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.dokan-dashboard-subscription-wrap .dokan-subscription-content .pack_content_wrapper .product_pack_item .buy_pack_button {
  position: static !important;
  bottom: auto !important;
}

/* Fix Dokan subscription card stacking so CTA remains clickable. */
.dokan-dashboard-subscription-wrap .dokan-subscription-content .pack_content_wrapper {
  margin-top: 20px !important;
  align-items: stretch !important;
}

.dokan-dashboard-subscription-wrap .dokan-subscription-content .pack_content_wrapper .product_pack_item {
  width: auto !important;
  margin-right: 0 !important;
  margin-bottom: 16px !important;
  padding: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}

.dokan-dashboard-subscription-wrap .dokan-subscription-content .pack_content_wrapper .product_pack_item .pack_price {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  margin: 0 auto 14px !important;
  padding-top: 25px !important;
  z-index: 1 !important;
}

.dokan-dashboard-subscription-wrap .dokan-subscription-content .pack_content_wrapper .product_pack_item .pack_content {
  margin-top: 0 !important;
  flex: 1 1 auto !important;
}

.dokan-dashboard-subscription-wrap .dokan-subscription-content .pack_content_wrapper .product_pack_item .pack_content .pack_data_option {
  margin-bottom: 12px !important;
}

.dokan-dashboard-subscription-wrap .dokan-subscription-content .pack_content_wrapper .product_pack_item .buy_pack_button {
  position: relative !important;
  bottom: auto !important;
  margin-top: 12px !important;
  text-align: center !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}

.dokan-dashboard-subscription-wrap .dokan-subscription-content .pack_content_wrapper .product_pack_item .buy_pack_button a {
  position: relative !important;
  z-index: 6 !important;
  pointer-events: auto !important;
}
