.cart-main {
  padding: 32px 0 80px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.cart-item {
  background: var(--color-white);
  border: 1.5px solid var(--color-border-warm);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  transition: border-color 0.15s;
  position: relative;
}

.ci-img {
  width: 140px;
  height: 130px;
  object-fit: contain;
  background: var(--color-cream);
  border-radius: 12px;
  padding: 10px;
  flex-shrink: 0;
  mix-blend-mode: multiply;
  cursor: pointer;
  transition: opacity 0.15s;
}
.ci-img:hover {
  opacity: 0.82;
}

.ci-body {
  flex: 1;
  min-width: 0;
}
.ci-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.ci-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
  line-height: 1.25;
}
.ci-name:hover {
  text-decoration: underline;
}
.ci-meta {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 2px;
}
.ci-remove {
  background: none;
  border: none;
  color: var(--color-muted-soft);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.ci-remove:hover {
  color: var(--color-danger);
}
.ci-remove .material-symbols-outlined {
  font-size: 18px;
}

.ci-opt-prompt {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.ci-opt-q {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.ci-opt-btns {
  display: flex;
  gap: 8px;
}
.ci-opt-yes,
.ci-opt-no {
  flex: 1;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  border: 1.5px solid var(--color-border-warm);
  background: var(--color-white);
  transition: 0.15s;
}
.ci-opt-yes {
  background: var(--color-dark-ui);
  color: var(--color-white);
  border-color: var(--color-dark-ui);
}
.ci-opt-yes:hover {
  background: var(--color-dark-ui-hover);
}
.ci-opt-no:hover {
  border-color: var(--color-dark-ui);
}

.ci-lens-empty {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-family: inherit;
  background: var(--color-cream-3);
  border: 1.5px dashed var(--color-border-warm);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 2px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.ci-lens-empty:hover {
  border-color: var(--color-ink);
  background: var(--color-cream-2);
}
.ci-lens-empty-ico {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--color-cream-2);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ci-lens-empty-ico .material-symbols-outlined {
  font-size: 17px;
}
.ci-lens-empty-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ci-lens-empty-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-ink);
}
.ci-lens-empty-sub {
  font-size: 10.5px;
  color: var(--color-muted);
}
.ci-lens-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-dark-ui);
  color: var(--color-white);
  border-radius: 20px;
  padding: 7px 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ci-lens-empty-cta .material-symbols-outlined {
  font-size: 14px;
}

.ci-lens-skipped {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-success);
  margin-bottom: 2px;
}
.ci-lens-skipped-change {
  background: none;
  border: none;
  font-size: 10.5px;
  color: var(--color-muted);
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.ci-lens-skipped-change:hover {
  color: var(--color-ink);
}

.ci-lens-done {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--color-cream);
  border: 1.5px solid var(--color-border-warm);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.ci-lens-done-check {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--color-success);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-lens-done-check .material-symbols-outlined {
  font-size: 14px;
  font-weight: 700;
}
.ci-lens-done-pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.ci-pill {
  display: inline-block;
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.ci-pill-vision {
  background: var(--color-dark-ui);
  color: var(--color-white);
}
.ci-pill-feature {
  background: var(--color-cream-2);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
}
.ci-pill-rx {
  background: var(--color-sand);
  color: var(--color-muted);
  font-weight: 600;
}
.ci-lens-done-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}
.ci-lens-disc-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--color-sand);
  color: var(--color-danger);
  padding: 2px 6px;
  border-radius: 10px;
}
.ci-lens-done-price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink);
  white-space: nowrap;
}
.ci-lens-done-edit {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: none;
  border: 1px solid var(--color-border-warm);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-success);
  cursor: pointer;
  font-family: inherit;
  transition: 0.15s;
}
.ci-lens-done-edit .material-symbols-outlined {
  font-size: 12px;
}
.ci-lens-done-edit:hover {
  background: var(--color-success);
  color: var(--color-white);
  border-color: var(--color-success);
}

.ci-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--color-sand);
}
.ci-qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border-warm);
  border-radius: 30px;
  overflow: hidden;
}
.ci-qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: var(--color-white);
  font-size: 17px;
  cursor: pointer;
  transition: background 0.15s;
}
.ci-qty-btn:hover:not(:disabled) {
  background: var(--color-cream);
}
.ci-qty-btn:disabled {
  color: var(--color-line-warm-2);
  cursor: not-allowed;
}
.ci-qty-val {
  width: 34px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.ci-price-block {
  text-align: right;
}
.ci-price-amt {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink);
}
.ci-price-each {
  font-size: 10.5px;
  color: var(--color-muted);
}

.summary-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-warm);
  border-radius: 14px;
  padding: 22px;
  position: sticky;
  top: 88px;
}
.summary-card h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--color-muted);
}
.sum-row .val {
  color: var(--color-ink);
  font-weight: 600;
}
.sum-row.total {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink);
  border-top: 1px solid var(--color-border-warm);
  padding-top: 12px;
  margin-top: 4px;
}
.delivery-note {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-size: 11px;
  color: var(--color-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}
.delivery-note .material-symbols-outlined {
  font-size: 15px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.promo-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.promo-row input {
  flex: 1;
  border: 1px solid var(--color-border-warm);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.promo-row input:focus {
  border-color: var(--color-gold);
}
.promo-row button {
  background: var(--color-dark-ui);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.04em;
}
.promo-row button:hover {
  background: var(--color-dark-ui-hover);
}
.checkout-btn {
  width: 100%;
  background: var(--color-dark-ui);
  color: var(--color-white);
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  margin-bottom: 8px;
}
.checkout-btn:hover {
  background: var(--color-dark-ui-hover);
}
.checkout-btn:disabled {
  background: var(--color-line-warm-2);
  cursor: not-allowed;
}
.checkout-hint {
  font-size: 11px;
  color: var(--color-muted);
  text-align: center;
  min-height: 16px;
  margin-bottom: 10px;
  display: none;
}
.checkout-hint.show {
  display: block;
}
.wa-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-whatsapp);
  color: var(--color-white);
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s;
  margin-bottom: 12px;
}
.wa-btn:hover {
  background: var(--color-whatsapp-hover);
  color: var(--color-white);
}
.secure-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--color-muted);
  justify-content: center;
}
.secure-row .material-symbols-outlined {
  font-size: 14px;
}

.trust-bar {
  padding: 28px 0 0;
  border-top: 1px solid var(--color-sand);
  margin-top: 28px;
}
.trust-item {
  gap: 6px;
  font-size: 11.5px;
  color: var(--color-muted);
  font-weight: 600;
}
.trust-item .material-symbols-outlined {
  font-size: 17px;
  color: var(--color-gold);
}

.empty-cart {
  text-align: center;
  padding: 80px 24px;
}
.empty-cart .material-symbols-outlined {
  font-size: 48px;
  color: var(--color-line-warm-2);
  display: block;
  margin-bottom: 16px;
}
.empty-cart h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.empty-cart p {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 24px;
}
.shop-btn {
  display: inline-block;
  background: var(--color-dark-ui);
  color: var(--color-white);
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.15s;
}
.shop-btn:hover {
  background: var(--color-dark-ui-hover);
  color: var(--color-white);
}

.continue-row {
  margin-top: 8px;
}
.continue-row a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.continue-row a:hover {
  color: var(--color-gold);
}
.continue-row .material-symbols-outlined {
  font-size: 16px;
}

/* ── Cart item type badge ── */
.ci-type-row {
  margin: 2px 0 4px;
}
.ci-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ci-type-eye {
  background: #e8edf5;
  color: var(--color-brand-navy, #0a2a42);
}
.ci-type-sun {
  background: #e8edf5;
  color: var(--color-brand-navy, #0a2a42);
}
.ci-type-lens {
  background: #f0f0f0;
  color: #444;
}
