/**
 * Cart page shell – hero layout, conversion cues og relaterede varer i samme univers.
 * Scope: body.sk-cart-shell (kun kurvside).
 */

body.sk-cart-shell .site-content {
  background:
    radial-gradient(780px 320px at 8% -10%, rgba(249, 190, 118, 0.26), transparent 72%),
    radial-gradient(860px 360px at 100% 4%, rgba(130, 197, 163, 0.2), transparent 70%),
    linear-gradient(180deg, #fbf8f1 0%, #f6fbf7 56%, #f2f7fc 100%);
}

body.sk-cart-shell .ast-woocommerce-container {
  max-width: min(1320px, 95vw);
  margin-left: auto;
  margin-right: auto;
}

body.sk-cart-shell .entry-header {
  display: none;
}

body.sk-cart-shell .entry-content > .woocommerce:first-of-type {
  border: 1px solid #dfebe3;
  border-radius: 28px;
  background: linear-gradient(160deg, #fffdf8 0%, #ffffff 48%, #f6fbf8 100%);
  box-shadow: 0 18px 38px rgba(34, 58, 47, 0.12);
  padding: clamp(1rem, 2.2vw, 1.55rem);
}

body.sk-cart-shell .sk-cart-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
  gap: clamp(1rem, 2.2vw, 1.5rem);
  margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid #dce9df;
  border-radius: 22px;
  background:
    radial-gradient(460px 180px at 0% 0%, rgba(245, 181, 106, 0.22), transparent 72%),
    radial-gradient(460px 190px at 98% 16%, rgba(132, 199, 163, 0.2), transparent 70%),
    linear-gradient(140deg, #fff7e9 0%, #f5fbf6 56%, #f0f6fd 100%);
  padding: clamp(1rem, 2.6vw, 1.65rem);
}

body.sk-cart-shell .sk-cart-hero__eyebrow {
  margin: 0;
  color: #557363;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.sk-cart-shell .sk-cart-hero__title {
  margin: 0.22rem 0 0;
  color: #1f3e4a;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  line-height: 1.08;
  text-transform: none;
}

body.sk-cart-shell .sk-cart-hero__lead {
  margin: 0.72rem 0 0;
  color: #486271;
  max-width: 56ch;
  line-height: 1.62;
}

body.sk-cart-shell .sk-cart-hero__steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

body.sk-cart-shell .sk-cart-hero__steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #cfe0d5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #4a6572;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.36rem 0.66rem;
}

body.sk-cart-shell .sk-cart-hero__steps li span {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 1px solid #c3d7c9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

body.sk-cart-shell .sk-cart-hero__steps li.is-active {
  border-color: #9ec4ae;
  background: #ecf8ef;
  color: #24533f;
}

body.sk-cart-shell .sk-cart-hero__steps li.is-active span {
  border-color: #74b08f;
  background: #4ca772;
  color: #ffffff;
}

body.sk-cart-shell .sk-cart-hero__trust {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

body.sk-cart-shell .sk-cart-hero__trust li {
  position: relative;
  margin: 0;
  padding-left: 1.2rem;
  color: #3f5f6b;
  line-height: 1.45;
}

body.sk-cart-shell .sk-cart-hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #8ad0a5 0%, #4fae57 100%);
  box-shadow: 0 0 0 2px rgba(79, 174, 87, 0.2);
}

body.sk-cart-shell .sk-cart-hero__panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid #d8e7dd;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(0.88rem, 2vw, 1.08rem);
  box-shadow: 0 14px 30px rgba(37, 61, 73, 0.1);
}

body.sk-cart-shell .sk-cart-hero__panel-title {
  margin: 0;
  color: #274a5b;
  font-size: 1.06rem;
  font-weight: 700;
}

body.sk-cart-shell .sk-cart-hero__panel-text {
  margin: 0;
  color: #506978;
  line-height: 1.58;
}

body.sk-cart-shell .sk-cart-hero__metric-grid {
  display: grid;
  gap: 0.56rem;
}

body.sk-cart-shell .sk-cart-hero__metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid #d8e7df;
  border-radius: 12px;
  background: #f7fbf8;
  padding: 0.55rem 0.7rem;
}

body.sk-cart-shell .sk-cart-hero__metric-label {
  color: #4f6775;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.sk-cart-shell .sk-cart-hero__metric-value {
  color: #214a5e;
  font-size: 1.02rem;
  font-weight: 700;
}

body.sk-cart-shell .sk-cart-hero__progress {
  border: 1px solid #d6e5dc;
  border-radius: 12px;
  background: #f7fbff;
  padding: 0.62rem 0.72rem;
}

body.sk-cart-shell .sk-cart-hero__progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #dfe8ee;
  overflow: hidden;
}

body.sk-cart-shell .sk-cart-hero__progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #73bd8f 0%, #4fae57 45%, #2f8f78 100%);
}

body.sk-cart-shell .sk-cart-hero__progress-text {
  margin: 0.58rem 0 0;
  color: #4e6675;
  font-size: 0.89rem;
  line-height: 1.5;
}

body.sk-cart-shell .sk-cart-hero__progress-text strong {
  color: #184863;
}

body.sk-cart-shell .sk-cart-hero__cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #f1a857 0%, #e77856 52%, #57ac6d 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(94, 64, 34, 0.24);
}

body.sk-cart-shell .sk-cart-hero__cta:hover {
  background: linear-gradient(135deg, #e69a49 0%, #dc6f4e 50%, #4d9f63 100%);
  color: #ffffff;
  border-color: transparent;
}

body.sk-cart-shell .woocommerce-notices-wrapper {
  margin-bottom: 0.7rem;
}

body.sk-cart-shell .woocommerce-error,
body.sk-cart-shell .woocommerce-info,
body.sk-cart-shell .woocommerce-message {
  border: 1px solid #d3e1d8;
  border-left: 5px solid #78bc8f;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(38, 59, 48, 0.08);
  color: #355462;
}

body.sk-cart-shell .woocommerce-cart-form {
  margin-top: 0.6rem;
}

body.sk-cart-shell .woocommerce table.shop_table.cart {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d6e5dd;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(35, 56, 72, 0.08);
}

body.sk-cart-shell .woocommerce table.shop_table.cart thead th {
  border: 0;
  border-bottom: 1px solid #dbe8e0;
  background: #edf7f0;
  color: #2f5463;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 0.8rem;
}

body.sk-cart-shell .woocommerce table.shop_table.cart tbody td {
  border: 0;
  border-top: 1px solid #e5eeea;
  color: #3f5c6b;
  padding: 0.85rem 0.8rem;
  vertical-align: middle;
}

body.sk-cart-shell .woocommerce table.shop_table.cart tr:first-child td {
  border-top: 0;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #d8e5dd;
  background: #ffffff;
  padding: 0.22rem;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.product-name a {
  color: #274c60;
  font-weight: 700;
  line-height: 1.4;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.product-price,
body.sk-cart-shell .woocommerce table.shop_table.cart td.product-subtotal {
  color: #1d4f69;
  font-weight: 700;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.product-remove a.remove {
  width: 2rem;
  height: 2rem;
  line-height: 1.95rem;
  border-radius: 999px;
  border: 1px solid #f2c8c8;
  background: #fff5f5;
  color: #cb5e5e;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.product-remove a.remove:hover {
  background: #f06f6f;
  border-color: #f06f6f;
  color: #ffffff !important;
}

body.sk-cart-shell .woocommerce .quantity .qty {
  width: 5.1rem;
  min-height: 42px;
  text-align: center;
  font-weight: 700;
  border: 1px solid #cfddd5;
  border-radius: 999px;
  background: #ffffff;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.actions {
  background: linear-gradient(180deg, #f3f9f5 0%, #eef6fb 100%);
  border-top: 1px solid #d8e6dd;
  padding: 0.9rem 1rem;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.actions .coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.actions .coupon .input-text {
  min-height: 44px;
  width: min(270px, 100%);
  border: 1px solid #cddcd3;
  border-radius: 999px;
  padding: 0 1rem;
  background: #ffffff;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.actions .button {
  border-radius: 999px;
  min-height: 44px;
  padding: 0 1.05rem;
  border: 1px solid #bad3c3;
  background: #ffffff;
  color: #2a5860;
  font-weight: 700;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.actions .button[name="update_cart"] {
  border-color: transparent;
  background: linear-gradient(135deg, #74bf90 0%, #4992a2 100%);
  color: #ffffff;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.actions .button:hover {
  background: #eef5f0;
  color: #1f5263;
}

body.sk-cart-shell .woocommerce table.shop_table.cart td.actions .button[name="update_cart"]:hover {
  background: linear-gradient(135deg, #67b184 0%, #3f8694 100%);
  color: #ffffff;
}

body.sk-cart-shell .cart-collaterals {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  align-items: stretch;
}

body.sk-cart-shell .cart-collaterals .cross-sells,
body.sk-cart-shell .cart-collaterals .cart_totals {
  float: none;
  clear: both;
  width: 100%;
  max-width: 100%;
  border: 1px solid #d7e6dd;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(33, 55, 67, 0.1);
  padding: 1rem;
}

body.sk-cart-shell .cart-collaterals .cart_totals {
  order: 1;
}

body.sk-cart-shell .cart-collaterals .cross-sells {
  order: 2;
  border-color: #eadfcf;
  background:
    radial-gradient(560px 240px at 0% 0%, rgba(245, 178, 97, 0.18), transparent 72%),
    radial-gradient(520px 220px at 100% 20%, rgba(137, 203, 169, 0.16), transparent 70%),
    linear-gradient(155deg, #fff9ef 0%, #ffffff 52%, #f5fbf7 100%);
}

body.sk-cart-shell .cart-collaterals .cross-sells > h2,
body.sk-cart-shell .cart-collaterals .cart_totals > h2 {
  margin: 0 0 0.85rem;
  color: #244c5f;
  font-size: clamp(1.08rem, 2.1vw, 1.45rem);
  text-transform: none;
}

body.sk-cart-shell .cart-collaterals .cross-sells > h2 {
  position: relative;
  margin-bottom: 1rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid #ebdecb;
}

body.sk-cart-shell .cart-collaterals .cross-sells > h2::after {
  content: "Udvalgt til din kurv";
  display: block;
  margin-top: 0.3rem;
  color: #5e7466;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  float: none;
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product {
  display: flex;
  flex-direction: column;
  height: 100%;
  float: none;
  width: auto;
  margin: 0 !important;
  border: 1px solid #eadfcf;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(95, 67, 37, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: #dfcdb2;
  box-shadow: 0 16px 32px rgba(95, 67, 37, 0.16);
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product .woocommerce-loop-product__link {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: linear-gradient(180deg, #fffcf5 0%, #f7fcf8 100%);
  padding: 0.7rem;
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product .woocommerce-loop-product__link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product:hover .woocommerce-loop-product__link img {
  transform: scale(1.03);
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product .astra-shop-summary-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.72rem;
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product .woocommerce-loop-product__title,
body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product h2 {
  margin: 0;
  color: #2c4f60;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.32;
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product .price {
  margin: 0;
  color: #205571;
  font-size: 1.02rem;
  font-weight: 700;
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product .button,
body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product .added_to_cart {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  border-radius: 999px;
  border-color: transparent;
  background: linear-gradient(135deg, #f2a34d 0%, #ee705a 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(95, 62, 31, 0.2);
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product .button:hover,
body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product .added_to_cart:hover {
  background: linear-gradient(135deg, #ea9343 0%, #df5f4f 100%);
  color: #ffffff;
}

body.sk-cart-shell .cart-collaterals .cross-sells ul.products li.product .added_to_cart {
  border-color: transparent;
  background: linear-gradient(135deg, #f2a34d 0%, #ee705a 100%);
  color: #ffffff;
  box-shadow: none;
}

body.sk-cart-shell .cart-collaterals .cart_totals {
  position: static;
}

body.sk-cart-shell .entry-content > .woocommerce .cross-sells,
body.sk-cart-shell .entry-content > .woocommerce .related,
body.sk-cart-shell .entry-content > .woocommerce .upsells {
  float: none;
  clear: both;
  width: 100%;
  max-width: 100%;
}

body.sk-cart-shell .cart-collaterals .cart_totals table.shop_table {
  border: 1px solid #d7e7dd;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
}

body.sk-cart-shell .cart-collaterals .cart_totals table.shop_table th,
body.sk-cart-shell .cart-collaterals .cart_totals table.shop_table td {
  border-color: #dfebe4;
  color: #375666;
  padding: 0.62rem 0.72rem;
}

body.sk-cart-shell .cart-collaterals .cart_totals .order-total th,
body.sk-cart-shell .cart-collaterals .cart_totals .order-total td {
  color: #1c4b63;
  font-size: 1.03rem;
  font-weight: 700;
}

body.sk-cart-shell .cart-collaterals .cart_totals .wc-proceed-to-checkout {
  margin-top: 0.8rem;
}

body.sk-cart-shell .cart-collaterals .cart_totals .checkout-button {
  width: 100%;
  text-align: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.92rem 1.1rem;
  border-radius: 999px;
  border-color: transparent;
  background: linear-gradient(135deg, #f2a856 0%, #e47154 54%, #4ca56c 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(93, 62, 30, 0.24);
}

body.sk-cart-shell .cart-collaterals .cart_totals .checkout-button:hover {
  background: linear-gradient(135deg, #e89d4d 0%, #d8664b 50%, #459a63 100%);
  color: #ffffff;
  border-color: transparent;
}

body.sk-cart-shell .sk-cart-after-totals {
  margin-top: 0.82rem;
  border: 1px solid #d5e4db;
  border-radius: 12px;
  background: #f5faf7;
  padding: 0.7rem 0.78rem;
}

body.sk-cart-shell .sk-cart-after-totals__title {
  margin: 0;
  color: #2d4f61;
  font-weight: 700;
}

body.sk-cart-shell .sk-cart-after-totals__text {
  margin: 0.38rem 0 0;
  color: #4d6573;
  line-height: 1.5;
}

body.sk-cart-shell .entry-content > .woocommerce:not(:first-of-type) {
  margin-top: 1.18rem;
  border: 1px solid #d9e8de;
  border-radius: 20px;
  background: linear-gradient(160deg, #fffcf6 0%, #ffffff 58%, #f7fbf8 100%);
  box-shadow: 0 12px 28px rgba(35, 57, 69, 0.1);
  padding: clamp(0.9rem, 2.2vw, 1.25rem);
}

body.sk-cart-shell .entry-content > .woocommerce:not(:first-of-type) > h2,
body.sk-cart-shell .entry-content > .woocommerce:not(:first-of-type) > h3 {
  margin: 0 0 0.8rem;
  color: #244d60;
  font-size: clamp(1.12rem, 2.3vw, 1.56rem);
  text-transform: none;
}

body.sk-cart-shell .entry-content > .woocommerce:not(:first-of-type) ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.82rem;
}

body.sk-cart-shell .entry-content > .woocommerce:not(:first-of-type) ul.products li.product {
  border: 1px solid #dde8df;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(33, 57, 47, 0.08);
}

body.sk-cart-shell .entry-content > .woocommerce:not(:first-of-type) ul.products li.product .button {
  border-color: transparent;
  background: linear-gradient(130deg, #76c092 0%, #4aa66a 100%);
  color: #ffffff;
}

body.sk-cart-shell .entry-content > .woocommerce:not(:first-of-type) ul.products li.product .button:hover {
  background: linear-gradient(130deg, #67b483 0%, #41945d 100%);
}

body.sk-cart-shell .wc-empty-cart-message {
  border: 1px solid #d7e7dd;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(39, 60, 74, 0.1);
  color: #2f5364;
  font-size: 1.02rem;
  padding: 0.9rem 1rem;
}

body.sk-cart-shell p.return-to-shop {
  margin: 0.9rem 0 0;
}

body.sk-cart-shell p.return-to-shop .button {
  border-radius: 999px;
  background: linear-gradient(135deg, #72bc8e 0%, #4b9cab 100%);
  border-color: transparent;
  color: #ffffff;
}

body.sk-cart-shell p.return-to-shop .button:hover {
  background: linear-gradient(135deg, #64af81 0%, #438b99 100%);
  color: #ffffff;
}

@media (max-width: 1120px) {
  body.sk-cart-shell .cart-collaterals .cross-sells ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.sk-cart-shell .entry-content > .woocommerce:not(:first-of-type) ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.sk-cart-shell .sk-cart-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  body.sk-cart-shell .cart-collaterals .cross-sells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.sk-cart-shell .woocommerce table.shop_table.cart td.actions .coupon {
    width: 100%;
  }

  body.sk-cart-shell .woocommerce table.shop_table.cart td.actions .coupon .input-text,
  body.sk-cart-shell .woocommerce table.shop_table.cart td.actions .button {
    width: 100%;
  }

  body.sk-cart-shell .woocommerce table.shop_table.cart td.actions .button[name="update_cart"] {
    margin-top: 0.45rem;
  }
}

@media (max-width: 640px) {
  body.sk-cart-shell .entry-content > .woocommerce:first-of-type,
  body.sk-cart-shell .entry-content > .woocommerce:not(:first-of-type) {
    border-radius: 18px;
    padding: 0.86rem;
  }

  body.sk-cart-shell .sk-cart-hero {
    border-radius: 16px;
    padding: 0.88rem;
  }

  body.sk-cart-shell .entry-content > .woocommerce:not(:first-of-type) ul.products {
    grid-template-columns: 1fr;
  }

  body.sk-cart-shell .cart-collaterals .cross-sells ul.products {
    grid-template-columns: 1fr;
  }
}
