/** Shopify CDN: Minification failed

Line 253:10 Expected identifier but found whitespace
Line 253:23 Unexpected ";"

**/
/* Cart drawer layout — fit content inside drawer width (no horizontal clip) */

.cart-drawer .drawer__inner,
.cart-drawer .drawer__footer,
.cart-drawer .cart-drawer__footer,
.cart-drawer .cart__ctas,
.cart-drawer .totals,
.cart-drawer .cart-items,
.cart-drawer .drawer__cart-items-wrapper,
.cart-drawer .cart-drawer__form,
.atj-cart-extras {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Sensible desktop width; still shrinks on tablet/phone */
.cart-drawer .drawer__inner {
  width: min(42rem, 100vw);
  max-width: calc(100vw - 3rem);
  box-sizing: border-box;
}

@media screen and (max-width: 749px) {
  .cart-drawer .drawer__inner {
    width: 100vw;
    max-width: 100vw;
  }
}

.cart-drawer .drawer__footer {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Vertical scroll only; reserve gutter so KOPĀ / prices are not under the scrollbar */
.cart-drawer cart-drawer-items {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding-right: 0.2rem;
  box-sizing: border-box;
}

.cart-drawer .cart__checkout-button {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cart-drawer .totals {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cart-drawer .totals__total,
.cart-drawer .totals__total-value {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/*
  Root cause fix: Dawn places quantity as grid-column 2 / 5 on a 4-col track.
  A prior override set 3 columns without updating placements, which created an
  implicit 0px column and shoved KOPĀ / prices into the scrollbar.
  Use a coherent 3-column grid: image | title (flex) | price (shrink-0).
*/
.cart-drawer .cart-item {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr) max-content;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.8rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cart-drawer .cart-item > td + td {
  padding-left: 0;
}

.cart-drawer .cart-item__media {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 6.4rem;
  max-width: 6.4rem;
}

.cart-drawer .cart-item__image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.cart-drawer .cart-item__details {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  min-width: 0;
  max-width: 100%;
}

.cart-drawer .cart-item__totals {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  flex-shrink: 0;
  min-width: 0;
  max-width: 100%;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.cart-drawer .cart-item__price-wrapper {
  min-width: 0;
  max-width: 14rem;
  text-align: right;
}

.cart-drawer .cart-item__totals .price {
  white-space: nowrap;
}

.cart-drawer .cart-item__price-wrapper .atj-pvn-breakdown--line,
.cart-drawer .product-option {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cart-drawer .cart-items .cart-item__quantity {
  grid-column: 2 / 3;
  grid-row: 2;
  padding-top: 0;
  min-width: 0;
}

/* Header row matches the same 3-column track so KOPĀ stays fully visible */
.cart-drawer .cart-items thead {
  display: block;
  width: 100%;
  max-width: 100%;
}

.cart-drawer .cart-items thead tr {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr) max-content;
  column-gap: 1rem;
  width: 100%;
  max-width: 100%;
  align-items: end;
  box-sizing: border-box;
}

.cart-drawer .cart-items thead th {
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.cart-drawer .cart-items thead th:first-child {
  padding: 0;
}

.cart-drawer .cart-items thead th:nth-child(2) {
  width: auto;
  padding-left: 0;
  min-width: 0;
}

.cart-drawer .cart-items thead th:nth-child(3) {
  justify-self: end;
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
}

.cart-drawer .cart-items thead th:last-child {
  display: none;
}


.atj-cart-extras {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0 0 1.6rem;
  padding: 0;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.atj-cart-extras__shipping {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  background: #f3f0eb;
  color: #241a1d;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.atj-cart-extras__shipping-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #241a1d;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.atj-cart-extras__shipping-text {
  min-width: 0;
}

/* Real gift cart line */
.atj-cart-gift-value {
  margin: 0.2rem 0 0;
  color: rgba(36, 26, 29, 0.6);
}

.atj-cart-gift-price {
  font-weight: 700;
}
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #5c7a6a;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

.atj-cart-gift-meta {
  margin-top: 0.4rem;
}

.atj-cart-gift-color {
  position: relative;
  margin-top: 0.4rem;
}

.atj-cart-gift-color__toggle {
  padding: 0;
  border: 0;
  background: none;
  color: #6e2a3a;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.atj-cart-gift-color__menu {
  position: absolute;
  z-index: 5;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  min-width: 12rem;
  margin-top: 0.4rem;
  padding: 0.4rem;
  border: 1px solid rgba(36, 26, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.6rem 1.6rem rgba(36, 26, 29, 0.12);
}

.atj-cart-gift-color__menu[hidden] {
  display: none !important;
}

.atj-cart-gift-color__option {
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 1.25rem;
}

.atj-cart-gift-color__option:hover,
.atj-cart-gift-color__option.is-current {
  background: #f4eee7;
}

.atj-cart-gift-color__option:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.atj-cart-gift-qty__label {
  display: inline-block;
  min-width: 2.4rem;
  text-align: center;
  font-weight: 600;
}

.cart-item--gift-socks .cart-item__quantity-wrapper,
.cart-item--gift-socks cart-remove-button {
  display: none !important;
}

.atj-product-sticky-atc__gift {
  margin: 0.2rem 0 0;
  font-size: 1.1rem;
  color: rgba(36, 26, 29, 0.7);
}

.atj-product-sticky-atc__gift-badge {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #5c7a6a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.atj-cart-extras__upsell {
  padding-top: 0.4rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.atj-cart-extras__upsell-heading {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: #241a1d;
  line-height: 1.3;
}

/* Equal-height cards in one row — buttons pin to the bottom */
.atj-cart-extras__upsell-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.8rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  padding-bottom: 0;
  box-sizing: border-box;
}

.atj-cart-extras__upsell-card {
  min-width: 0;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-sizing: border-box;
}

.atj-cart-extras__upsell-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.45rem;
  min-width: 0;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.atj-cart-extras__upsell-media {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #ede6de;
}

.atj-cart-extras__upsell-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.atj-cart-extras__upsell-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.15rem * 1.25 * 2);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  color: #241a1d;
  overflow-wrap: anywhere;
}

/* Reserve space for compare-at + current so prices line up across cards */
.atj-cart-extras__upsell-price {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.15rem;
  min-height: calc(1.2rem * 1.3 * 2);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: #241a1d;
}

.atj-cart-extras__upsell-compare {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(36, 26, 29, 0.55);
}

.atj-cart-extras__upsell-price-current {
  font-weight: 500;
}

/* Reserved colour/options row — keeps body height equal with or without UI */
.atj-cart-extras__upsell-options {
  display: block;
  flex-shrink: 0;
  min-height: 2.2rem;
}

.atj-cart-extras__upsell-add {
  appearance: none;
  margin-top: auto;
  flex-shrink: 0;
  border: 1px solid #241a1d;
  background: #fff;
  color: #241a1d;
  border-radius: 999px;
  padding: 0.55rem 0.6rem;
  min-height: 3.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease;
}

.atj-cart-extras__upsell-add:hover:not(:disabled) {
  background: #241a1d;
  color: #fff;
}

.atj-cart-extras__upsell-add:disabled,
.atj-cart-extras__upsell-add.is-loading {
  opacity: 0.55;
  cursor: not-allowed;
}

.cart-drawer .drawer__footer .atj-cart-extras {
  margin-top: 0.4rem;
}

@media screen and (max-width: 380px) {
  .atj-cart-extras__upsell-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .atj-cart-extras__upsell-title {
    font-size: 1.05rem;
    min-height: calc(1.05rem * 1.25 * 2);
  }

  .atj-cart-extras__upsell-add {
    font-size: 1rem;
    padding: 0.5rem 0.4rem;
    min-height: 3rem;
  }
}
