/* =========================================================
   CART PAGE
   ========================================================= */


/* CART HEADER */

.cart-page .header {
  position:relative;
  top:auto;
  left:auto;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(189,64,52,.1);
}

.cart-page .header__inner {
  min-height:104px;
  align-items:center;
}

.cart-page .header__logo {
  margin-top:0;
}

.cart-page .header__actions {
  padding-top:0;
}

.cart-page .header__icon img {
  filter:brightness(0);
}


/* CART GLOBAL */

.cart-main {
  position:relative;
  z-index:1;
}

.cart-container {
  width:min(var(--container),calc(100% - var(--gutter) * 2));
  margin:0 auto;
}


/* CART INTRO */

.cart-intro {
  padding:54px 0 36px;
  background:rgba(255,255,255,.9);
}

.cart-breadcrumbs {
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:28px;
  color:rgba(17,17,17,.46);
  font-size:13px;
  line-height:1;
}

.cart-breadcrumbs a {
  transition:color .2s ease;
}

.cart-breadcrumbs a:hover {
  color:var(--red);
}

.cart-intro__heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
}

.cart-intro__title {
  margin:0;
  font-size:clamp(54px,4.4vw,82px);
  font-weight:400;
  line-height:.95;
  letter-spacing:-.035em;
}

.cart-intro__count {
  margin:0 0 7px;
  color:rgba(17,17,17,.48);
  font-size:15px;
  line-height:1.2;
}


/* CART LAYOUT */

.cart-section {
  padding:28px 0 120px;
  background:rgba(255,255,255,.82);
}

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


/* CART ITEMS */

.cart-products {
  min-width:0;
}

.cart-product {
  position:relative;
  display:grid;
  grid-template-columns:112px minmax(180px,1fr) 146px 150px;
  gap:24px;
  align-items:center;
  padding:24px 42px 24px 0;
  border-bottom:1px solid rgba(17,17,17,.09);
}

.cart-product:first-child {
  border-top:1px solid rgba(17,17,17,.09);
}

.cart-product__remove {
  position:absolute;
  top:22px;
  right:0;
  display:flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  color:rgba(17,17,17,.42);
  font-family:Arial,sans-serif;
  font-size:22px;
  line-height:1;
  transition:color .2s ease;
}

.cart-product__remove:hover {
  color:var(--red);
}

.cart-product__image {
  display:block;
  width:112px;
  height:126px;
  overflow:hidden;
  background:#f7f2f0;
}

.cart-product__image img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.cart-product__info {
  min-width:0;
}

.cart-product__title {
  display:inline-block;
  max-width:100%;
  font-size:19px;
  line-height:1.3;
  transition:color .2s ease;
}

.cart-product__title:hover {
  color:var(--red);
}

.cart-product__unit-price {
  margin-top:12px;
  color:rgba(17,17,17,.52);
  font-size:15px;
  line-height:1;
}


/* CART QUANTITY */

.cart-product__quantity-label,
.cart-product__subtotal-label {
  display:block;
  margin-bottom:9px;
  color:rgba(17,17,17,.42);
  font-size:11px;
  line-height:1;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.cart-quantity {
  display:grid;
  grid-template-columns:40px 50px 40px;
  width:max-content;
  height:48px;
  background:var(--white);
  border:1px solid rgba(189,64,52,.16);
}

.cart-quantity button,
.cart-quantity input {
  width:100%;
  height:100%;
  border:0;
  outline:0;
  background:transparent;
  text-align:center;
  font:inherit;
  font-size:15px;
}

.cart-quantity button {
  color:rgba(17,17,17,.6);
  transition:color .2s ease,background-color .2s ease;
}

.cart-quantity button:hover {
  color:var(--red);
  background:#fff8f6;
}

.cart-quantity input {
  border-right:1px solid rgba(189,64,52,.12);
  border-left:1px solid rgba(189,64,52,.12);
  -moz-appearance:textfield;
}

.cart-quantity input::-webkit-outer-spin-button,
.cart-quantity input::-webkit-inner-spin-button {
  margin:0;
  -webkit-appearance:none;
}


/* CART SUBTOTAL */

.cart-product__subtotal {
  text-align:right;
}

.cart-product__subtotal strong {
  color:var(--red);
  font-size:19px;
  font-weight:700;
  line-height:1;
}


/* CART ACTIONS */

.cart-products__footer {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding-top:28px;
}

.cart-continue {
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:rgba(17,17,17,.7);
  font-size:15px;
  line-height:1;
  transition:color .2s ease;
}

.cart-continue span:first-child {
  color:var(--red);
  font-size:18px;
}

.cart-continue:hover {
  color:var(--red);
}


/* CART SUMMARY */

.cart-summary__inner {
  position:sticky;
  top:28px;
  padding:30px;
  background:rgba(255,253,252,.98);
  border:1px solid rgba(189,64,52,.14);
  box-shadow:0 16px 42px rgba(57,34,30,.08);
}

.cart-summary__title {
  margin:0 0 28px;
  font-size:30px;
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.02em;
}

.cart-summary__rows {
  display:grid;
  gap:0;
}

.cart-summary__row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 0;
  border-bottom:1px solid rgba(17,17,17,.08);
  color:rgba(17,17,17,.64);
  font-size:15px;
  line-height:1.3;
}

.cart-summary__row strong {
  color:var(--black);
  font-weight:400;
  text-align:right;
}

.cart-summary__delivery {
  color:var(--red) !important;
}

.cart-summary__total {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding:24px 0;
  font-size:18px;
  line-height:1;
}

.cart-summary__total strong {
  color:var(--red);
  font-size:28px;
  font-weight:700;
  white-space:nowrap;
}

.cart-summary__checkout {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:56px;
  padding:14px 22px;
  color:var(--white);
  background:var(--red);
  border:1px solid var(--red);
  font-size:18px;
  line-height:1;
  transition:background-color .2s ease;
}

.cart-summary__checkout:hover {
  background:var(--red-dark);
}

.cart-summary__checkout.is-disabled {
  pointer-events:none;
  opacity:.45;
}

.cart-summary__note {
  margin:14px 0 0;
  color:rgba(17,17,17,.42);
  font-size:12px;
  line-height:1.4;
  text-align:center;
}


/* CART EMPTY */

.cart-empty {
  padding:70px 30px;
  text-align:center;
  background:rgba(255,253,252,.9);
  border:1px solid rgba(189,64,52,.12);
}

.cart-empty__title {
  margin:0;
  font-size:34px;
  font-weight:400;
  line-height:1.05;
}

.cart-empty__text {
  margin:14px 0 0;
  color:rgba(17,17,17,.56);
  font-size:16px;
  line-height:1.5;
}

.cart-empty__button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  margin-top:24px;
  padding:12px 24px;
  color:var(--white);
  background:var(--red);
  border:1px solid var(--red);
  font-size:16px;
  line-height:1;
}


/* TABLET */

@media(max-width:1200px) {
  .cart-layout {
    grid-template-columns:minmax(0,1fr) 340px;
    gap:32px;
  }

  .cart-product {
    grid-template-columns:96px minmax(150px,1fr) 130px;
    gap:18px;
  }

  .cart-product__image {
    width:96px;
    height:110px;
  }

  .cart-product__subtotal {
    grid-column:2 / 4;
    text-align:left;
  }

  .cart-product__subtotal-label {
    display:inline;
    margin-right:8px;
  }
}


/* MOBILE */

@media(max-width:767px) {
  .cart-intro {
    padding:30px 0 26px;
  }

  .cart-breadcrumbs {
    margin-bottom:20px;
    font-size:12px;
  }

  .cart-intro__heading {
    display:block;
  }

  .cart-intro__title {
    font-size:44px;
  }

  .cart-intro__count {
    margin-top:10px;
    font-size:13px;
  }

  .cart-section {
    padding:16px 0 80px;
  }

  .cart-layout {
    display:block;
  }

  .cart-product {
    grid-template-columns:92px minmax(0,1fr);
    gap:16px;
    padding:18px 34px 18px 0;
  }

  .cart-product__remove {
    top:18px;
    width:24px;
    height:24px;
    font-size:20px;
  }

  .cart-product__image {
    width:92px;
    height:104px;
  }

  .cart-product__title {
    padding-right:8px;
    font-size:17px;
  }

  .cart-product__unit-price {
    margin-top:8px;
    font-size:14px;
  }

  .cart-product__quantity {
    grid-column:2;
    margin-top:-48px;
    padding-top:58px;
  }

  .cart-product__quantity-label {
    display:none;
  }

  .cart-quantity {
    grid-template-columns:36px 46px 36px;
    height:42px;
  }

  .cart-product__subtotal {
    grid-column:2;
    margin-top:-2px;
    text-align:left;
  }

  .cart-product__subtotal-label {
    display:inline;
    margin:0 7px 0 0;
    font-size:10px;
  }

  .cart-product__subtotal strong {
    font-size:17px;
  }

  .cart-products__footer {
    padding-top:22px;
  }

  .cart-summary {
    margin-top:42px;
  }

  .cart-summary__inner {
    position:static;
    padding:24px 20px;
  }

  .cart-summary__title {
    margin-bottom:22px;
    font-size:27px;
  }

  .cart-summary__total strong {
    font-size:24px;
  }

  .cart-summary__checkout {
    min-height:52px;
    font-size:17px;
  }

  .cart-empty {
    padding:54px 20px;
  }

  .cart-empty__title {
    font-size:30px;
  }
}


/* SMALL MOBILE */

@media(max-width:420px) {
  .cart-product {
    grid-template-columns:80px minmax(0,1fr);
    gap:13px;
  }

  .cart-product__image {
    width:80px;
    height:92px;
  }

  .cart-product__title {
    font-size:16px;
  }

  .cart-product__quantity {
    margin-top:-40px;
    padding-top:50px;
  }

  .cart-quantity {
    grid-template-columns:34px 42px 34px;
    height:40px;
  }

  .cart-summary__inner {
    padding:22px 16px;
  }
}

/* =========================================================
   WOOCOMMERCE CART INTEGRATION
   ========================================================= */

.cart-product.is-updating,
.cart-layout.is-updating {
  pointer-events: none;
  opacity: 0.62;
}

.cart-quantity button:disabled,
.cart-quantity input:disabled {
  cursor: default;
  opacity: 0.45;
}

.cart-update-button {
  display: none;
}

.cart-main .woocommerce-notices-wrapper {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 20px auto 0;
}

.cart-main .woocommerce-message,
.cart-main .woocommerce-error,
.cart-main .woocommerce-info {
  margin: 0 0 18px;
  padding: 14px 18px;
  background: rgba(255, 253, 252, 0.98);
  border: 1px solid rgba(189, 64, 52, 0.14);
  list-style: none;
}

.cart-main .woocommerce-message a,
.cart-main .woocommerce-error a,
.cart-main .woocommerce-info a {
  color: var(--red);
}

.cart-product__variation {
  margin-top: 8px;
  color: rgba(17, 17, 17, 0.52);
  font-size: 13px;
  line-height: 1.4;
}

.cart-product__variation dl {
  margin: 0;
}

.cart-product__variation dt,
.cart-product__variation dd {
  display: inline;
  margin: 0;
}

.cart-product__variation dd + dt::before {
  content: " · ";
}
