/* Release 0.5.4 — Resources shop and Digistore24 checkout */
.resources-hero-grid{display:flex;align-items:center;justify-content:space-between;gap:34px}.catalog-cart-summary,.cart-trigger{font:inherit}.catalog-cart-summary{min-width:190px;border:1px solid #d5e0ef;border-radius:10px;background:#fff;padding:13px 16px;display:flex;align-items:center;gap:12px;text-align:left;color:var(--navy);box-shadow:0 6px 20px rgba(20,48,89,.06);cursor:pointer}.catalog-cart-summary strong,.catalog-cart-summary small{display:block}.catalog-cart-summary strong{font-size:13px}.catalog-cart-summary small{font-size:10px;color:#60708a;margin-top:2px}.catalog-cart-icon{width:38px;height:38px;border-radius:9px;background:#edf3ff;color:#155eef;display:grid;place-items:center}.cart-trigger{border:1px solid var(--line);border-radius:7px;padding:8px 10px;background:#fff;display:flex;align-items:center;gap:7px;color:#1340a5;cursor:pointer}.header-actions .cart-trigger{font-size:12px}.cart-count{min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#155eef;color:#fff;display:inline-grid;place-items:center;font-size:9px;font-weight:800}.catalog-intro{padding-top:24px}.catalog-principle{display:flex;align-items:center;justify-content:space-between;gap:26px}.availability-note{flex:0 0 auto;font-size:11px;font-weight:700;color:#41516a;display:flex;align-items:center;gap:8px}.availability-note span,.cart-readiness>span{width:8px;height:8px;border-radius:50%;background:#ff9b29;box-shadow:0 0 0 4px #fff1df}.product-section{padding:30px 0}.muted-catalog-section{background:#f7f9fd;border-top:1px solid #eaf0f7;border-bottom:1px solid #eaf0f7}.catalog-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px}.catalog-heading h2{font-size:24px;letter-spacing:-.035em;margin:3px 0 5px}.catalog-heading p{margin:0;color:#526078;max-width:680px}.catalog-kicker{font-size:9.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#155eef}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.product-card{border:1px solid var(--line);border-radius:11px;background:#fff;padding:18px;display:flex;flex-direction:column;min-height:405px;box-shadow:0 2px 8px rgba(20,48,89,.025);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.product-card:hover{transform:translateY(-2px);border-color:#b9cae4;box-shadow:0 12px 26px rgba(20,48,89,.08)}.product-card.selected{border-color:#4e83e8;box-shadow:0 0 0 2px #e8f0ff}.product-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}.product-family{font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#155eef}.product-status{font-size:8.5px;color:#65502e;background:#fff5e7;border:1px solid #f1d6ad;border-radius:12px;padding:3px 7px;white-space:nowrap}.product-icon{width:40px;height:40px;border-radius:9px;display:grid;place-items:center;margin-bottom:13px}.product-card h3{font-size:17px;line-height:1.2;letter-spacing:-.025em;margin:0 0 8px}.product-card>p{font-size:11.5px;color:#526078;margin:0 0 13px}.product-includes{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:6px;font-size:10.5px;color:#3e4e67}.product-includes li{position:relative;padding-left:17px}.product-includes li:before{content:"";position:absolute;left:0;top:5px;width:7px;height:4px;border-left:1.5px solid #155eef;border-bottom:1.5px solid #155eef;transform:rotate(-45deg)}.product-price{margin-top:auto;padding-top:13px;border-top:1px solid #edf2f8;display:flex;align-items:end;justify-content:space-between;gap:8px}.product-price strong{font-size:15px}.product-price span{font-size:9px;color:#68768b}.product-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.product-actions button{height:36px;border-radius:7px;font:inherit;font-size:10.5px;font-weight:750;cursor:pointer}.product-info{border:1px solid #ccd8e8;background:#fff;color:#173d78}.add-to-cart{border:1px solid #0b3c98;background:#0b3c98;color:#fff}.add-to-cart.is-selected{background:#eaf1ff;color:#154ba9;border-color:#b8cdf5}.compact-products .product-card{min-height:260px}.product-card.compact h3{margin-top:3px}.cart-drawer{position:fixed;top:0;right:0;width:min(420px,92vw);height:100vh;background:#fff;z-index:102;transform:translateX(105%);transition:transform .22s ease;box-shadow:-24px 0 60px rgba(7,26,52,.16);display:flex;flex-direction:column}.cart-drawer.open{transform:translateX(0)}.cart-drawer-header{display:flex;justify-content:space-between;align-items:start;padding:24px;border-bottom:1px solid #e8eef6}.cart-drawer-header h2{font-size:25px;letter-spacing:-.035em;margin:2px 0 0}.cart-close,.modal-close{border:0;background:#f1f5fa;color:#33445f;width:34px;height:34px;border-radius:50%;font-size:24px;line-height:1;cursor:pointer}.cart-items{padding:10px 24px;overflow:auto;display:grid;gap:0}.cart-item{display:grid;grid-template-columns:1fr 30px;gap:12px;padding:14px 0;border-bottom:1px solid #edf2f8}.cart-item strong{display:block;font-size:12px}.cart-item span{font-size:9.5px;color:#647187}.cart-remove{border:0;background:transparent;color:#718096;font-size:20px;cursor:pointer}.cart-empty{padding:34px 24px;text-align:center;color:#526078}.cart-empty strong{color:var(--navy)}.cart-empty p{font-size:11px}.cart-footer{margin-top:auto;padding:20px 24px;border-top:1px solid #e8eef6;background:#f8faff}.cart-readiness{display:grid;grid-template-columns:12px 1fr;gap:10px;align-items:start;margin-bottom:14px}.cart-readiness p{font-size:10px;color:#526078;margin:0}.cart-readiness strong{display:block;color:#24364f}.checkout-disabled{width:100%;height:43px;border:0;border-radius:8px;background:#dce3ec;color:#7b8798;font-weight:750}.cart-backdrop{position:fixed;inset:0;background:rgba(3,20,45,.38);z-index:101}.product-modal{width:min(760px,calc(100% - 30px));border:0;border-radius:14px;padding:32px;box-shadow:0 30px 100px rgba(3,20,45,.25);color:var(--navy)}.product-modal::backdrop{background:rgba(3,20,45,.45)}.product-modal .modal-close{position:absolute;right:18px;top:18px}.modal-category{font-size:9.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#155eef}.product-modal h2{font-size:29px;letter-spacing:-.04em;margin:5px 44px 10px 0}.modal-summary{font-size:13px;color:#526078;max-width:650px}.modal-columns{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px;margin:24px 0}.modal-columns>div{border-top:1px solid #e5ecf5;padding-top:13px}.modal-columns h3{font-size:13px;margin:0 0 7px}.modal-columns p,.modal-columns li{font-size:11px;color:#4c5d75}.modal-deliverables{padding-left:18px;margin:0;display:grid;gap:5px}.modal-note{background:#f1f6ff;border:1px solid #d7e5fb;border-radius:8px;padding:12px 14px;font-size:10.5px;color:#385275}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.modal-actions button{height:40px;border-radius:7px;padding:0 17px;font:inherit;font-size:11px;font-weight:750;cursor:pointer}.modal-secondary{border:1px solid #cfd9e7;background:#fff}.modal-add{border:1px solid #0b3c98;background:#0b3c98;color:#fff}@media(max-width:1050px){.product-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.resources-hero-grid,.catalog-principle{align-items:flex-start;flex-direction:column}.catalog-cart-summary{width:100%}.product-grid{grid-template-columns:1fr}.product-card{min-height:auto}.modal-columns{grid-template-columns:1fr}.header-actions .cart-trigger span:not(.cart-count){display:none}.cart-trigger{padding:8px}.product-modal{padding:26px 20px}.product-actions{grid-template-columns:1fr}.catalog-heading h2{font-size:21px}}


/* Cross-site Resources cart integration.
   All selectors remain isolated and do not modify framework content. */

.cy-resources-cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 8px 9px;
  border-radius: 8px;
}

.cy-resources-cart-trigger:hover,
.cy-resources-cart-trigger:focus-visible {
  background: rgba(31, 63, 105, 0.08);
}

.cy-resources-cart-icon {
  width: 19px;
  height: 19px;
  display: block;
}

.cy-resources-cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #173f70;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  font-weight: 700;
}

.cy-resources-add.is-selected {
  outline: 2px solid #173f70;
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .cy-resources-cart-label {
    display: none;
  }
}
/* Resources NIS2 catalogue 0.3.26 */
.nis2-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #dfe5ec;
}

.category-product-count {
  color: #5f6b78;
  font-size: 0.94rem;
  white-space: nowrap;
}

.nis2-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.premium-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.premium-product-card > p {
  flex: 1;
}

.premium-product-card .product-price {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e3e8ee;
}

.premium-product-card .product-price strong {
  font-size: 1.45rem;
}

.license-section {
  border-top: 1px solid #e2e7ed;
  background: #f7f9fb;
}

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

.license-card {
  padding: 24px;
  border: 1px solid #dfe5ec;
  border-radius: 14px;
  background: #fff;
}

.license-card h3 {
  margin-top: 0;
}

.license-card ul {
  margin-bottom: 0;
  padding-left: 19px;
}

.product-detail-modal {
  width: min(1040px, calc(100vw - 32px));
  max-height: min(880px, calc(100vh - 32px));
  padding: 30px;
}

.product-detail-modal .modal-summary {
  max-width: 880px;
  font-size: 1.02rem;
}

.modal-purpose-section {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid #244e7a;
  border-radius: 8px;
  background: #f5f8fb;
}

.modal-purpose-section h3,
.modal-purpose-section p {
  margin: 0;
}

.modal-purpose-section p {
  margin-top: 7px;
}

.modal-section {
  margin-top: 30px;
}

.modal-license-grid,
.modal-module-grid,
.modal-delivery-grid {
  display: grid;
  gap: 14px;
}

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

.modal-module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.modal-license-card,
.modal-module-card,
.modal-delivery-card {
  border: 1px solid #dfe5ec;
  border-radius: 12px;
  background: #fff;
}

.modal-license-card {
  position: relative;
  padding: 0;
}

.modal-license-card label {
  display: block;
  height: 100%;
  padding: 19px;
  cursor: pointer;
}

.modal-license-card input {
  position: absolute;
  top: 17px;
  right: 17px;
}

.modal-license-card strong,
.modal-license-card span {
  display: block;
}

.modal-license-card .license-price {
  margin-top: 12px;
  font-size: 1.35rem;
}

.modal-license-card:has(input:checked) {
  border-color: #244e7a;
  box-shadow: 0 0 0 2px rgba(36, 78, 122, 0.12);
}

.modal-module-card {
  padding: 18px;
}

.modal-module-card h4 {
  margin: 0 0 8px;
}

.modal-module-card p {
  margin: 0;
}

.modal-delivery-card {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 17px;
  font-weight: 650;
}

.cart-item-license,
.cart-item-price {
  display: block;
  margin-top: 3px;
  color: #5f6b78;
  font-size: 0.88rem;
}

.cart-item-price {
  color: inherit;
  font-weight: 700;
}

@media (max-width: 820px) {
  .nis2-product-grid,
  .license-grid,
  .modal-license-grid,
  .modal-module-grid,
  .modal-delivery-grid {
    grid-template-columns: 1fr;
  }

  .nis2-category-heading {
    align-items: start;
    flex-direction: column;
  }
}
/* Resources fixed-license-card model 0.3.27 */
.product-group {
  margin-top: 44px;
  padding-top: 4px;
}

.product-group + .product-group {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #dfe5ec;
}

.product-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.product-group-heading > div {
  max-width: 820px;
}

.product-group-heading h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.product-group-heading p {
  margin: 0;
}

.group-detail-button {
  flex: 0 0 auto;
}

.license-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.license-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid #dfe5ec;
  border-radius: 14px;
  background: #fff;
}

.license-product-card.selected {
  border-color: #244e7a;
  box-shadow: 0 0 0 2px rgba(36, 78, 122, 0.11);
}

.license-name {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
}

.license-price {
  display: block;
  margin-top: 12px;
  font-size: 1.6rem;
  line-height: 1.1;
}

.license-product-card ul {
  flex: 1;
  margin: 22px 0;
  padding-left: 19px;
}

.license-product-card .add-to-cart {
  width: 100%;
}

.content-only-modal-actions {
  justify-content: flex-end;
}

@media (max-width: 940px) {
  .license-product-grid {
    grid-template-columns: 1fr;
  }

  .product-group-heading {
    align-items: start;
    flex-direction: column;
  }
}
/* Resources design refinement 0.3.28 */
.product-section .wrap {
  max-width: 1180px;
}

.product-group {
  margin-top: 0;
  padding-top: 0;
}

.product-group + .product-group {
  margin-top: 34px;
  padding-top: 34px;
}

.product-group-heading {
  display: block;
  margin-bottom: 18px;
}

.product-group-heading > div {
  max-width: 900px;
}

.product-group-heading h3 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
}

.product-group-heading p {
  max-width: 860px;
}

.license-product-grid {
  gap: 16px;
}

.license-product-card {
  padding: 22px;
  border-radius: 16px;
}

.license-product-card ul {
  margin: 20px 0 22px;
}

.license-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.license-card-actions .add-to-cart,
.license-details-button {
  min-height: 48px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.15;
}

.license-card-actions .add-to-cart {
  border: 1px solid #244e7a;
  background: #244e7a;
  color: #fff;
}

.license-card-actions .add-to-cart:hover {
  background: #1e4267;
}

.license-details-button {
  border: 1px solid #cfd8e2;
  background: #fff;
  color: #244e7a;
  cursor: pointer;
}

.license-details-button:hover {
  border-color: #244e7a;
  background: #f5f8fb;
}

.product-detail-modal {
  width: min(1120px, calc(100vw - 28px));
  max-height: min(920px, calc(100vh - 28px));
  padding: 34px;
}

.product-detail-modal .modal-summary {
  max-width: 980px;
  font-size: 1.04rem;
  line-height: 1.65;
}

.product-detail-modal .modal-module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-detail-modal .modal-delivery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-detail-modal .modal-module-card,
.product-detail-modal .modal-delivery-card {
  border-radius: 14px;
}

@media (max-width: 940px) {
  .license-card-actions {
    grid-template-columns: 1fr;
  }

  .product-group + .product-group {
    margin-top: 28px;
    padding-top: 28px;
  }
}

@media (max-width: 720px) {
  .product-detail-modal {
    width: min(100vw - 16px, 1120px);
    padding: 22px;
  }

  .product-detail-modal .modal-module-grid,
  .product-detail-modal .modal-delivery-grid {
    grid-template-columns: 1fr;
  }
}

/* Release 0.4.0 — universal, conversion-focused cart */
body.cy-cart-open {
  overflow: hidden;
}

.cy-cart-drawer [hidden],
.cy-cart-backdrop[hidden] {
  display: none !important;
}

.cy-cart-trigger {
  min-height: 40px;
  padding: 7px 9px 7px 11px !important;
  border: 1px solid #d5e0ef !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #123b76 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 7px !important;
  font: inherit;
  font-size: 11.5px !important;
  font-weight: 720 !important;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(18, 59, 118, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cy-cart-trigger:hover,
.cy-cart-trigger:focus-visible {
  border-color: #8eadda !important;
  box-shadow: 0 7px 20px rgba(18, 59, 118, .11);
  transform: translateY(-1px);
  outline: none;
}

.cy-cart-trigger-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
}

.cy-cart-trigger-icon svg,
.cy-cart-security-bar svg,
.cy-cart-checkout svg,
.cy-cart-empty-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cy-cart-count {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: #155eef;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}

body .cy-cart-drawer {
  position: fixed;
  z-index: 302;
  top: 0;
  right: 0;
  width: min(520px, 100vw);
  height: 100dvh;
  background: #fff;
  color: #081426;
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  transition: transform .24s cubic-bezier(.2, .72, .25, 1);
  box-shadow: -30px 0 90px rgba(3, 20, 45, .24);
  overflow: hidden;
}

body .cy-cart-drawer.open,
body .cy-cart-drawer.is-open {
  transform: translateX(0);
}

.cy-cart-security-bar {
  min-height: 42px;
  padding: 10px 24px;
  background: #071a35;
  color: #d9e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 680;
  letter-spacing: .01em;
}

.cy-cart-security-bar svg {
  width: 16px;
  height: 16px;
  color: #75abe8;
}

.cy-cart-header {
  padding: 23px 24px 19px;
  border-bottom: 1px solid #e6edf6;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cy-cart-kicker {
  color: #155eef;
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.cy-cart-header h2 {
  margin: 3px 0 0;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.cy-cart-close {
  width: 38px;
  height: 38px;
  border: 1px solid #dce5f1;
  border-radius: 50%;
  background: #f6f8fc;
  color: #344963;
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cy-cart-close:hover,
.cy-cart-close:focus-visible {
  border-color: #9fb6d4;
  background: #edf3fb;
  outline: none;
}

.cy-cart-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 24px;
  overflow: auto;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.cy-cart-items {
  display: grid;
  gap: 11px;
}

.cy-cart-item {
  padding: 15px;
  border: 1px solid #dce5f1;
  border-radius: 13px;
  background: #fff;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  box-shadow: 0 5px 18px rgba(20, 48, 89, .05);
}

.cy-cart-item-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(145deg, #eaf2ff, #dbe9ff);
  color: #155eef;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
}

.cy-cart-item-copy {
  min-width: 0;
}

.cy-cart-license {
  width: fit-content;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef4ff;
  color: #124ca9;
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.cy-cart-item-copy strong,
.cy-cart-item-copy small,
.cy-cart-item-price strong,
.cy-cart-item-price span {
  display: block;
}

.cy-cart-item-copy strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.cy-cart-item-copy small,
.cy-cart-item-price span {
  margin-top: 3px;
  color: #66758b;
  font-size: 9px;
}

.cy-cart-item-price {
  text-align: right;
}

.cy-cart-item-price strong {
  color: #0b2d5f;
  font-size: 13px;
  white-space: nowrap;
}

.cy-cart-empty {
  min-height: 245px;
  padding: 34px 20px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.cy-cart-empty-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 50%;
  background: #edf4ff;
  color: #155eef;
  display: grid;
  place-items: center;
}

.cy-cart-empty strong {
  font-size: 17px;
}

.cy-cart-empty p {
  max-width: 320px;
  margin: 7px 0 15px;
  color: #526078;
  font-size: 11.5px;
}

.cy-cart-empty a {
  color: #0d4fc4;
  font-size: 11.5px;
  font-weight: 760;
}

.cy-cart-recommendation {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #bfd3f5;
  border-radius: 13px;
  background: linear-gradient(135deg, #f3f7ff, #eaf2ff);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.cy-cart-recommendation span,
.cy-cart-recommendation strong {
  display: block;
}

.cy-cart-recommendation span {
  color: #155eef;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.cy-cart-recommendation strong {
  margin-top: 3px;
  font-size: 12px;
}

.cy-cart-recommendation p {
  margin: 4px 0 0;
  color: #526078;
  font-size: 10px;
}

.cy-cart-recommendation button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #155eef;
  border-radius: 8px;
  background: #fff;
  color: #124ca9;
  font: inherit;
  font-size: 9.5px;
  font-weight: 760;
  white-space: nowrap;
  cursor: pointer;
}

.cy-cart-recommendation button:hover,
.cy-cart-recommendation button:focus-visible {
  background: #155eef;
  color: #fff;
  outline: none;
}

.cy-cart-footer {
  flex: 0 0 auto;
  padding: 18px 24px 20px;
  border-top: 1px solid #dfe7f1;
  background: #f7f9fc;
  box-shadow: 0 -12px 30px rgba(20, 48, 89, .055);
}

.cy-cart-total-row {
  margin-bottom: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.cy-cart-total-row span,
.cy-cart-total-row small {
  display: block;
}

.cy-cart-total-row span {
  font-size: 12px;
  font-weight: 750;
}

.cy-cart-total-row small {
  margin-top: 2px;
  color: #69778c;
  font-size: 9px;
}

.cy-cart-total-row > strong {
  color: #071a35;
  font-size: 22px;
  letter-spacing: -.03em;
}

.cy-cart-checkout {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b3c98, #155eef);
  color: #fff !important;
  display: grid;
  grid-template-columns: 19px 1fr 18px;
  place-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 790;
  text-align: center;
  box-shadow: 0 9px 24px rgba(21, 94, 239, .22);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.cy-cart-checkout svg {
  width: 19px;
  height: 19px;
}

.cy-cart-checkout b {
  font-size: 17px;
}

.cy-cart-checkout:hover,
.cy-cart-checkout:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(21, 94, 239, .29);
  outline: none;
}

.cy-cart-checkout.is-disabled {
  background: #d8e0eb;
  color: #738095 !important;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: auto;
}

.cy-cart-checkout.is-loading {
  opacity: .78;
  pointer-events: none;
}

.cy-cart-manage {
  width: 100%;
  min-height: 38px;
  margin-top: 7px;
  border: 0;
  background: transparent;
  color: #345272;
  font: inherit;
  font-size: 10px;
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cy-cart-trust {
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1px solid #e0e7f0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 13px;
}

.cy-cart-trust span {
  position: relative;
  padding-left: 12px;
  color: #4f6077;
  font-size: 8.5px;
  white-space: nowrap;
}

.cy-cart-trust span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #128551;
  font-weight: 900;
}

.cy-cart-price-note {
  max-width: 420px;
  margin: 9px auto 0;
  color: #728096;
  font-size: 8.5px;
  line-height: 1.45;
  text-align: center;
}

body .cy-cart-backdrop {
  position: fixed;
  z-index: 301;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(3, 14, 31, .52);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.cy-cart-toast {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 50%;
  width: calc(100% - 16px);
  padding: 11px 14px;
  border: 1px solid #bcd4fa;
  border-radius: 9px;
  background: #eef5ff;
  color: #123c78;
  font-size: 10px;
  font-weight: 680;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 54, 110, .14);
  transform: translateX(-50%);
}

.cy-cart-toast[data-type="warning"],
.cy-cart-toast[data-type="error"] {
  border-color: #efd6ad;
  background: #fff7e9;
  color: #73511e;
}

@media (max-width: 720px) {
  .cy-cart-trigger-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .cy-cart-trigger {
    padding: 7px !important;
    gap: 4px !important;
  }

  .cy-cart-recommendation {
    grid-template-columns: 1fr;
  }

  .cy-cart-recommendation button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cy-cart-security-bar {
    padding-inline: 16px;
  }

  .cy-cart-header,
  .cy-cart-body,
  .cy-cart-footer {
    padding-left: 17px;
    padding-right: 17px;
  }

  .cy-cart-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .cy-cart-item-mark {
    width: 38px;
    height: 38px;
  }

  .cy-cart-item-price {
    grid-column: 2;
    text-align: left;
  }

  .cy-cart-item-price strong,
  .cy-cart-item-price span {
    display: inline;
  }

  .cy-cart-item-price span {
    margin-left: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .cy-cart-drawer,
  .cy-cart-trigger,
  .cy-cart-checkout {
    transition: none !important;
  }
}

/* Release 0.5.4 — exact cart synchronization and direct Digistore24 checkout */
.cy-cart-item-mark,
.cy-cart-item-copy {
  grid-row: 1 / 3;
}

.cy-cart-item-price {
  grid-column: 3;
  grid-row: 1;
}

.cy-cart-item-remove {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #6a7890;
  font: inherit;
  font-size: 9px;
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cy-cart-item-remove:hover,
.cy-cart-item-remove:focus-visible {
  color: #b42318;
  outline: none;
}

.cy-checkout-handoff[hidden],
.cy-checkout-handoff [hidden] {
  display: none !important;
}

body.cy-checkout-in-progress {
  overflow: hidden;
}

.cy-checkout-handoff {
  position: fixed;
  z-index: 2147483647 !important;
  inset: 0;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(44, 113, 235, .28), transparent 34%),
    linear-gradient(145deg, rgba(2, 12, 29, .96), rgba(5, 25, 55, .98));
  display: grid;
  place-items: center;
  overflow: auto;
  backdrop-filter: blur(10px);
}

.cy-checkout-handoff-card {
  width: min(610px, 100%);
  padding: 28px 30px 26px;
  border: 1px solid rgba(177, 206, 255, .55);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f7faff);
  color: #071a35;
  text-align: center;
  box-shadow: 0 34px 100px rgba(0, 8, 24, .46);
}

.cy-checkout-handoff-brand {
  padding-bottom: 17px;
  border-bottom: 1px solid #e3eaf3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cy-checkout-handoff-brand > span,
.cy-checkout-handoff-brand > b {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cy-checkout-handoff-brand > span {
  font-size: 15px;
  font-weight: 820;
  letter-spacing: -.02em;
}

.cy-checkout-handoff-brand img {
  width: 27px;
  height: 27px;
}

.cy-checkout-handoff-brand > b {
  color: #25704c;
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cy-checkout-handoff-brand svg,
.cy-checkout-handoff-trust > svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.cy-checkout-handoff-mark {
  width: 64px;
  height: 64px;
  margin: 25px auto 14px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0b3c98, #216cf0);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(21, 94, 239, .25);
}

.cy-checkout-handoff-mark svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.cy-checkout-handoff-kicker {
  color: #155eef;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cy-checkout-handoff-card h2 {
  margin: 7px 0 8px;
  font-size: clamp(25px, 4vw, 33px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.cy-checkout-handoff-lead {
  max-width: 455px;
  margin: 0 auto;
  color: #526078;
  font-size: 12px;
}

.cy-checkout-handoff-summary {
  max-width: 455px;
  margin: 18px auto 0;
  padding: 11px 14px;
  border: 1px solid #dce5f1;
  border-radius: 11px;
  background: #f8faff;
  color: #53657d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
}

.cy-checkout-handoff-summary b,
.cy-checkout-handoff-summary strong {
  color: #0b2d5f;
  font-size: 11px;
}

.cy-checkout-handoff-steps {
  margin: 14px 0 13px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
}

.cy-checkout-handoff-steps li {
  min-height: 72px;
  padding: 11px 8px;
  border: 1px solid #dce5f1;
  border-radius: 11px;
  background: #fff;
  color: #728096;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  font-size: 9px;
}

.cy-checkout-handoff-steps li > span {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #edf2f8;
  display: grid;
  place-items: center;
  font-weight: 850;
}

.cy-checkout-handoff-steps li.is-active {
  border-color: #8ab0f7;
  background: #f1f6ff;
  color: #124ca9;
  box-shadow: inset 0 0 0 1px rgba(21, 94, 239, .08);
}

.cy-checkout-handoff-steps li.is-complete {
  border-color: #a9dbc1;
  background: #f1fbf6;
  color: #137446;
}

.cy-checkout-handoff-steps li.is-active > span {
  background: #155eef;
  color: #fff;
}

.cy-checkout-handoff-steps li.is-complete > span {
  background: #149653;
  color: #fff;
}

.cy-checkout-handoff-progress {
  height: 5px;
  border-radius: 99px;
  background: #e5ebf3;
  overflow: hidden;
}

.cy-checkout-handoff-progress span {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #155eef, #25a568);
  display: block;
  transition: width .28s ease;
}

.cy-checkout-handoff-status {
  min-height: 18px;
  margin: 11px 0 0;
  color: #345272;
  font-size: 10.5px;
  font-weight: 680;
}

.cy-checkout-handoff-trust {
  margin-top: 17px;
  padding: 12px 14px;
  border: 1px solid #dce7df;
  border-radius: 11px;
  background: #f5fbf8;
  color: #24704b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: left;
}

.cy-checkout-handoff-trust span,
.cy-checkout-handoff-trust strong {
  display: block;
}

.cy-checkout-handoff-trust strong {
  font-size: 9.5px;
}

.cy-checkout-handoff-trust span {
  font-size: 8.5px;
}

.cy-checkout-handoff-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
}

.cy-checkout-handoff-actions button,
.cy-checkout-handoff-actions a {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #155eef;
  border-radius: 9px;
  background: #155eef;
  color: #fff;
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 10px;
  font-weight: 760;
  cursor: pointer;
}

.cy-checkout-handoff-actions .secondary {
  border-color: #d5dfed;
  background: #fff;
  color: #345272;
}

.cy-checkout-handoff-card.is-error .cy-checkout-handoff-mark {
  background: linear-gradient(145deg, #b54708, #e87321);
  box-shadow: 0 14px 34px rgba(181, 71, 8, .22);
}

.cy-checkout-handoff-card.is-error .cy-checkout-handoff-status {
  color: #9a3412;
}

/* Digistore24 remains the cart/checkout engine, but its technical interim
   windows stay behind the branded handoff. The customer is sent straight to
   the validated checkout-ds24.com order form once synchronization completes. */
body.cy-ds24-bridge-active #app_cart_added_container,
body.cy-ds24-bridge-active .app_cart_tooltip_container,
body.cy-ds24-bridge-active .ds24_tooltip_container_window {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 520px) {
  .cy-cart-item-mark,
  .cy-cart-item-copy {
    grid-row: auto;
  }

  .cy-cart-item-price {
    grid-column: 2;
    grid-row: auto;
  }

  .cy-cart-item-remove {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
  }

  .cy-checkout-handoff {
    padding: 12px;
  }

  .cy-checkout-handoff-card {
    padding: 20px 17px;
    border-radius: 16px;
  }

  .cy-checkout-handoff-brand > b {
    font-size: 8px;
  }

  .cy-checkout-handoff-steps {
    grid-template-columns: 1fr;
  }

  .cy-checkout-handoff-steps li {
    min-height: 48px;
    grid-template-columns: 24px 1fr;
    justify-items: start;
    text-align: left;
  }

  .cy-checkout-handoff-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cy-checkout-handoff-progress span {
    transition: none;
  }
}
