/** Shopify CDN: Minification failed

Line 148:16 Expected identifier but found whitespace
Line 148:17 Unexpected "2.4rem"

**/
/*
  SHFTD overrides for Dawn-inherited components.
  This file loads LAST in theme.liquid so it wins cascade conflicts.
*/

/* ===== HEADER FIX FOR LIGHT PAGES ===== */
body.template-cart .header,
body.template-customers-login .header,
body.template-customers-register .header,
body.template-customers-account .header,
body.template-customers-addresses .header,
body.template-customers-order .header,
body.template-customers-reset_password .header,
body.template-customers-activate_account .header {
  background: #000000 !important;
}

/* ===== LIGHT-MODE BODY ===== */
body.template-cart {
  background-color: #f5f5f5;
  color: #111111;
}

body.template-customers-login,
body.template-customers-register,
body.template-customers-account,
body.template-customers-addresses,
body.template-customers-order,
body.template-customers-reset_password,
body.template-customers-activate_account {
  background-color: #000000;
  color: #111111;
}

/* ===== LIGHT-MODE MAIN CONTENT ===== */
body.template-cart .main-content,
body.template-cart .main-content .shopify-section,
body.template-cart .main-content [class*="color-"],
body.template-cart .main-content .gradient,
body.template-customers-login .main-content,
body.template-customers-login .main-content .shopify-section,
body.template-customers-register .main-content,
body.template-customers-register .main-content .shopify-section,
body.template-customers-account .main-content,
body.template-customers-account .main-content .shopify-section,
body.template-customers-addresses .main-content,
body.template-customers-addresses .main-content .shopify-section,
body.template-customers-order .main-content,
body.template-customers-order .main-content .shopify-section,
body.template-customers-reset_password .main-content,
body.template-customers-reset_password .main-content .shopify-section,
body.template-customers-activate_account .main-content,
body.template-customers-activate_account .main-content .shopify-section {
  --color-background: #f5f5f5;
  --color-foreground: 17, 17, 17;
  --color-background-rgb: 245, 245, 245;
  --color-border: #e0e0e0;
  --color-secondary: #eeeeee;
  --gradient-background: #f5f5f5;
  --gradient: #f5f5f5;
  background-color: #f5f5f5 !important;
  background: #f5f5f5 !important;
  color: #111111;
}

/* ============================================================
   CART PAGE — TWO-COLUMN LAYOUT (items left, summary right)
   ============================================================ */

/* Grid: items + footer side-by-side, featured collection full-width below */
body.template-cart .main-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 3rem 0;
}

body.template-cart .main-content > .shopify-section:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

body.template-cart .main-content > .shopify-section:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 2rem;
  align-self: start;
}

body.template-cart .main-content > .shopify-section:nth-child(3) {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 2rem;
  padding-top: 2rem;
}

/* Remove page-width constraints inside cart (grid handles sizing) */
body.template-cart .main-content .page-width {
  max-width: 100%;
  padding: 0;
}

@media screen and (max-width: 990px) {
  body.template-cart .main-content {
    grid-template-columns: 1fr;
    padding: 2rem var(--page-padding) 0;
  }
  body.template-cart .main-content > .shopify-section:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    position: static;
  }
  body.template-cart .main-content > .shopify-section:nth-child(3) {
    grid-row: 3;
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

/* --- Cart Title --- */
body.template-cart .main-content h1 {
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #111111;
  margin-bottom: 0.3rem;
}

  /* Fixed table layout to prevent columns from shifting */
  body.template-cart .cart-items {
    table-layout: fixed;
    width: 100%;
  }

  body.template-cart .cart-items thead th:nth-child(1) { width: auto; } /* Product - takes remaining */
  body.template-cart .cart-items thead th:nth-child(2) { width: 18rem; } /* Quantity */
  body.template-cart .cart-items thead th:nth-child(3) { width: 11rem; } /* Total */
  margin-bottom: 2.4rem;
}
body.template-cart .title-wrapper-with-link a {
  color: #888 !important;
  font-weight: 500;
  font-size: 1.3rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.15s;
}
body.template-cart .title-wrapper-with-link a:hover {
  color: var(--color-primary) !important;
}

/* --- Cart Table --- */
body.template-cart .caption-with-letter-spacing {
  color: #999999;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

body.template-cart .cart-item {
  border-bottom: none;
}

body.template-cart .cart-item td {
  border-bottom: 1px solid #d8d8d8;
}

/* Table header divider */
body.template-cart .cart-items thead tr {
  border-bottom: none;
}

body.template-cart .cart-items thead th {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #d8d8d8;
}

body.template-cart .cart-items td {
  padding-top: 1.6rem !important;
  padding-bottom: 1.6rem !important;
  vertical-align: middle !important;
}

body.template-cart .cart-items th {
  padding-bottom: 1.6rem !important;
}

body.template-cart .cart-item > td + td {
  padding-left: 1.6rem !important;
}

body.template-cart .cart-item__media {
  width: 80px;
  min-width: 80px;
}

body.template-cart .cart-item__image-container {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

body.template-cart .cart-item__image {
  width: 80px;
  height: auto;
}

@media screen and (min-width: 750px) {
  body.template-cart .cart-item__media {
    width: 100px;
    min-width: 100px;
  }
  body.template-cart .cart-item__image {
    width: 100px;
  }
}

body.template-cart .cart-item__name {
  color: #111111;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}

body.template-cart .cart-item__details,
body.template-cart .product-option {
  color: #777777;
  font-size: 1.3rem;
}

body.template-cart .price {
  color: #111111;
  font-weight: 700;
}

/* --- Quantity Controls (pill) --- */
body.template-cart .quantity {
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  background: #ffffff;
}

body.template-cart .quantity__input {
  color: #111111;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 1.4rem;
  text-align: center;
  width: 4rem;
  padding: 0.5rem 0;
  -moz-appearance: textfield;
}
body.template-cart .quantity__input::-webkit-outer-spin-button,
body.template-cart .quantity__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.template-cart .quantity__button {
  color: #888888;
  background: transparent;
  border: none;
  padding: 0.5rem 0.8rem;
  transition: color 0.15s;
  display: flex;
  align-items: center;
}
body.template-cart .quantity__button:hover {
  color: #111111;
}
body.template-cart .quantity__button svg {
  width: 1rem;
  height: 1rem;
}

/* Tertiary buttons in cart */
body.template-cart .button--tertiary {
  background: transparent !important;
  border: none;
  min-height: auto;
  padding: 0.4rem;
}

/* --- ORDER SUMMARY SIDEBAR --- */
body.template-cart #main-cart-footer {
  background: transparent !important;
  border: none;
  box-shadow: none;
}

body.template-cart .cart__footer {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
}
body.template-cart .cart__footer > * {
  width: 100% !important;
  margin: 0 !important;
}

/* --- FEATURED COLLECTION (bottom section) --- */
body.template-cart .main-content h2 {
  color: #111111;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

body.template-cart .main-content h3 {
  color: #111111;
  font-size: 1.4rem;
  font-weight: 700;
}

body.template-cart .card-wrapper,
body.template-cart .card-information {
  color: #111111;
}

body.template-cart .main-content a:not(.button):not(.cart__checkout-button) {
  color: #111111;
}

/* View all button */
body.template-cart .main-content .button:not(.cart__checkout-button) {
  background: transparent;
  color: #111111;
  border: 1.5px solid #111111;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1rem 2.4rem;
  transition: all 0.2s;
}
body.template-cart .main-content .button:not(.cart__checkout-button):hover {
  background: #111111;
  color: #ffffff;
}

/* --- EMPTY CART --- */
body.template-cart .cart__empty-text {
  color: #111111;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

body.template-cart .cart__warnings .button {
  background: linear-gradient(to bottom, #e62b00, #cc2500);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 1.4rem 3rem;
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(230, 43, 0, 0.3);
}

/* ===== PAGE-WIDTH WRAPPER ===== */
.page-width {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}
