.cg974-cart-page {
  --cg974-cart-navy: #17233c;
  --cg974-cart-blue: #168ed1;
  --cg974-cart-blue-dark: #0a4b78;
  --cg974-cart-sky: #eaf7fd;
  --cg974-cart-yellow: #ffc928;
  --cg974-cart-pink: #f45b87;
  --cg974-cart-green: #17895b;
  --cg974-cart-line: #c9e2ef;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 70px;
  color: var(--cg974-cart-navy);
  font-family: "Manrope", Arial, sans-serif;
}

.cg974-cart-page,
.cg974-cart-page * { box-sizing: border-box; }

body.woocommerce-cart .entry-header,
body.woocommerce-cart .page-header {
  width: min(1180px, calc(100% - 32px));
  margin: 46px auto 4px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-cart h1.entry-title,
body.woocommerce-cart .page-title {
  margin: 0;
  color: #102a50;
  font-family: "DynaPuff", "Trebuchet MS", sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.cg974-cart-page__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.cg974-cart-page__intro > div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cg974-cart-page__eyebrow {
  display: inline-block;
  color: var(--cg974-cart-pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cg974-cart-page__count {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cg974-cart-sky);
  color: var(--cg974-cart-blue-dark);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.cg974-cart-page__intro p {
  max-width: 500px;
  margin: 0;
  color: #586981;
  font-size: 15px;
  line-height: 1.65;
}

.cg974-cart-page__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 30px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cg974-cart-line);
  border-radius: 18px;
  background: #fff;
  list-style: none;
}

.cg974-cart-page__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 15px 18px;
  color: #69788c;
  font-size: 13px;
  font-weight: 850;
}

.cg974-cart-page__steps li + li { border-left: 1px solid var(--cg974-cart-line); }

.cg974-cart-page__steps span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #edf4f8;
  color: var(--cg974-cart-blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.cg974-cart-page__steps .is-current {
  background: var(--cg974-cart-sky);
  color: var(--cg974-cart-blue-dark);
}

.cg974-cart-page__steps .is-current span {
  background: var(--cg974-cart-yellow);
  box-shadow: 0 3px 0 #d9a700;
}

.cg974-cart-page__steps .is-complete span {
  background: #e7f7ef;
  color: var(--cg974-cart-green);
}

.cg974-cart-empty {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  min-height: 370px;
  overflow: hidden;
  border: 1px solid var(--cg974-cart-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(18, 74, 112, .12);
}

.cg974-cart-empty__visual {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #dff4ff, #fff6d8);
}

.cg974-cart-empty__visual::before,
.cg974-cart-empty__visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.cg974-cart-empty__visual::before {
  top: -35px;
  left: -25px;
  width: 110px;
  height: 110px;
  background: rgba(244, 91, 135, .22);
}

.cg974-cart-empty__visual::after {
  right: -30px;
  bottom: -20px;
  width: 95px;
  height: 95px;
  background: rgba(22, 142, 209, .19);
}

.cg974-cart-empty__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(92%, 390px);
  max-height: 345px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(18, 74, 112, .16));
}

.cg974-cart-empty__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

.cg974-cart-empty__copy h2 {
  margin: 8px 0 13px;
  color: #102a50;
  font-family: "DynaPuff", "Trebuchet MS", sans-serif;
  font-size: clamp(29px, 4vw, 43px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.cg974-cart-empty__copy p {
  max-width: 510px;
  margin: 0 0 24px;
  color: #53647b;
  line-height: 1.7;
}

.cg974-cart-empty__copy > div {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cg974-cart-button,
.cg974-cart-native .checkout-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffd33d, #ffb817) !important;
  color: var(--cg974-cart-navy) !important;
  box-shadow: 0 6px 0 #d79f00 !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

.cg974-cart-button:hover,
.cg974-cart-native .checkout-button:hover {
  color: var(--cg974-cart-navy) !important;
  transform: translateY(-1px);
}

.cg974-help-link {
  color: var(--cg974-cart-blue-dark);
  font-size: 13px;
  font-weight: 900;
  text-underline-offset: 3px;
}

.cg974-cart-button:focus-visible,
.cg974-help-link:focus-visible,
.cg974-cart-native a:focus-visible,
.cg974-cart-native button:focus-visible,
.cg974-cart-native input:focus-visible {
  outline: 3px solid rgba(22, 142, 209, .28) !important;
  outline-offset: 3px;
}

.cg974-cart-native.is-empty .wc-empty-cart-message,
.cg974-cart-native.is-empty .cart-empty,
.cg974-cart-native.is-empty .return-to-shop,
.cg974-cart-native.is-empty .wc-backward {
  display: none !important;
}

.cg974-cart-native.is-empty > .woocommerce > *:not(.cart-empty):not(.return-to-shop):empty { display: none !important; }

.cg974-cart-native:not(.is-empty) > .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr);
  gap: 24px;
  align-items: start;
}

.cg974-cart-native .woocommerce-notices-wrapper,
.cg974-cart-native .woocommerce-error,
.cg974-cart-native .woocommerce-message,
.cg974-cart-native .woocommerce-info {
  grid-column: 1 / -1;
}

.cg974-cart-native .woocommerce-cart-form {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.cg974-cart-native table.shop_table,
.cg974-cart-native table.shop_table_responsive {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  background: transparent !important;
}

.cg974-cart-native .woocommerce-cart-form__contents thead {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cg974-cart-native .woocommerce-cart-form__contents tbody {
  display: grid;
  gap: 18px;
}

.cg974-cart-native .woocommerce-cart-form__cart-item {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name remove"
    "price subtotal";
  gap: 10px 24px;
  min-height: 285px;
  padding: 24px 24px 24px 174px !important;
  overflow: hidden;
  border: 1px solid var(--cg974-cart-line) !important;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(18, 74, 112, .11);
}

.cg974-cart-native .woocommerce-cart-form__cart-item::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 150px;
  background: linear-gradient(160deg, #e7f7ff, #fff5f9);
  content: "";
}

.cg974-cart-native .woocommerce-cart-form__cart-item::after {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 150px;
  border-left: 2px dashed #cae2ed;
  content: "";
}

.cg974-cart-native .woocommerce-cart-form__cart-item > td {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

.cg974-cart-native td.product-thumbnail {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 17px;
  width: 116px !important;
  transform: translateY(-50%);
}

.cg974-cart-native td.product-thumbnail a,
.cg974-cart-native td.product-thumbnail img {
  display: block;
  width: 100% !important;
  max-width: 116px !important;
  height: 150px !important;
  margin: 0 !important;
  object-fit: contain;
  filter: drop-shadow(0 12px 13px rgba(28, 81, 116, .16));
}

.cg974-cart-native td.product-name {
  grid-area: name;
  min-width: 0;
  padding-right: 38px !important;
  color: var(--cg974-cart-navy);
}

.cg974-cart-native td.product-name > a,
.cg974-cart-native td.product-name > strong,
.cg974-cart-native td.product-name .cg974-cart-item__title {
  color: #102a50;
  font-family: "DynaPuff", "Trebuchet MS", sans-serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.18;
  text-decoration: none;
}

.cg974-cart-item__number {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--cg974-cart-pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cg974-cart-item__number span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #fff0f4;
  color: #c93664;
}

.cg974-cart-native td.product-name dl.variation,
.cg974-cart-native td.product-name .variation {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 7px 12px;
  margin: 18px 0 0 !important;
  color: #52637a;
  font-size: 13px;
}

.cg974-cart-native td.product-name dl.variation dt,
.cg974-cart-native td.product-name dl.variation dd {
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cg974-cart-native td.product-name dl.variation dt {
  color: #6b7890;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.cg974-cart-native td.product-name dl.variation p { margin: 0 !important; }

.cg974-cart-native td.product-remove {
  position: absolute;
  z-index: 3;
  top: 17px;
  right: 17px;
  grid-area: remove;
}

.cg974-cart-native td.product-remove a.remove {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center;
  border: 1px solid #d7e6ee;
  border-radius: 50%;
  background: #fff !important;
  color: #69788c !important;
  font-size: 23px !important;
  line-height: 1 !important;
  text-decoration: none;
}

.cg974-cart-native td.product-remove a.remove:hover {
  border-color: #f4b7c9;
  background: #fff1f5 !important;
  color: #bd2d58 !important;
}

.cg974-cart-native td.product-price { grid-area: price; }
.cg974-cart-native td.product-quantity { display: none !important; }
.cg974-cart-native td.product-subtotal { grid-area: subtotal; align-self: end; text-align: right !important; }

.cg974-cart-native td.product-price,
.cg974-cart-native td.product-subtotal {
  color: #53647b;
  font-size: 13px;
}

.cg974-cart-native td.product-price::before,
.cg974-cart-native td.product-subtotal::before {
  display: block;
  float: none !important;
  margin-bottom: 3px;
  color: #6b7890;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cg974-cart-native td.product-price::before { content: "Tarif" !important; }
.cg974-cart-native td.product-subtotal::before { content: "Sous-total" !important; }

.cg974-cart-native td.product-price .amount,
.cg974-cart-native td.product-subtotal .amount {
  color: var(--cg974-cart-blue-dark);
  font-size: 16px;
  font-weight: 900;
}

.cg974-cart-native .woocommerce-cart-form__contents tr:not(.cart_item) {
  display: block;
  padding: 18px;
  border: 1px solid var(--cg974-cart-line);
  border-radius: 18px;
  background: #fff;
}

.cg974-cart-native .woocommerce-cart-form__contents td.actions {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 !important;
  border: 0 !important;
}

.cg974-cart-native .coupon {
  display: flex !important;
  gap: 8px;
  min-width: 0;
}

.cg974-cart-native .coupon label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.cg974-cart-native .coupon .input-text {
  width: min(210px, 45vw) !important;
  min-height: 46px;
  padding: 10px 13px !important;
  border: 1px solid #bdd5e2 !important;
  border-radius: 12px !important;
  background: #f8fcfe !important;
}

.cg974-cart-native button[name="apply_coupon"],
.cg974-cart-native button[name="update_cart"] {
  min-height: 46px;
  padding: 9px 14px !important;
  border: 1px solid #b9d4e1 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--cg974-cart-blue-dark) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.cg974-cart-native .cart-collaterals {
  position: sticky;
  top: 90px;
  float: none !important;
  grid-column: 2;
  width: 100% !important;
  margin: 0 !important;
}

.cg974-cart-native .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 25px;
  border: 1px solid var(--cg974-cart-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(18, 74, 112, .11);
}

.cg974-cart-native .cart_totals h2 {
  margin: 0 0 14px;
  color: #102a50;
  font-family: "DynaPuff", "Trebuchet MS", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.cg974-cart-native .cart_totals table,
.cg974-cart-native .cart_totals tbody,
.cg974-cart-native .cart_totals tr { display: block !important; }

.cg974-cart-native .cart_totals tr {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 11px 0;
  border: 0 !important;
  border-bottom: 1px solid #e1edf3 !important;
}

.cg974-cart-native .cart_totals tr.order-total {
  margin-top: 5px;
  border-bottom: 0 !important;
  font-size: 17px;
}

.cg974-cart-native .cart_totals th,
.cg974-cart-native .cart_totals td {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

.cg974-cart-native .cart_totals td { text-align: right !important; }
.cg974-cart-native .cart_totals td::before { display: none !important; }
.cg974-cart-native .cart_totals .order-total .amount { color: var(--cg974-cart-blue-dark); font-size: 20px; }
.cg974-cart-native .wc-proceed-to-checkout { padding: 14px 0 0 !important; }
.cg974-cart-native .checkout-button { width: 100%; margin: 0 0 16px !important; }

.cg974-cart-native .checkout-button::after {
  margin-left: 8px;
  content: "→";
}

.cg974-cart-page__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cg974-cart-line);
  border-radius: 18px;
  background: var(--cg974-cart-line);
  list-style: none;
}

.cg974-cart-page__trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 17px;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.cg974-cart-page__trust span {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #e6f8ef;
  color: var(--cg974-cart-green);
}

@media (max-width: 1000px) {
  .cg974-cart-native:not(.is-empty) > .woocommerce { grid-template-columns: 1fr; }
  .cg974-cart-native .cart-collaterals { position: static; grid-column: 1; }
}

@media (max-width: 800px) {
  body.woocommerce-cart .entry-header,
  body.woocommerce-cart .page-header { margin-top: 28px; }

  body.woocommerce-cart h1.entry-title,
  body.woocommerce-cart .page-title { font-size: clamp(34px, 11vw, 47px); }

  .cg974-cart-page__intro { display: block; }
  .cg974-cart-page__intro > div { align-items: flex-start; flex-direction: column; gap: 8px; }
  .cg974-cart-page__intro p { margin-top: 12px; }
  .cg974-cart-page__steps { grid-template-columns: 1fr; }
  .cg974-cart-page__steps li + li { border-top: 1px solid var(--cg974-cart-line); border-left: 0; }
  .cg974-cart-empty { grid-template-columns: 1fr; }
  .cg974-cart-empty__visual { min-height: 230px; }
  .cg974-cart-empty__copy { padding: 30px 24px; }

  .cg974-cart-native .woocommerce-cart-form__cart-item {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas:
      "thumb remove"
      "name name"
      "price subtotal";
    gap: 16px;
    min-height: 0;
    padding: 20px !important;
  }

  .cg974-cart-native .woocommerce-cart-form__cart-item::before {
    width: 136px;
    height: 160px;
    border-radius: 0 0 24px 0;
  }

  .cg974-cart-native .woocommerce-cart-form__cart-item::after { display: none; }
  .cg974-cart-native td.product-thumbnail { position: relative; top: auto; left: auto; grid-area: thumb; width: 104px !important; transform: none; }
  .cg974-cart-native td.product-thumbnail img { width: 104px !important; height: 125px !important; }
  .cg974-cart-native td.product-remove { position: relative; top: auto; right: auto; justify-self: end; }
  .cg974-cart-native td.product-name { margin-top: 5px; padding-right: 0 !important; }
  .cg974-cart-native td.product-name dl.variation,
  .cg974-cart-native td.product-name .variation { grid-template-columns: 1fr; gap: 3px; }
  .cg974-cart-native td.product-name dl.variation dd { margin-bottom: 8px !important; }
  .cg974-cart-native td.product-subtotal { align-self: auto; }
  .cg974-cart-native .woocommerce-cart-form__contents td.actions { align-items: stretch; flex-direction: column; }
  .cg974-cart-native .coupon { width: 100%; }
  .cg974-cart-native .coupon .input-text { flex: 1 1 auto; width: auto !important; min-width: 0; }
  .cg974-cart-native button[name="update_cart"] { width: 100%; }
  .cg974-cart-page__trust { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .cg974-cart-page { width: min(100% - 20px, 1180px); }
  body.woocommerce-cart .entry-header,
  body.woocommerce-cart .page-header { width: calc(100% - 20px); }
  .cg974-cart-page__steps li { padding: 13px 14px; }
  .cg974-cart-empty__copy > div { align-items: stretch; flex-direction: column; }
  .cg974-cart-button { width: 100%; }
  .cg974-cart-native .woocommerce-cart-form__cart-item { padding: 17px !important; }
  .cg974-cart-native .cart-collaterals .cart_totals { padding: 20px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .cg974-cart-page *,
  .cg974-cart-page *::before,
  .cg974-cart-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
