.lkn-storefront {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px;
  color: #1f2933;
}

body.lkn-storefront-mounted ul.products,
body.lkn-storefront-mounted nav.woocommerce-pagination {
  display: none !important;
}

.lkn-storefront *,
.lkn-storefront *::before,
.lkn-storefront *::after {
  box-sizing: border-box;
}

.lkn-storefront [hidden] {
  display: none !important;
}

.lkn-storefront__selection {
  max-width: 940px;
}

.lkn-storefront__student {
  max-width: 760px;
}

.lkn-storefront__student-flow {
  max-width: 720px;
  margin: 0 auto;
}

.lkn-storefront__student-flow h3 {
  margin: 0 0 16px;
  color: #2f4fa3;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 6px;
  text-align: center;
  text-transform: uppercase;
}

.lkn-storefront__student-copy {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.45;
}

.lkn-storefront__student-copy p {
  margin: 0 0 12px;
}

.lkn-storefront__student-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.lkn-storefront__student-form button {
  grid-column: 1 / -1;
}

.lkn-storefront label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.lkn-storefront input {
  min-height: 42px;
  border: 1px solid #a7b0bd;
  border-radius: 4px;
  padding: 8px 10px;
  font: inherit;
}

.lkn-storefront button {
  min-height: 42px;
  border: 1px solid #1f2933;
  border-radius: 4px;
  background: #1f2933;
  color: #fff;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lkn-storefront button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.lkn-storefront__message {
  min-height: 22px;
  margin: 12px 0 0;
  color: #4b5563;
}

.lkn-storefront__loading {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0 0 16px;
  border: 1px solid #d5dae1;
  border-radius: 6px;
  background: #f8fafc;
  color: #4b5563;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  padding: 11px 14px;
  text-align: center;
}

.lkn-storefront__loading[hidden] {
  display: none !important;
}

.lkn-storefront__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lkn-storefront__image-button {
  display: grid;
  gap: 10px;
  border: 1px solid #d5dae1;
  border-radius: 6px;
  background: #1f2933;
  color: #fff;
  padding: 10px;
  text-align: center;
  min-width: 0;
}

.lkn-storefront__image-button img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  background: transparent;
}

.lkn-storefront__image-name {
  font-size: 13px;
  line-height: 1.25;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lkn-storefront__pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 22px 0 0;
}

.lkn-storefront__pagination:empty {
  display: none;
}

.lkn-storefront__pagination-status {
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
}

.lkn-storefront__products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  margin: 0 0 18px;
}

.lkn-storefront .lkn-storefront__product {
  display: grid;
  grid-template-rows: 124px auto 1fr auto;
  gap: 10px;
  align-items: stretch;
  border: 1px solid #d5dae1;
  border-radius: 6px;
  padding: 12px;
  font-weight: 600;
  min-height: 340px;
  height: 100%;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lkn-storefront__product.is-selected {
  border-color: #2f4fa3;
  box-shadow: 0 0 0 2px rgba(47, 79, 163, 0.18);
}

.lkn-storefront__product.is-disabled {
  color: #6b7280;
  background: #f5f7fa;
}

.lkn-storefront__product input {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 28px;
  height: 28px;
  min-height: auto;
  accent-color: #2f4fa3;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(31, 41, 51, 0.28);
  z-index: 1;
}

.lkn-storefront__product-visual {
  width: 100%;
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 8px 10px 0 30px;
  border-radius: 4px;
  background: transparent;
}

.lkn-storefront__product-visual img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 160px);
  max-height: 108px;
  object-fit: contain;
}

.lkn-storefront__product-text {
  display: grid;
  align-content: start;
  align-self: start;
  gap: 6px;
  min-width: 0;
}

.lkn-storefront__product-text strong {
  font-size: 15px;
}

.lkn-storefront__product-description {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.lkn-storefront__product-price {
  align-self: end;
  margin-top: 0;
  white-space: nowrap;
  font-weight: 700;
  text-align: right;
}

.lkn-storefront__subtotal {
  margin: 0 0 12px;
  color: #1f2933;
  font-size: 18px;
  font-weight: 800;
  text-align: right;
}

.lkn-storefront__checkout-link {
  font-weight: 700;
}

.lkn-storefront__registration-link {
  display: block;
  min-height: 42px;
  border: 1px solid #2f4fa3;
  border-radius: 4px;
  background: #2f4fa3;
  color: #fff;
  padding: 8px 14px;
  font: inherit;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
}

.lkn-storefront__selection-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.lkn-storefront__selected-image {
  margin: 0;
}

.lkn-storefront__selected-image-frame {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: transparent;
}

.lkn-storefront__selected-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: var(--lkn-zoom-x, 50%) var(--lkn-zoom-y, 50%);
  transition: transform 0.22s ease;
}

.lkn-storefront__selected-image-frame:hover img {
  transform: scale(3.0);
}

.lkn-storefront__selected-image-frame.lkn-storefront__selected-image-frame--touch-zoom img {
  transform: translate(var(--lkn-touch-pan-x, 0), var(--lkn-touch-pan-y, 0)) scale(3.0);
  transform-origin: 50% 50%;
  transition: none;
}

@media (hover: none) and (pointer: coarse) {
  .lkn-storefront__selected-image-frame {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }

  .lkn-storefront__selected-image img {
    transform-origin: 50% 50%;
    transition: none;
  }

  .lkn-storefront__selected-image-frame:hover img {
    transform: none;
  }

  .lkn-storefront__selected-image-frame.lkn-storefront__selected-image-frame--touch-zoom img {
    transform: translate(var(--lkn-touch-pan-x, 0), var(--lkn-touch-pan-y, 0)) scale(3.0);
  }
}

.lkn-storefront__selected-image figcaption {
  margin-top: 8px;
  overflow: hidden;
  color: #2f4fa3;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lkn-storefront__selection-flow > button[data-lkn-next-athlete],
.lkn-storefront__student-form button {
  width: 100%;
}

.lkn-storefront__back-button {
  margin-top: 20px;
}

.lkn-storefront__modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 24, 39, 0.62);
}

.lkn-storefront__modal {
  width: min(100%, 560px);
  max-height: calc(100vh - 72px);
  overflow: hidden;
  border: 1px solid rgba(31, 41, 51, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.38);
  padding: 0;
  color: #1f2933;
}

.lkn-storefront__modal::before {
  display: none;
}

.lkn-storefront__modal h3 {
  margin: 0;
  padding: 28px 30px 10px;
  color: #111827;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: left;
  text-transform: none;
}

.lkn-storefront__modal-copy {
  padding: 0 30px;
  color: #53606f;
  font-size: 16px;
  line-height: 1.5;
}

.lkn-storefront__modal-copy p {
  margin: 0 0 10px;
}

.lkn-storefront__modal-candidates {
  display: grid;
  gap: 12px;
  margin: 20px 30px 0;
  max-height: min(42vh, 390px);
  overflow-y: auto;
  padding-right: 3px;
}

.lkn-storefront__modal-candidate {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid #d6dce6;
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
  box-shadow: inset 4px 0 0 #2f4fa3;
}

.lkn-storefront__modal-candidate-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #2f4fa3;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.lkn-storefront__modal-candidate-details {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.lkn-storefront__modal-candidate-label {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.2;
  text-transform: uppercase;
}

.lkn-storefront__modal-candidate strong {
  color: #1f2933;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.lkn-storefront__modal-candidate button {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
  min-height: 42px;
  border-color: #1f2933;
  background: #1f2933;
  color: #fff;
}

.lkn-storefront__modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding: 20px 30px 28px;
  border-top: 1px solid #edf0f5;
  background: #fff;
}

.lkn-storefront__modal-register,
.lkn-storefront__modal-secondary {
  min-height: 46px;
  border-radius: 4px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
}

.lkn-storefront__modal-register {
  border: 1px solid #cfd6e1;
  background: #f8fafc;
  color: #1f2933 !important;
}

.lkn-storefront button.lkn-storefront__modal-register {
  border: 1px solid #cfd6e1;
  background: #f8fafc;
  color: #1f2933 !important;
}

.lkn-storefront button.lkn-storefront__modal-secondary {
  border: 1px solid #cfd6e1;
  background: #fff;
  color: #1f2933;
}

.lkn-storefront__registration-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  background: rgba(17, 24, 39, 0.68);
}

.lkn-storefront__registration-overlay[hidden] {
  display: none !important;
}

.lkn-storefront__registration-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 1040px);
  height: min(900px, calc(100vh - 32px));
  height: min(900px, calc(100dvh - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.42);
}

.lkn-storefront__registration-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #e4e8ef;
  min-height: 58px;
  padding: 10px 18px;
  background: #fff;
}

.lkn-storefront__registration-close,
.lkn-storefront button.lkn-storefront__registration-close {
  min-height: 38px;
  border: 1px solid #cfd6e1;
  border-radius: 4px;
  background: #fff;
  color: #1f2933;
  padding: 7px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lkn-storefront__registration-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

html.lkn-storefront-registration-open,
body.lkn-storefront-registration-open {
  overflow: hidden !important;
}

@media (max-width: 640px) {
  body.lkn-storefront-mounted #post-meta\(1\) {
    height: auto !important;
    min-height: 0 !important;
  }

  body.lkn-storefront-mounted #post-meta\(1\) > .ss-s > .sc {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 14px 28px !important;
  }

  body.lkn-storefront-mounted .sie-post-meta_2,
  body.lkn-storefront-mounted .sie-post-meta_0,
  body.lkn-storefront-mounted .sie-post-meta_1,
  body.lkn-storefront-mounted .sie-post-meta_3,
  body.lkn-storefront-mounted .sie-post-meta_4 {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
  }

  body.lkn-storefront-mounted .sie-post-meta_2 {
    order: 2;
  }

  body.lkn-storefront-mounted .sie-post-meta_3,
  body.lkn-storefront-mounted .sie-post-meta_4,
  body.lkn-storefront-mounted .sie-post-meta_0 {
    order: 1;
  }

  body.lkn-storefront-mounted .sie-post-meta_1 {
    display: none !important;
  }

  body.lkn-storefront-mounted .sie-post-meta_0-text,
  body.lkn-storefront-mounted .sie-post-meta_2-text {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  body.lkn-storefront-mounted #primary,
  body.lkn-storefront-mounted #main,
  body.lkn-storefront-mounted .content-area,
  body.lkn-storefront-mounted .site-main,
  body.lkn-storefront-mounted .woocommerce {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.lkn-storefront-mounted #secondary,
  body.lkn-storefront-mounted .widget-area,
  body.lkn-storefront-mounted aside.sidebar,
  body.lkn-storefront-mounted .sidebar {
    float: none !important;
    clear: both !important;
    width: min(100%, 460px) !important;
    max-width: calc(100vw - 32px) !important;
    margin: 28px auto 0 !important;
  }

  body.lkn-storefront-mounted #secondary *,
  body.lkn-storefront-mounted .widget-area * {
    max-width: 100%;
  }

  .lkn-storefront {
    max-width: 100%;
    padding: 18px 12px;
  }

  .lkn-storefront__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .lkn-storefront__selection-layout,
  .lkn-storefront__products {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lkn-storefront__selection {
    max-width: 100%;
  }

  .lkn-storefront__selected-image {
    width: min(100%, 360px);
    margin: 0 auto 14px;
  }

  .lkn-storefront__pagination {
    flex-wrap: wrap;
  }

  .lkn-storefront__pagination button {
    flex: 1 1 128px;
  }

  .lkn-storefront__student-form {
    grid-template-columns: 1fr;
  }

  .lkn-storefront .lkn-storefront__product {
    min-height: 0;
    grid-template-rows: auto auto 1fr auto;
  }

  .lkn-storefront__modal {
    width: min(100%, 520px);
  }

  .lkn-storefront__registration-overlay {
    padding: 8px;
  }

  .lkn-storefront__registration-shell {
    width: 100%;
    height: calc(100vh - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }

  .lkn-storefront__registration-header {
    min-height: 52px;
    padding: 7px 10px;
  }

  .lkn-storefront__modal h3 {
    padding: 22px 20px 10px;
    font-size: 22px;
  }

  .lkn-storefront__modal-copy {
    padding: 0 20px;
  }

  .lkn-storefront__modal-candidates {
    margin: 16px 20px 0;
    max-height: min(44vh, 330px);
  }

  .lkn-storefront__modal-candidate {
    grid-template-columns: 1fr;
  }

  .lkn-storefront__modal-candidate-badge {
    display: none;
  }

  .lkn-storefront__modal-actions {
    grid-template-columns: 1fr;
    padding: 18px 20px 22px;
  }
}

@media (max-width: 380px) {
  .lkn-storefront__grid {
    grid-template-columns: 1fr;
  }

  .lkn-storefront__image-button {
    max-width: 260px;
    margin: 0 auto;
  }
}
