/* Joy Cakes cart page. */
.joy-cart-summary__products .woocommerce-Price-amount {
  color: #fff;
}
body.woocommerce-cart .wd-content-layout {
  padding-top: 0;
}

body.woocommerce-cart .wd-page-title-el,
body.woocommerce-cart .wd-shipping-progress-bar,
body.woocommerce-cart
  .wp-block-wd-column:has(.wd-cart-totals)
  > .wp-block-wd-title {
  display: none;
}

body.woocommerce-cart .wd-wc-notices,
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart
  :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  grid-area: notice;
  width: 100%;
}

body.woocommerce-cart .wd-wc-notices {
  max-width: none;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info {
  margin: 0 0 34px;
  border: 0;
  border-radius: var(--joy-radius-md, 16px);
  color: #fff;
  background: #429846;
  box-shadow: none;
  font-family: var(--joy-font-body, "Outfit", system-ui, sans-serif);
  font-size: 20px;
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1.2;
}

body.woocommerce-cart .woocommerce-error {
  margin: 0 0 34px;
}

body.woocommerce-cart .wp-block-wd-row:has(.wd-cart-table) {
  --joy-cart-sidebar-width: 412px;
  --joy-cart-main-gap: clamp(32px, 8vw, 120px);
  --joy-cart-sidebar-offset: calc(
    52px + clamp(2.5rem, 2.158rem + 0.952vw, 3rem) * 1.66 +
      clamp(24px, 2.5vw, 36px)
  );
  position: relative;
  display: grid;
  width: min(
    calc(var(--wd-container-w, var(--joy-width-content, 1312px)) - 30px),
    calc(100vw - 30px)
  );
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(
      320px,
      var(--joy-cart-sidebar-width)
    );
  grid-template-areas: "main totals";
  align-items: start;
  column-gap: var(--joy-cart-main-gap);
  row-gap: 0;
  margin-right: auto;
  margin-left: auto;
}

body.woocommerce-cart
  .wp-block-wd-row:has(.wd-cart-table)
  > .wp-block-wd-column,
body.woocommerce-cart
  .wp-block-wd-row:has(.wd-cart-table)
  > .wp-block-wd-column
  > * {
  min-width: 0;
}

body.woocommerce-cart
  .wp-block-wd-row:has(.wd-cart-table)
  > .wp-block-wd-column {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.woocommerce-cart
  .wp-block-wd-row:has(.wd-cart-table)
  > .wp-block-wd-column:has(.wd-cart-table) {
  grid-area: main;
  display: grid;
  grid-template-areas:
    "notice"
    "breadcrumbs"
    "title"
    "toolbar"
    "items";
  grid-template-rows: auto auto auto max-content auto;
  align-items: start;
  gap: 0;
}

body.woocommerce-cart .wd-cart-table,
body.woocommerce-cart .wd-cart-table .woocommerce-cart-form,
.joy-cart-builder-head {
  display: contents;
}

body.woocommerce-cart .wp-block-wd-column:has(.wd-cart-totals) {
  grid-area: totals;
  margin-top: var(--joy-cart-sidebar-offset);
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.woocommerce-cart .wd-cart-totals {
  width: 100%;
  max-width: none;
}

body.woocommerce-cart .wp-block-wd-column:has(.wd-cart-totals) {
  width: min(100%, var(--joy-cart-sidebar-width));
  max-width: var(--joy-cart-sidebar-width);
  justify-self: end;
}

body.woocommerce-cart .wd-cart-table {
  color: var(--joy-color-text, #261306);
  font-family: var(--joy-font-body, "Outfit", system-ui, sans-serif);
}

.joy-cart-builder-head {
  margin-bottom: 0;
}

.joy-cart-builder-head .joy-cart-page__title {
  margin-top: 0;
}

.joy-cart-builder-head .joy-cart-page__items-toolbar {
  grid-area: toolbar;
  margin-top: 0;
  margin-bottom: 17px;
}

.joy-cart-builder-head .joy-commerce-breadcrumbs {
  grid-area: breadcrumbs;
}

.joy-cart-builder-head .joy-cart-page__title {
  grid-area: title;
  margin-bottom: clamp(24px, 2.5vw, 36px);
}

body.woocommerce-cart .wd-cart-table .shop_table {
  grid-area: items;
  display: block;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--joy-cart-border, rgba(38, 19, 6, 0.95));
  border-radius: var(--joy-radius-md, 16px);
  background: transparent;
}

body.woocommerce-cart .wd-cart-table .shop_table thead {
  display: none;
}

body.woocommerce-cart .wd-cart-table .shop_table tbody {
  display: block;
}

body.woocommerce-cart .wd-cart-table .shop_table tr.cart_item {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) max-content;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "thumb name remove"
    "thumb price qty";
  gap: 14px 23px;
  align-content: start;
  align-items: start;
  min-height: 174px;
  margin: 0;
  padding: 16px;
  border-bottom: 0;
}

body.woocommerce-cart .wd-cart-table .shop_table tr.cart_item::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 1px;
  background: var(--joy-color-text, #261306);
  content: none;
  opacity: 0.4;
}

body.woocommerce-cart
  .wd-cart-table
  .shop_table
  tr.cart_item:has(+ tr.cart_item)::after {
  content: "";
}

body.woocommerce-cart .wd-cart-table .shop_table tr.cart_item > td {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

body.woocommerce-cart .wd-cart-table td.product-thumbnail {
  position: relative;
  grid-area: thumb;
  width: 140px; /* lint-ok: fixed-format product thumbnail */
}

body.woocommerce-cart .wd-cart-table td.product-thumbnail::after {
  content: none;
}

.joy-cart-select {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  display: block;
  width: 24px;
  height: 24px;
  margin: 0;
  cursor: pointer;
}

.joy-cart-select__input {
  position: absolute;
  inset: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.joy-cart-select__control {
  position: absolute;
  inset: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  box-sizing: border-box;
  pointer-events: none;
}

.joy-cart-select__input:checked + .joy-cart-select__control {
  background: #1c1b1f;
}

.joy-cart-select__input:checked + .joy-cart-select__control::after {
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  transform: rotate(-45deg) translate(1px, -1px);
}

body.woocommerce-cart .wd-cart-table td.product-thumbnail > a {
  display: block;
  overflow: hidden;
  width: 140px; /* lint-ok: fixed-format product thumbnail */
  height: 140px; /* lint-ok: fixed-format product thumbnail */
  border-radius: 10px;
  background: var(--joy-color-base, #f2efe8);
}

body.woocommerce-cart .wd-cart-table td.product-thumbnail img {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

body.woocommerce-cart .wd-cart-table tr.cart_item.is-joy-unselected {
  --joy-cart-muted-border: rgba(38, 19, 6, 0.25);
}

body.woocommerce-cart .wd-cart-table td.product-name {
  grid-area: name;
  display: flex !important;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
  align-self: start;
  padding-top: 0;
  text-align: left;
  align-items: flex-start;
}

body.woocommerce-cart .wd-cart-table td.product-name a:not(:where(.button)) {
  color: var(--joy-color-text, #261306);
  font-family: var(--joy-font-heading, "Outfit", system-ui, sans-serif);
  font-size: clamp(1.75rem, 1.579rem + 0.476vw, 2rem);
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1.1;
  letter-spacing: 0;
}

.joy-cart-item-title-link {
  display: inline-block;
}

.joy-cart-item-variation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--joy-color-text, #261306);
  font-family: var(--joy-font-heading, "Outfit", system-ui, sans-serif);
  font-size: var(--joy-text-button);
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1.1;
}

.joy-cart-item-variation__icon {
  flex: 0 0 18px;
  width: 24px;
  height: 24px;
  color: var(--joy-color-text, #261306);
}

body.woocommerce-cart .wd-cart-table td.product-price {
  grid-area: price;
  align-self: end;
  text-align: left;
}

body.woocommerce-cart .wd-cart-table td.product-price .amount {
  color: var(--joy-color-text, #261306);
  font-size: 24px;
  font-weight: var(--joy-weight-regular, 400);
  line-height: 1.2;
}

body.woocommerce-cart .wd-cart-table td.product-quantity {
  grid-area: qty;
  align-self: end;
  justify-self: end;
  width: max-content;
}

body.woocommerce-cart .wd-cart-table td.product-quantity .quantity {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  width: 100%;
  min-width: 190px;
  margin: 0;
}

body.woocommerce-cart .wd-cart-table td.product-quantity :is(.minus, .plus) {
  display: inline-grid !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  padding: 0 !important;
  place-items: center;
  border: 0 !important;
  border-radius: 999px !important;
  color: transparent !important;
  background: rgba(106, 57, 27, 0.2) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 14px 14px !important;
  box-shadow: none !important;
  font-size: 0 !important;
  font-weight: 700;
  line-height: 1 !important;
}

body.woocommerce-cart .wd-cart-table td.product-quantity .minus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.5 7.58329V6.41663H10.5V7.58329H3.5Z' fill='%231C1B1F'/%3E%3C/svg%3E") !important;
}

body.woocommerce-cart .wd-cart-table td.product-quantity .plus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M6.41602 7.58329H2.91602V6.41663H6.41602V2.91663H7.58268V6.41663H11.0827V7.58329H7.58268V11.0833H6.41602V7.58329Z' fill='%236A391B'/%3E%3C/svg%3E") !important;
}

body.woocommerce-cart .wd-cart-table td.product-quantity input.qty {
  width: 32px !important;
  min-height: 28px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--joy-color-text, #261306);
  background: transparent !important;
  font-size: 24px;
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1;
  text-align: center;
}

body.woocommerce-cart .wd-cart-table td.product-subtotal {
  display: none !important;
}

body.woocommerce-cart .wd-cart-table td.product-remove {
  grid-area: remove;
  align-self: start;
  justify-self: end;
  text-align: right;
}

body.woocommerce-cart .wd-cart-table td.product-remove a.remove {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--joy-color-text, #261306) !important;
  background: transparent !important;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

body.woocommerce-cart .wd-cart-table td.product-remove a.remove::before {
  content: none;
}

body.woocommerce-cart .wd-cart-table .wd-cart-action-row .wd-coupon-form {
  display: none;
}

body.woocommerce-cart .wd-cart-table .wd-cart-action-row {
  display: none !important;
}

body.woocommerce-cart .wd-cart-table .wd-cart-action-row td {
  padding: 0;
  border: 0;
}

body.woocommerce-cart .wd-cart-table .cart-actions {
  justify-content: flex-end;
  margin-top: 18px;
}

.joy-cart-page {
  --joy-cart-sidebar-width: 412px;
  --joy-cart-gap: clamp(32px, 10.07vw, 145px);
  --joy-cart-border: rgba(38, 19, 6, 0.95);
  --joy-cart-muted-border: rgba(38, 19, 6, 0.25);
  color: var(--joy-color-text, #261306);
  font-family: var(--joy-font-body, "Outfit", system-ui, sans-serif);
}

.joy-commerce-breadcrumbs--cart {
  min-height: 71px;
  display: flex;
  align-items: flex-start;
  padding-top: 5px;
}

.joy-cart-page__title {
  margin: 0;
  color: var(--joy-color-text, #261306);
  font-family: var(--joy-font-heading, "Outfit", system-ui, sans-serif);
  font-size: clamp(2.5rem, 2.158rem + 0.952vw, 3rem);
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1.25;
  letter-spacing: 0;
}

.joy-cart-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 755px) minmax(
      320px,
      var(--joy-cart-sidebar-width)
    );
  gap: var(--joy-cart-gap);
  align-items: start;
  margin-top: 28px;
}

.joy-cart-empty {
  --joy-cart-empty-border: rgba(38, 19, 6, 0.95);
  --joy-cart-empty-muted: rgba(38, 19, 6, 0.7);
  width: 100%;
  color: var(--joy-color-text, #261306);
  font-family: var(--joy-font-body, "Outfit", system-ui, sans-serif);
}

body.woocommerce-cart .woocommerce:has(.joy-cart-empty) {
  width: 100%;
  max-width: none;
}

body.woocommerce-cart .woocommerce:has(.joy-cart-empty) .wd-empty-block-title,
body.woocommerce-cart .woocommerce:has(.joy-cart-empty) .wd-empty-block-text,
body.woocommerce-cart .woocommerce:has(.joy-cart-empty) .return-to-shop {
  display: none;
}

.joy-cart-empty .joy-commerce-breadcrumbs--cart {
  min-height: 71px;
}

.joy-cart-empty__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4.5vw, 64px);
  align-items: center;
  margin-top: 12px;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--joy-cart-empty-border);
  border-radius: var(--joy-radius-md, 16px);
  background: transparent;
}

.joy-cart-empty__content,
.joy-cart-empty__mark {
  position: relative;
  z-index: 1;
}

.joy-cart-empty__eyebrow {
  margin: 0 0 18px;
  color: var(--joy-color-cocoa, #6a391b);
  font-size: var(--joy-text-label, 0.875rem);
  font-weight: var(--joy-weight-bold, 700);
  letter-spacing: var(--joy-tracking-label, 0.06em);
  line-height: var(--joy-leading-tight, 1);
  text-transform: uppercase;
}

.joy-cart-empty__title {
  max-width: 760px;
  margin: 0;
  color: var(--joy-color-text, #261306);
  font-family: var(--joy-font-heading, "Outfit", system-ui, sans-serif);
  font-size: var(--joy-text-title-xl, clamp(2.25rem, 1.736rem + 1.429vw, 3rem));
  font-weight: var(--joy-weight-medium, 500);
  line-height: var(--joy-leading-title, 1.25);
  letter-spacing: 0;
}

.joy-cart-empty__text {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--joy-cart-empty-muted);
  font-size: var(--joy-text-lead, clamp(1rem, 0.914rem + 0.238vw, 1.125rem));
  font-weight: var(--joy-weight-medium, 500);
  line-height: var(--joy-leading-body, 1.5625);
}

.joy-cart-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(28px, 3vw, 42px);
}

.joy-cart-empty__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 220px);
  min-height: 56px;
  padding: 14px 28px;
  border-radius: var(--joy-radius-md, 16px);
  font-family: var(--joy-font-body, "Outfit", system-ui, sans-serif);
  font-size: var(--joy-text-button, clamp(1rem, 0.829rem + 0.476vw, 1.25rem));
  font-weight: var(--joy-weight-bold, 700);
  line-height: var(--joy-leading-tight, 1);
  text-align: center;
  text-decoration: none;
}

.joy-cart-empty__button:hover,
.joy-cart-empty__button:focus {
  text-decoration: none;
}

.joy-cart-empty__button--primary {
  border: 1px solid var(--joy-color-cocoa, #6a391b);
  color: var(--joy-color-white, #fff);
  background: var(--joy-color-cocoa, #6a391b);
}

.joy-cart-empty__button--primary:hover,
.joy-cart-empty__button--primary:focus {
  color: var(--joy-color-white, #fff);
  background: var(--joy-color-brown, #8b5e3e);
}

.joy-cart-empty__button--secondary {
  border: 1px solid var(--joy-color-cocoa, #6a391b);
  color: var(--joy-color-cocoa, #6a391b);
  background: transparent;
}

.joy-cart-empty__button--secondary:hover,
.joy-cart-empty__button--secondary:focus {
  color: var(--joy-color-cocoa, #6a391b);
  background: rgba(106, 57, 27, 0.1);
}

.joy-cart-empty__mark {
  display: grid;
  width: clamp(96px, 13vw, 168px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: var(--joy-radius-pill, 999px);
  color: var(--joy-color-cocoa, #6a391b);
  background: rgba(106, 57, 27, 0.14);
}

.joy-cart-empty__mark::before {
  content: var(--wd-empty-block-icon, "\f147");
  display: block;
  font-family: "woodmart-font";
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
}

.joy-cart-page__items-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.joy-cart-page__selected-count {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--joy-color-text, #261306);
  font-family: var(--joy-font-body, "Outfit", system-ui, sans-serif);
  font-size: 24px;
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1;
}

.joy-cart-page__selected-toggle {
  display: inline-grid;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.joy-cart-page__selected-toggle[aria-pressed="false"]
  .joy-cart-page__selected-icon {
  background: #fff;
}

.joy-cart-page__selected-toggle[aria-pressed="false"]
  .joy-cart-page__selected-icon::after {
  content: none;
}

.joy-cart-page__selected-toggle.is-partial .joy-cart-page__selected-icon {
  background: #1c1b1f;
}

.joy-cart-page__selected-toggle.is-partial
  .joy-cart-page__selected-icon::after {
  width: 10px;
  height: 2px;
  border: 0;
  background: #fff;
  transform: none;
}

.joy-cart-page__selected-icon,
.joy-cart-item__check {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #000;
  border-radius: 999px;
  background: #1c1b1f;
}

.joy-cart-page__selected-icon::after,
.joy-cart-item__check::after {
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  transform: rotate(-45deg) translate(1px, -1px);
}

.joy-cart-page__remove-all {
  color: var(--joy-color-text, #261306);
  font-size: 20px;
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.joy-cart-page__list {
  overflow: hidden;
  border: 1px solid var(--joy-cart-border);
  border-radius: var(--joy-radius-md, 16px);
  background: rgba(106, 57, 27, 0.1);
}

.joy-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 24px;
  gap: 23px;
  padding: 16px;
  border-bottom: 1px solid var(--joy-cart-muted-border);
}

.joy-cart-item:last-child {
  border-bottom: 0;
}

.joy-cart-item__media-wrap {
  position: relative;
}

.joy-cart-item__check {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  background: #1c1b1f;
}

.joy-cart-item__thumbnail {
  overflow: hidden;
  width: 140px; /* lint-ok: fixed-format product thumbnail */
  height: 140px; /* lint-ok: fixed-format product thumbnail */
  border-radius: 10px;
  background: var(--joy-color-base, #f2efe8);
}

.joy-cart-item__thumbnail a,
.joy-cart-item__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
}

.joy-cart-item__thumbnail img {
  object-fit: cover;
}

.joy-cart-item__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 1px 0;
}

.joy-cart-item__title {
  margin: 0;
  color: var(--joy-color-text, #261306);
  font-family: var(--joy-font-heading, "Outfit", system-ui, sans-serif);
  font-size: clamp(1.75rem, 1.579rem + 0.476vw, 2rem);
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1.1;
  letter-spacing: 0;
}

.joy-cart-item__title a {
  color: inherit;
  text-decoration: none;
}

.joy-cart-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--joy-color-text, #261306);
  font-size: 20px;
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1.2;
}

.joy-cart-item__cake-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 15px;
  color: currentColor;
}

.joy-cart-item__cake-icon::before {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 8px;
  border-radius: 2px 2px 1px 1px;
  background: currentColor;
  content: "";
}

.joy-cart-item__cake-icon::after {
  position: absolute;
  left: 7px;
  top: 0;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 8px 0 5px currentColor;
  content: "";
}

.joy-cart-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.joy-cart-item__price,
.joy-cart-item__price .amount {
  color: var(--joy-color-text, #261306);
  font-size: 24px;
  font-weight: var(--joy-weight-regular, 400);
  line-height: 1.2;
}

.joy-cart-item__quantity .quantity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.joy-cart-item__quantity :is(.minus, .plus) {
  display: inline-grid;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--joy-color-brown, #6a391b);
  background: rgba(106, 57, 27, 0.2);
  box-shadow: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.joy-cart-item__quantity input.qty {
  width: 32px;
  min-height: 28px;
  padding: 0;
  border: 0;
  box-shadow: none;
  color: var(--joy-color-text, #261306);
  background: transparent;
  font-size: 24px;
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1;
  text-align: center;
}

.joy-cart-item__remove .remove {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--joy-color-text, #261306) !important;
  background: transparent !important;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.joy-cart-page__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.joy-cart-page__update {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--joy-color-cocoa, #6a391b);
  border-radius: var(--joy-radius-md, 16px);
  color: var(--joy-color-text, #261306);
  background: transparent;
  font-size: 16px;
}

.joy-cart-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.joy-cart-sidebar-form {
  display: grid;
  width: 100%;
  gap: 0;
  margin: 0;
}

body.woocommerce-cart .cart_totals,
body.woocommerce-cart .cart_totals .cart-totals-inner {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-cart .joy-cart-summary,
body.woocommerce-cart .joy-cart-panel,
body.woocommerce-cart .joy-cart-summary__card,
body.woocommerce-cart .joy-cart-summary__checkout {
  width: 100%;
}

.joy-cart-panel__title {
  margin: 0 0 12px;
  color: var(--joy-color-cocoa, #6a391b);
  font-family: var(--joy-font-body, "Outfit", system-ui, sans-serif);
  font-size: 16px;
  font-weight: var(--joy-weight-bold, 700);
  line-height: 1.2;
}

.joy-cart-panel--coupon,
.joy-cart-panel--request {
  margin-bottom: 24px;
}

.joy-cart-summary__title {
  margin-bottom: 12px;
}

.joy-cart-coupon {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 52px;
  border: 2px solid rgba(106, 57, 27, 0.42);
  border-radius: var(--joy-radius-md, 16px);
  background: rgba(106, 57, 27, 0.1);
  backdrop-filter: blur(5px);
}

.joy-cart-coupon__button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px 0 0 14px;
  color: var(--joy-color-cocoa, #6a391b);
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  font-weight: var(--joy-weight-bold, 700);
  white-space: nowrap;
}

.joy-cart-coupon__button:hover,
.joy-cart-coupon__button:focus {
  color: var(--joy-color-cocoa, #6a391b);
  background: transparent !important;
  box-shadow: none;
}

.joy-cart-coupon__icon {
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M17.8337 11.8751L11.8753 17.8334C11.7087 18.0001 11.5212 18.1251 11.3128 18.2084C11.1045 18.2917 10.8962 18.3334 10.6878 18.3334C10.4795 18.3334 10.2712 18.2917 10.0628 18.2084C9.85449 18.1251 9.66699 18.0001 9.50033 17.8334L2.14616 10.4792C1.99338 10.3265 1.87533 10.1494 1.79199 9.948C1.70866 9.74661 1.66699 9.5348 1.66699 9.31258V3.33341C1.66699 2.87508 1.83019 2.48272 2.15658 2.15633C2.48296 1.82994 2.87533 1.66675 3.33366 1.66675H9.31283C9.53505 1.66675 9.75033 1.71189 9.95866 1.80216C10.167 1.89244 10.3475 2.01397 10.5003 2.16675L17.8337 9.52091C18.0003 9.68758 18.1219 9.87508 18.1982 10.0834C18.2746 10.2917 18.3128 10.5001 18.3128 10.7084C18.3128 10.9167 18.2746 11.1216 18.1982 11.323C18.1219 11.5244 18.0003 11.7084 17.8337 11.8751ZM5.41699 6.66675C5.76421 6.66675 6.05935 6.54522 6.30241 6.30216C6.54546 6.05911 6.66699 5.76397 6.66699 5.41675C6.66699 5.06953 6.54546 4.77439 6.30241 4.53133C6.05935 4.28828 5.76421 4.16675 5.41699 4.16675C5.06977 4.16675 4.77463 4.28828 4.53158 4.53133C4.28852 4.77439 4.16699 5.06953 4.16699 5.41675C4.16699 5.76397 4.28852 6.05911 4.53158 6.30216C4.77463 6.54522 5.06977 6.66675 5.41699 6.66675Z' fill='%236A391B'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.joy-cart-coupon__input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--joy-color-text, #261306);
  background: transparent !important;
  font-size: 15px;
  text-align: right;
}

.joy-cart-coupon__input::placeholder,
.joy-cart-panel--request textarea::placeholder {
  color: rgba(106, 57, 27, 0.58);
  opacity: 1;
}

.joy-cart-panel--request textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 74px;
  padding: 12px;
  border: 2px solid rgba(106, 57, 27, 0.42) !important;
  border-radius: var(--joy-radius-md, 16px) !important;
  color: var(--joy-color-text, #261306);
  background: rgba(106, 57, 27, 0.1) !important;
  backdrop-filter: blur(5px);
  box-shadow: none !important;
  font-family: var(--joy-font-body, "Outfit", system-ui, sans-serif);
  font-size: 16px;
  font-weight: var(--joy-weight-regular, 400);
  line-height: 1.32;
  resize: vertical;
}

.joy-cart-summary__card {
  margin: 0 0 16px;
  padding: 14px 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--joy-radius-md, 16px);
  color: #fff;
  background: #401600;
}

.joy-cart-summary__count {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: var(--joy-weight-bold, 700);
  line-height: 1.2;
}

.joy-cart-summary__products {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1.25;
}

.joy-cart-summary__products li,
.joy-cart-summary .shop_table tr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  flex-direction: row;
}

.joy-cart-summary__products li[hidden] {
  display: none !important;
}

.joy-cart-summary__products strong,
.joy-cart-summary .shop_table td,
.joy-cart-summary .shop_table .amount {
  color: #fff;
  font-size: 16px;
  font-weight: var(--joy-weight-bold, 700);
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.joy-cart-summary__products span,
.joy-cart-summary .shop_table th {
  min-width: 0;
}

.joy-cart-summary .shop_table {
  display: block;
  margin: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.64);
  background: transparent;
}

.joy-cart-summary .shop_table tbody {
  display: grid;
  gap: 14px;
}

.joy-cart-summary .shop_table th,
.joy-cart-summary .shop_table td {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.joy-cart-summary .shop_table th {
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  font-weight: var(--joy-weight-medium, 500);
  line-height: 1.25;
  text-align: left;
}

.joy-cart-summary .shop_table .order-total {
  margin-top: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.joy-cart-summary .shop_table .order-total th {
  color: #fff;
  font-weight: var(--joy-weight-bold, 700);
}

.joy-cart-summary .shop_table .order-total td,
.joy-cart-summary .shop_table .order-total .amount {
  font-size: 28px;
  line-height: 1;
}

.joy-cart-summary__checkout {
  margin-top: 0;
}

.joy-cart-summary__checkout .checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0;
  border: 0;
  border-radius: var(--joy-radius-md, 16px);
  color: #fff;
  background: var(--joy-color-cocoa, #6a391b);
  font-size: 20px;
  font-weight: var(--joy-weight-bold, 700);
  line-height: 1;
  text-align: center;
}

.joy-cart-summary__checkout .checkout-button:hover {
  color: var(--joy-color-white);
  background: var(--joy-color-cocoa, #6a391b);
}

/*
 * The "More Cakes To Discover" recommendations now render as a standalone
 * full-width joy/featured-cakes block placed after the cart row in the Woodmart
 * Cart layout (see includes/cart.php note). It uses the block's native
 * .joy-align-full / section spacing, so no cart-specific recommendation CSS is
 * required here.
 */

@media (max-width: 1180px) {
  body.woocommerce-cart .wp-block-wd-row:has(.wd-cart-table) {
    width: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "totals";
    margin-left: 0;
  }

  body.woocommerce-cart
    .wp-block-wd-row:has(.wd-cart-table)
    > .wp-block-wd-column:has(.wd-cart-totals) {
    grid-area: totals;
    width: min(100%, 560px);
    max-width: 560px;
    margin-top: 32px;
    justify-self: start;
  }

  .joy-cart-page__layout {
    grid-template-columns: 1fr;
  }

  .joy-cart-page__sidebar {
    width: min(100%, 560px);
  }

  .joy-cart-empty__panel {
    grid-template-columns: 1fr;
  }

  .joy-cart-empty__mark {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  body.woocommerce-cart .wd-content-layout {
    padding-top: 0;
  }

  body.woocommerce-cart .wp-block-wd-row:has(.wd-cart-table) {
    width: calc(100vw - 30px);
    margin-right: auto;
    margin-left: auto;
    row-gap: 28px;
  }

  .joy-cart-page__title {
    margin-bottom: 18px;
    font-size: 1.75rem;
    line-height: 1.18;
  }

  .joy-cart-builder-head .joy-cart-page__title {
    margin-bottom: 18px;
  }

  .joy-cart-builder-head .joy-cart-page__items-toolbar {
    margin-bottom: 26px;
  }

  body.woocommerce-cart .wd-cart-table .shop_table tr.cart_item {
    grid-template-columns: 96px minmax(0, 1fr) 84px;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "thumb name name"
      "thumb name name"
      "thumb price qty";
    column-gap: 12px;
    row-gap: 10px;
    min-height: 0;
    padding: 18px 16px;
  }

  body.woocommerce-cart .wd-cart-table td.product-thumbnail,
  body.woocommerce-cart .wd-cart-table td.product-thumbnail a {
    width: 96px;
    height: 96px;
  }

  body.woocommerce-cart .wd-cart-table td.product-remove {
    position: absolute;
    top: 18px;
    right: 16px;
  }

  body.woocommerce-cart .wd-cart-table td.product-name {
    gap: 12px;
    padding-right: 32px;
  }

  body.woocommerce-cart .wd-cart-table td.product-name a:not(:where(.button)) {
    font-size: 18px;
    line-height: 1.15;
  }

  .joy-cart-item-variation {
    gap: 7px;
    font-size: 16px;
    line-height: 1.2;
  }

  .joy-cart-item-variation__icon {
    width: 18px;
    height: 20px;
  }

  body.woocommerce-cart .wd-cart-table td.product-price {
    align-self: end;
  }

  body.woocommerce-cart .wd-cart-table td.product-price .amount {
    font-size: 16px;
    line-height: 1.2;
  }

  body.woocommerce-cart .wd-cart-table td.product-quantity {
    align-self: end;
    justify-self: end;
  }

  body.woocommerce-cart .wd-cart-table td.product-quantity .quantity {
    gap: 8px;
    min-width: 84px;
  }

  body.woocommerce-cart .wd-cart-table td.product-quantity :is(.minus, .plus) {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
  }

  body.woocommerce-cart .wd-cart-table td.product-quantity input.qty {
    width: 22px !important;
    min-height: 26px;
    font-size: 18px;
  }

  body.woocommerce-cart .wd-cart-table td.product-remove a.remove {
    width: 24px;
    height: 24px;
    font-size: 28px;
    line-height: 0.8;
  }

  .joy-commerce-breadcrumbs--cart {
    min-height: 42px;
  }

  .joy-cart-page__layout {
    margin-top: 24px;
  }

  .joy-cart-page__items-toolbar {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .joy-cart-page__selected-count {
    gap: 10px;
    font-size: 18px;
  }

  .joy-cart-page__remove-all {
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .joy-cart-empty__panel {
    padding: 26px 20px;
  }

  .joy-cart-empty__actions,
  .joy-cart-empty__button {
    width: 100%;
  }

  .joy-cart-empty__mark {
    width: 84px;
  }

  .joy-cart-item {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 18px 16px;
  }

  .joy-cart-item__thumbnail {
    width: 96px;
    height: 96px;
  }

  .joy-cart-item__remove {
    position: static;
    justify-self: end;
  }

  .joy-cart-item__title {
    padding-right: 0;
    font-size: 18px;
  }

  .joy-cart-item__meta {
    margin-top: 12px;
    font-size: 16px;
  }

  .joy-cart-item__footer {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .joy-cart-coupon {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 48px;
    border-width: 2px;
  }

  .joy-cart-coupon__button {
    min-height: 44px;
    padding: 0 14px;
    justify-content: flex-start;
    border-radius: 14px 0 0 14px;
    font-size: 15px;
  }

  .joy-cart-coupon__input {
    min-height: 44px;
    padding: 0 12px !important;
    font-size: 14px;
    text-align: right;
  }

  .joy-cart-panel--coupon,
  .joy-cart-panel--request {
    margin-bottom: 30px;
  }

  .joy-cart-panel__title {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .joy-cart-panel--request textarea {
    min-height: 74px;
    padding: 12px !important;
    font-size: 15px;
  }

  body.woocommerce-cart
    .wp-block-wd-row:has(.wd-cart-table)
    > .wp-block-wd-column:has(.wd-cart-totals) {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .joy-cart-summary__card {
    padding: 14px 12px 16px;
  }

  .joy-cart-summary__checkout .checkout-button {
    min-height: 52px;
    font-size: 16px;
  }

  body.woocommerce-cart .wd-cart-table .shop_table_responsive td::before,
  body.woocommerce-cart .wd-cart-table .shop_table td::before,
  .shop_table_responsive td:before {
    display: none !important;
    content: none !important;
  }
}
