:root {
  /* Defaults — brand.js sobrescreve com as cores da loja resolvida. */
  --checkout-primary: #0066cc;
  --checkout-button: #53AF01;
  --checkout-bg: #F7F5EF;
  --checkout-aside: #EFEDE7;
  --checkout-header: #ffffff;
  --cko-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --cko-text: #171717;
  --cko-muted: #6a7282;
  --cko-border: #d9d9d9;
  --cko-border-hover: #bababa;
  --cko-summary-bg: #fafafa;
  --cko-danger: #dc2626;
  --cko-radius: 5px;
  --cko-focus: 0 0 0 1px var(--checkout-primary, #0066cc);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--cko-font);
  color: var(--cko-text);
  background: var(--checkout-bg, #F7F5EF);
  -webkit-font-smoothing: antialiased;
}

body.cko-booting #checkout-layout,
body.cko-booting .cko-empty,
body.cko-booting #success {
  visibility: hidden;
}

[hidden] {
  display: none !important;
}

.cko-main {
  min-height: 100vh;
  background: var(--checkout-bg, #F7F5EF);
}

.cko-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #ebe7df;
}

.cko-header-inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 0;
}

.cko-boot {
  display: grid;
  place-content: center;
  gap: 0.75rem;
  min-height: 50vh;
  text-align: center;
  color: #6b7280;
}

.cko-boot-spinner,
.cko-spinner {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto;
  border: 3px solid #dbe3ef;
  border-top-color: var(--checkout-primary);
  border-radius: 50%;
  animation: cko-spin 0.7s linear infinite;
}

@keyframes cko-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cko-label-float {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}

.cko-empty {
  max-width: 24rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  text-align: center;
}

.cko-empty img,
.cko-empty-logo {
  display: block;
  width: min(280px, 100%);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.cko-empty h1 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.35rem;
}

.cko-empty p {
  color: #6b7280;
}

/* Mobile inline summary — flush under header */
.cko-inline-summary {
  display: block;
  margin: 0 -21px 1.5rem;
  background: #EFEDE7;
  border-top: 0;
  border-bottom: 1px solid #e6e3db;
}

.cko-inline-summary--pay {
  margin: 1.25rem 0 0;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

#checkout-form {
  padding-top: 0.25rem;
}

.cko-inline-summary--pay .cko-inline-collapsed,
.cko-inline-summary--pay .cko-inline-expanded-head {
  padding: 0;
}

.cko-inline-summary--pay .cko-inline-collapsed-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cko-inline-summary--pay .cko-inline-currency {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: #ececec;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cko-inline-summary--pay .cko-inline-expanded {
  padding: 0.15rem 0 0;
}

.cko-inline-summary--pay .cko-inline-expanded-head {
  margin: 0 0 1rem;
  padding: 0;
}

.cko-inline-summary--pay .cko-inline-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111827;
}

.cko-inline-summary--pay .cko-inline-collapsed-side strong {
  font-size: 17px;
}

.cko-inline-collapsed,
.cko-inline-expanded-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 14px 21px;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: #111827;
}

.cko-inline-summary.is-open .cko-inline-collapsed {
  display: none;
}

.cko-inline-collapsed-main {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
}

.cko-inline-label {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  letter-spacing: 0;
  text-transform: none;
}

.cko-inline-collapsed .cko-chevron,
.cko-inline-expanded-head .cko-chevron {
  flex-shrink: 0;
  color: #111827;
  stroke-width: 2;
}

.cko-inline-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--cko-radius);
  border: 1px solid #e5e5e5;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}

.cko-inline-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cko-inline-meta {
  min-width: 0;
}

.cko-inline-meta strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cko-inline-meta span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.cko-inline-collapsed-side {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cko-inline-currency {
  display: none;
}

.cko-inline-collapsed-side strong {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.cko-inline-expanded {
  padding: 0 21px 16px;
}

.cko-inline-expanded-head {
  margin: 0 -21px 1rem;
  padding: 14px 21px;
}

.cko-inline-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #111827;
}

.cko-chevron {
  transition: transform 0.15s ease;
}

.cko-chevron.is-open {
  transform: rotate(180deg);
}

.cko-field-row-card {
  grid-template-columns: 1fr 1fr !important;
}

.cko-split {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 70px);
}

.cko-form-half {
  width: 100%;
  background: #F7F5EF;
}

.cko-form-inner {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 21px 21px;
}

.cko-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  width: min(280px, 100%);
  max-width: 100%;
  flex: 0 0 auto;
}

.cko-logo img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.cko-summary-half {
  display: none;
}

.cko-section {
  margin-bottom: 1.75rem;
}

.cko-section-title {
  margin: 0 0 0.85rem;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: capitalize;
  color: #111827;
}

.cko-field {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

.cko-address-field {
  z-index: 5;
}

.cko-address-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 0.35rem);
  z-index: 50;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: var(--cko-radius);
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.cko-address-suggestions-head {
  padding: 0.5rem 0.75rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}

.cko-address-suggestions-list {
  max-height: 240px;
  overflow-y: auto;
}

.cko-address-suggestion {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 0;
  border-top: 1px solid #f3f4f6;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.cko-address-suggestion:hover,
.cko-address-suggestion.is-active {
  background: #f9fafb;
}

.cko-address-suggestion-pin {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #9ca3af;
}

.cko-address-suggestion-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cko-address-suggestion-main {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
}

.cko-address-suggestion-secondary {
  font-size: 0.75rem;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cko-address-suggestions-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.75rem 0.55rem;
  border-top: 1px solid #f3f4f6;
  font-size: 11px;
  color: #9ca3af;
}

.cko-google-wordmark {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cko-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 0.75rem;
}

.cko-field-float input,
.cko-field-float select {
  width: 100%;
  height: 48px;
  padding: 0.75rem 0.75rem;
  border: 1px solid var(--cko-border);
  border-radius: var(--cko-radius);
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.25;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, padding 0.15s ease;
}

.cko-field-float input::placeholder {
  color: transparent;
}

.cko-field-float input:hover,
.cko-field-float select:hover {
  border-color: var(--cko-border-hover);
}

.cko-field-float input:focus,
.cko-field-float select:focus {
  border-color: var(--checkout-primary);
  box-shadow: var(--cko-focus);
  padding-top: 1.35rem;
  padding-bottom: 0.35rem;
}

.cko-field-float input:not(:placeholder-shown),
.cko-field-float select:not([value=""]):valid,
.cko-field-float select:has(option:checked:not([value=""])) {
  padding-top: 1.35rem;
  padding-bottom: 0.35rem;
}

.cko-field-float input.is-invalid,
.cko-field-float select.is-invalid {
  border-color: var(--cko-danger);
  box-shadow: 0 0 0 1px #ef4444;
}

.cko-field-float > label {
  position: absolute;
  left: 13px;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  color: #6b7280;
  transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease;
}

.cko-field-float input:focus + label,
.cko-field-float input:not(:placeholder-shown) + label,
.cko-field-float select:focus + label,
.cko-field-float.select-filled > label,
.cko-field-select > label {
  top: 5px;
  transform: none;
  font-size: 0.7rem;
  animation: cko-label-float 150ms ease-out;
}

.cko-field-select select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
  padding-top: 1.35rem;
  padding-bottom: 0.35rem;
  cursor: pointer;
}

.cko-error {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.cko-error:empty {
  display: none;
}

.cko-secure {
  margin: -0.35rem 0 0.85rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.cko-ship-placeholder {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
}

.cko-ship-choose {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #111827;
}

.cko-shipping {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
}

.cko-ship-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.75rem;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 0;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
}

.cko-ship-option:first-child {
  border-top: 0;
}

.cko-ship-option.is-selected {
  position: relative;
  z-index: 1;
  background: #f3f4f6;
  box-shadow: inset 0 0 0 1.5px #111827;
}

.cko-ship-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  grid-column: 1;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #c4c4c4;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.cko-ship-option input[type="radio"]:checked,
.cko-ship-option.is-selected input[type="radio"] {
  border-color: #166534;
  background:
    radial-gradient(circle at center, #166534 0 5px, #fff 5.5px);
  box-shadow: inset 0 0 0 1.5px #166534;
}

.cko-ship-info {
  grid-column: 2;
  min-width: 0;
}

.cko-ship-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: #171717;
  line-height: 1.35;
}

.cko-ship-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #4b5563;
}

.cko-ship-price {
  grid-column: 3;
  justify-self: end;
  font-size: 0.875rem;
  font-weight: 700;
  color: #171717;
  white-space: nowrap;
  line-height: 1.35;
}

.cko-ship-price.is-free {
  font-weight: 600;
  color: #2d6a4f;
}

.cko-pay {
  border: 1px solid #e5e5e5;
  border-radius: var(--cko-radius);
  padding: 1rem;
  background: #fff;
}

.cko-pagou-wrap {
  margin-bottom: 0.75rem;
}

.cko-pagou-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b6b6b;
  margin-bottom: 0.4rem;
}

.cko-pagou-element {
  background: #fff;
  border: 1px solid #d4d4d4;
  border-radius: var(--cko-radius);
  padding: 0.75rem 0.85rem;
  min-height: 2.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cko-pagou-element:focus-within {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}

.cko-pagou-element.is-invalid {
  border-color: #c0392b;
}

.cko-pay-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.cko-pay-head strong {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cko-brands {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  flex: 0 0 auto;
}

.cko-brands img.cko-brand {
  display: block;
  height: 16px;
  width: 24px;
  object-fit: contain;
  border-radius: 2px;
}

.cko-brands img.cko-brand[hidden],
.cko-brands img.cko-brand.is-extra {
  display: none;
}

.cko-brands-more {
  position: relative;
}

.cko-brands-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 2px;
  background: #fff;
  color: #111827;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.cko-brands-more-btn:hover,
.cko-brands-more-btn[aria-expanded="true"] {
  border-color: #cbd5e1;
  background: #f9fafb;
}

.cko-brands-more-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px #1773b0;
}

.cko-brands-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  width: 140px;
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.cko-brands-panel::before {
  content: "";
  position: absolute;
  top: -5px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
  background: #fff;
  transform: rotate(45deg);
}

.cko-brands-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 28px);
  gap: 0.3rem;
  justify-content: start;
}

.cko-brands-panel-grid img {
  display: block;
  width: 28px;
  height: 18px;
  object-fit: contain;
  border-radius: 2px;
}

.cko-phone {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
  margin-bottom: 0.75rem;
}

.cko-phone-cc {
  position: relative;
}

.cko-phone-cc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 48px;
  padding: 0 0.65rem;
  border: 1px solid var(--cko-border);
  border-radius: var(--cko-radius);
  background: #fff;
  font: inherit;
  font-size: 0.875rem;
  color: #111827;
  cursor: pointer;
  white-space: nowrap;
}

.cko-phone-cc-btn:hover {
  border-color: var(--cko-border-hover);
}

.cko-phone-cc-btn img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.cko-phone-cc-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  width: min(280px, 70vw);
  max-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 0.35rem;
  border: 1px solid #e5e5e5;
  border-radius: var(--cko-radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.cko-phone-cc-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
}

.cko-phone-cc-option:hover,
.cko-phone-cc-option.is-active {
  background: #f3f4f6;
}

.cko-phone-cc-option img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.cko-phone-cc-option .cko-phone-cc-dial {
  margin-left: auto;
  color: #6b7280;
}

.cko-phone-input {
  margin-bottom: 0;
}

.cko-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
}

.cko-check input {
  margin-top: 0.2rem;
  accent-color: var(--checkout-primary);
}

.cko-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: 1.25rem;
  border: 0;
  border-radius: var(--cko-radius);
  background: var(--checkout-button);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.cko-btn:hover {
  filter: brightness(0.96);
}

/* Trust badges + reviews — compact Icon Amsterdam mobile print */
.cko-trust {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cko-trust-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cko-trust-badge {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 0.55rem;
  align-items: flex-start;
}

.cko-trust-icon {
  display: block;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  object-fit: contain;
}

.cko-trust-badge-copy strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.cko-trust-badge-copy p {
  margin: 0.08rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.3;
  color: #8a8a8a;
}

.cko-trust-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 0.4rem;
  text-align: center;
}

.cko-trust-stars {
  display: block;
  height: 16px;
  width: auto;
  max-width: 86px;
  object-fit: contain;
}

.cko-trust-stars--card {
  height: 14px;
  max-width: 74px;
  margin: 0 0 0.45rem;
}

.cko-trust-excellent {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #000;
  line-height: 1;
}

.cko-trust-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #00b67a;
  line-height: 1;
}

.cko-trust-brand-star {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.cko-trust-brand-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #00b67a;
}

.cko-trust-reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.cko-trust-review {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.75rem 0.65rem;
  border: 1px solid #dedede;
  border-radius: 6px;
  background: #fff;
  text-align: left;
}

.cko-trust-review h3 {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

.cko-trust-review p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #111;
}

.cko-trust-review footer {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-style: italic;
  color: #9a9a9a;
}

.cko-trust-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
}

.cko-trust-nav-btn {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.cko-trust-nav-btn:hover {
  opacity: 0.55;
}

.cko-trust-footnote {
  margin: 0;
  text-align: center;
  font-size: 0.6875rem;
  color: #111;
}

.cko-summary-title {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.cko-summary-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cko-discount-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  cursor: pointer;
}

.cko-discount-toggle svg {
  flex-shrink: 0;
  color: #6b7280;
}

.cko-discount {
  margin-bottom: 0.85rem;
}

.cko-discount-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: start;
}

.cko-discount-apply {
  height: 48px;
  padding: 0 1rem;
  border: 1px solid var(--cko-border);
  border-radius: var(--cko-radius);
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.cko-discount-apply:hover {
  border-color: var(--cko-border-hover);
}

.cko-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: start;
}

.cko-line-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  padding: 2px;
  border-radius: var(--cko-radius);
  border: 1px solid #e5e5e5;
  overflow: visible;
  background: #fff;
  box-shadow:
    0 1px 1.75px 0 rgba(0, 0, 0, 0.07),
    0 -0.5px 1.5px 0 rgba(0, 0, 0, 0.05),
    0 3px 4px 0 rgba(0, 0, 0, 0.02);
}

.cko-line-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--cko-radius) - 1px);
  background: #f3f4f6;
}

.cko-line-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 0.25rem;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  display: grid;
  place-items: center;
}

.cko-line-info strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

.cko-line-info > span {
  display: block;
  margin-top: 0.15rem;
  color: #6b7280;
  font-size: 0.75rem;
}

.cko-line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 0.55rem;
}

.cko-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.cko-qty-btn {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.cko-qty-btn:hover {
  background: #f3f4f6;
}

.cko-qty-btn:active {
  background: #e5e7eb;
}

.cko-qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111;
}

.cko-line-remove {
  border: 0;
  background: transparent;
  padding: 0;
  color: #6b7280;
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cko-line-remove:hover {
  color: #111;
}

.cko-line-price {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.cko-totals {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid #e5e5e5;
}

.cko-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.cko-totals dt {
  margin: 0;
  color: #6b7280;
  font-weight: 400;
}

.cko-totals dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.cko-total-row {
  margin-top: 0.65rem !important;
  padding-top: 0.65rem;
  border-top: 1px solid #e5e5e5;
  font-size: 1.05rem !important;
}

.cko-total-row dt,
.cko-total-row dd {
  color: #111;
  font-weight: 700;
}

.cko-footer {
  margin-top: 1.25rem;
  padding-top: 0.35rem;
  border-top: 0;
  text-align: center;
}

.cko-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 1rem;
  max-width: 100%;
}

.cko-footer-links a {
  color: #111;
  font-size: 0.75rem;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cko-footer-links a:hover {
  opacity: 0.7;
}

.cko-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(248, 250, 252, 0.78);
  backdrop-filter: blur(3px);
  padding: 1rem;
}

.cko-overlay[hidden],
.cko-success[hidden] {
  display: none !important;
}

.cko-overlay-card,
.cko-success-card {
  width: min(100%, 22rem);
  min-width: 260px;
  padding: 1.75rem 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.cko-overlay-card p {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
}

.cko-success {
  display: grid;
  place-items: center;
  min-height: 80vh;
  padding: 1.5rem;
}

.cko-success-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.cko-order-num {
  margin: 1rem 0 1.5rem;
  color: #6b7280;
}

@media (min-width: 640px) {
  .cko-field-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .cko-inline-summary {
    display: none;
  }

  .cko-m-summary {
    display: none;
  }

  /* Full-bleed white brand header */
  .cko-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #ebe7df;
  }

  .cko-header-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 14px 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .cko-logo {
    width: min(340px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .cko-logo img {
    width: 100%;
    margin: 0 auto;
  }

  .cko-split {
    flex-direction: row;
    align-items: stretch;
    min-height: calc(100vh - 160px);
  }

  .cko-form-half {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    background: #F7F5EF;
  }

  .cko-form-inner {
    margin: 0;
    width: 540px;
    max-width: none;
    padding: 20px 38px;
  }

  .cko-summary-half {
    display: block;
    width: 50%;
    background: var(--checkout-aside, #EFEDE7);
    border-left: 1px solid #ebe7df;
    margin-top: 0;
    min-height: calc(100vh - 160px);
    padding-top: 0;
    box-sizing: border-box;
  }

  .cko-summary-inner {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 480px;
    padding: 38px;
  }
}
