.header-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 8px;
  color: #022b50;
  text-decoration: none;
  flex-shrink: 0;
}

.header-cart-link:hover {
  color: #4286F5;
}

.header-cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: #4286F5;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.header-cart-count[hidden] {
  display: none !important;
}

.veda-cart {
  background: #f6f8fb;
  color: #0f172a;
  padding: 48px 20px 80px;
  font-family: Inter, system-ui, sans-serif;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

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

.veda-cart-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.veda-cart-kicker {
  margin: 0 0 8px;
  color: #4286F5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.veda-cart-head h1 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.1;
  color: #022b50;
}

.veda-cart-head p {
  max-width: 640px;
  margin: 0 0 28px;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

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

.veda-cart-item,
.veda-cart-body,
.veda-cart-summary {
  min-width: 0;
}

.veda-cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.veda-cart-item {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 168px;
  gap: 18px 20px;
  align-items: start;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(2, 43, 80, 0.05);
}

.veda-cart-photo {
  width: 148px;
  max-width: 100%;
  min-width: 0;
  height: 148px;
  object-fit: cover;
  border-radius: 14px;
  background: #eef2f7;
}

.veda-cart-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}

.veda-cart-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.veda-cart-item h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  color: #022b50;
}

.veda-cart-item h2 a {
  color: inherit;
  text-decoration: none;
}

.veda-cart-item h2 a:hover {
  color: var(--acc, #4286F5);
}

.veda-cart-plan {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--acc, #4286F5) 14%, white);
  color: var(--acc, #4286F5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.veda-cart-desc {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.veda-cart-features {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.veda-cart-features li {
  position: relative;
  padding-left: 16px;
  color: #334155;
  font-size: 14px;
  line-height: 1.4;
}

.veda-cart-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc, #4286F5);
}

.veda-cart-pricebox {
  text-align: right;
  padding-top: 4px;
}

.veda-cart-was {
  display: block;
  color: #94a3b8;
  font-size: 14px;
}

.veda-cart-price {
  margin: 2px 0 0;
  font-size: 26px;
  font-weight: 700;
  color: #022b50;
  line-height: 1.1;
}

.veda-cart-price span,
.veda-cart-gst-hint {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.veda-cart-remove {
  border: 0;
  background: transparent;
  color: #EB4235;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.veda-cart-empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  color: #475569;
}

.veda-cart-empty a {
  display: inline-block;
  margin-top: 10px;
  color: #4286F5;
  font-weight: 700;
}

.veda-cart-summary {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 22px;
  position: sticky;
  top: 96px;
}

.veda-cart-summary-kicker {
  margin: 0 0 4px;
  color: #4286F5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.veda-cart-summary h2 {
  margin: 0;
  font-size: 22px;
  color: #022b50;
}

.veda-cart-summary-count {
  margin: 4px 0 14px;
  color: #64748b;
  font-size: 14px;
}

.veda-cart-summary dl {
  margin: 0 0 18px;
}

.veda-cart-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: #334155;
}

.veda-cart-summary dt,
.veda-cart-summary dd {
  margin: 0;
}

.veda-cart-summary dd {
  flex: 0 0 auto;
  text-align: right;
}

.veda-cart-total {
  border-top: 1px solid #e6ebf2;
  margin-top: 6px;
  padding-top: 12px !important;
  font-size: 18px;
  font-weight: 700;
  color: #022b50 !important;
}

.veda-cart-checkout {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #022b50;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
}

.veda-cart-checkout:hover {
  background: #4286F5;
}

.veda-cart-note,
.veda-cart-continue {
  display: block;
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.veda-cart-continue {
  color: #4286F5;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 992px) {
  .veda-cart-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

@media (max-width: 700px) {
  .veda-cart {
    padding: 32px 16px 64px;
  }

  .veda-cart-head h1 {
    font-size: 32px;
  }

  .veda-cart-summary {
    position: static;
  }

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

  .veda-cart-photo {
    width: 100%;
    height: 180px;
  }

  .veda-cart-pricebox {
    text-align: left;
    padding-top: 0;
  }

  .veda-cart-desc,
  .veda-cart-features li {
    overflow-wrap: anywhere;
  }
}
