:root {
  --wb-shop-blue: #0c48a2;
  --wb-shop-blue-dark: #082f73;
  --wb-shop-cyan: #08afe7;
  --wb-shop-text: #172039;
  --wb-shop-muted: #606a7b;
  --wb-shop-border: #dde5ef;
  --wb-shop-soft: #f5f8fc;
}

.wbp-shop-page .stm_titlebox,
.wbp-shop-page .stm_lms_breadcrumbs,
.wbp-shop-page .woocommerce-breadcrumb {
  display: none !important;
}

.wb-shop,
.wb-shop * {
  box-sizing: border-box;
}

.wb-shop {
  color: var(--wb-shop-text);
  background: #fff;
  font-size: 16px;
  line-height: 1.48;
}

.wb-shop-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.wb-shop-hero {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 42px 0 48px;
  color: #fff;
  background: linear-gradient(112deg, #082f73 0%, #0c48a2 58%, #0a5fc2 100%);
}

.wb-shop-hero::after {
  position: absolute;
  right: -120px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  content: '';
  border: 2px solid rgba(255, 255, 255, .055);
  border-radius: 50%;
  box-shadow: inset 0 0 0 52px rgba(255, 255, 255, .025);
}

.wb-shop-hero .wb-shop-container {
  position: relative;
  z-index: 2;
}

.wb-shop-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.wb-shop-breadcrumbs a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.wb-shop-breadcrumbs .wbp-icon {
  width: 12px;
  height: 12px;
  color: rgba(255, 255, 255, .65);
}

.wb-shop-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 750;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.wb-shop-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
}

.wb-shop-watermark {
  position: absolute;
  right: 4vw;
  bottom: -15px;
  z-index: 1;
  color: rgba(255, 255, 255, .055);
  font-size: 170px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -18px;
  line-height: 1;
  user-select: none;
}

.wb-shop-content {
  padding: 42px 0 56px;
}

.wb-shop-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  margin-bottom: 38px;
}

.wb-shop-controls h2,
.wb-shop-section-heading h2 {
  margin: 0;
  color: var(--wb-shop-blue-dark);
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -.45px;
  line-height: 1.18;
}

.wb-shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.wb-shop-filters button {
  min-height: 40px;
  padding: 9px 17px;
  color: var(--wb-shop-blue-dark);
  background: #fff;
  border: 1px solid #9db9de;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.wb-shop-filters button:hover,
.wb-shop-filters button:focus-visible,
.wb-shop-filters button.is-active {
  color: #fff;
  background: var(--wb-shop-blue);
  border-color: var(--wb-shop-blue);
  box-shadow: 0 6px 15px rgba(12, 72, 162, .16);
  outline: none;
}

.wb-shop-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wb-shop-search {
  position: relative;
  display: block;
}

.wb-shop-search input {
  width: 270px;
  height: 44px;
  padding: 10px 43px 10px 14px;
  color: var(--wb-shop-text);
  background: #fff;
  border: 1px solid var(--wb-shop-border);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(8, 47, 115, .03);
  font-size: 13px;
}

.wb-shop-search input:focus,
.wb-shop-sort select:focus {
  border-color: var(--wb-shop-blue);
  box-shadow: 0 0 0 3px rgba(12, 72, 162, .11);
  outline: none;
}

.wb-shop-search .wbp-icon {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 20px;
  height: 20px;
  color: var(--wb-shop-blue-dark);
}

.wb-shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wb-shop-muted);
  font-size: 12px;
  font-weight: 600;
}

.wb-shop-sort select {
  height: 44px;
  min-width: 170px;
  padding: 8px 34px 8px 12px;
  color: var(--wb-shop-text);
  background: #fff;
  border: 1px solid var(--wb-shop-border);
  border-radius: 8px;
  font-size: 13px;
}

.wb-shop-featured,
.wb-shop-products {
  margin-top: 42px;
}

.wb-shop-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.wb-shop-section-heading p {
  margin: 0;
  color: var(--wb-shop-muted);
  font-size: 13px;
}

.wb-shop-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.wb-shop-featured-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--wb-shop-border);
  border-radius: 13px;
  box-shadow: 0 8px 25px rgba(8, 47, 115, .065);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wb-shop-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 32px rgba(8, 47, 115, .11);
}

.wb-shop-featured-image {
  display: grid;
  overflow: hidden;
  place-items: center;
  aspect-ratio: 1;
  background: var(--wb-shop-soft);
  border-radius: 8px;
}

.wb-shop-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wb-shop-featured-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wb-shop-featured-copy h3 {
  margin: 3px 0 14px;
  font-size: 18px;
  line-height: 1.25;
}

.wb-shop-featured-copy h3 a,
.wb-shop-card h3 a {
  color: var(--wb-shop-text);
  text-decoration: none;
}

.wb-shop-featured-copy h3 a:hover,
.wb-shop-card h3 a:hover {
  color: var(--wb-shop-blue);
}

.wb-shop-price {
  color: var(--wb-shop-blue);
  font-size: 20px;
  font-weight: 750;
}

.wb-shop-price del {
  margin-right: 7px;
  color: #7b8493;
  font-size: .76em;
  font-weight: 500;
}

.wb-shop-price ins {
  color: var(--wb-shop-blue);
  text-decoration: none;
}

.wb-shop-featured-copy .wb-shop-button {
  margin-top: auto;
}

.wb-shop-button,
.woocommerce .wb-shop-button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px 18px;
  color: #fff !important;
  background: linear-gradient(135deg, #0c52bb, #0b3f93) !important;
  border: 0 !important;
  border-radius: 7px;
  box-shadow: 0 6px 14px rgba(12, 72, 162, .16);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.wb-shop-button:hover,
.wb-shop-button:focus-visible {
  color: #fff !important;
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(12, 72, 162, .22);
  outline: none;
}

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

.wb-shop-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--wb-shop-border);
  border-radius: 12px;
  box-shadow: 0 6px 19px rgba(8, 47, 115, .055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.wb-shop-card:hover {
  border-color: #b9cae0;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(8, 47, 115, .115);
}

.wb-shop-card[hidden] {
  display: none;
}

.wb-shop-card-image {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  aspect-ratio: 1.12;
  margin: 10px 10px 0;
  padding: 8px;
  background: var(--wb-shop-soft);
  border-radius: 8px;
}

.wb-shop-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.wb-shop-card:hover .wb-shop-card-image img {
  transform: scale(1.025);
}

.wb-shop-sale {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  padding: 5px 9px;
  color: #04365a;
  background: var(--wb-shop-cyan);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4px;
  line-height: 1;
  text-transform: uppercase;
}

.wb-shop-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 17px 16px 16px;
}

.wb-shop-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  margin: 0 0 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--wb-shop-text);
  font-size: 15px;
  font-weight: 680;
  line-height: 1.42;
  text-align: center;
}

.wb-shop-card .wb-shop-price {
  min-height: 30px;
  margin: auto 0 14px;
  font-size: 18px;
  text-align: center;
}

.wb-shop-card .wb-shop-button {
  width: 100%;
}

.wb-shop-empty {
  margin: 30px 0 0;
  padding: 32px;
  color: var(--wb-shop-muted);
  background: var(--wb-shop-soft);
  border: 1px dashed #c7d5e6;
  border-radius: 10px;
  text-align: center;
}

.wb-shop-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  padding: 24px 8px;
  background: linear-gradient(135deg, #f9fbfe, #f2f7fc);
  border: 1px solid var(--wb-shop-border);
  border-radius: 12px;
}

.wb-shop-trust article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 24px;
}

.wb-shop-trust article + article {
  border-left: 1px solid var(--wb-shop-border);
}

.wb-shop-trust .wbp-icon {
  width: 44px;
  height: 44px;
  color: var(--wb-shop-blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wb-shop-trust h3 {
  margin: 0 0 4px;
  color: var(--wb-shop-blue-dark);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
}

.wb-shop-trust p {
  margin: 0;
  color: var(--wb-shop-muted);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 1080px) {
  .wb-shop-controls {
    grid-template-columns: 1fr;
  }

  .wb-shop-tools {
    justify-content: space-between;
  }

  .wb-shop-search {
    flex: 1 1 auto;
  }

  .wb-shop-search input {
    width: 100%;
  }

  .wb-shop-featured-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .wb-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wb-shop-container {
    width: min(100% - 28px, 620px);
  }

  .wb-shop-hero {
    min-height: 210px;
    padding: 30px 0 36px;
  }

  .wb-shop-hero h1 {
    font-size: 38px;
    letter-spacing: -.9px;
  }

  .wb-shop-hero p {
    max-width: 92%;
    font-size: 15px;
  }

  .wb-shop-watermark {
    right: -35px;
    font-size: 120px;
  }

  .wb-shop-content {
    padding: 32px 0 42px;
  }

  .wb-shop-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .wb-shop-sort {
    justify-content: space-between;
  }

  .wb-shop-sort select {
    flex: 1 1 auto;
  }

  .wb-shop-featured-grid {
    grid-template-columns: 1fr;
  }

  .wb-shop-featured-card {
    display: block;
    overflow: hidden;
    padding: 0;
  }

  .wb-shop-featured-image {
    aspect-ratio: 16 / 9;
    background: #eaf1fa;
    border-radius: 0;
  }

  .wb-shop-featured-image img {
    object-fit: cover;
    object-position: center;
  }

  .wb-shop-featured-copy {
    padding: 20px;
  }

  .wb-shop-featured-copy h3 {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.32;
  }

  .wb-shop-featured-copy .wb-shop-price {
    margin-bottom: 16px;
    font-size: 19px;
  }

  .wb-shop-featured-copy .wb-shop-button {
    width: 100%;
    margin-top: 0;
  }

  .wb-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .wb-shop-card-body {
    padding: 14px 12px 13px;
  }

  .wb-shop-card h3 {
    font-size: 13px;
  }

  .wb-shop-trust {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .wb-shop-trust article {
    padding: 0;
  }

  .wb-shop-trust article + article {
    padding-top: 20px;
    border-top: 1px solid var(--wb-shop-border);
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .wb-shop-hero h1 {
    font-size: 32px;
  }

  .wb-shop-controls h2,
  .wb-shop-section-heading h2 {
    font-size: 22px;
  }

  .wb-shop-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wb-shop-filters button:first-child {
    grid-column: 1 / -1;
  }

  .wb-shop-featured-card {
    border-radius: 12px;
  }

  .wb-shop-featured-copy h3 {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .wb-shop-featured-copy .wb-shop-price {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .wb-shop-featured-copy .wb-shop-button {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .wb-shop-grid {
    grid-template-columns: 1fr;
  }

  .wb-shop-card-image {
    aspect-ratio: 1.35;
  }

  .wb-shop-card h3 {
    min-height: 0;
    font-size: 15px;
  }
}
