:root{
  --lh-cart-bg:#fbf7f0;
  --lh-cart-panel:#f8f1e7;
  --lh-cart-ink:#1e1c18;
  --lh-cart-muted:rgba(30,28,24,.62);
  --lh-cart-sand:#d7c4a3;
  --lh-cart-clay:#c6a58a;
  --lh-cart-sage:#93a38b;
  --lh-cart-olive:#6f7b55;
  --lh-cart-border:rgba(62,42,31,.12);
  --lh-cart-shadow:0 22px 60px rgba(0,0,0,.20);
}

.lh-cart-overlay{
  position:fixed;
  inset:0;
  background:rgba(20,18,16,.34);
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
  z-index:9998;
}

body.lh-cart-open .lh-cart-overlay{
  opacity:1;
  pointer-events:auto;
}

.lh-cart-drawer{
  position:fixed;
  top:0;
  right:0;
  width:min(520px, 92vw);
  height:100vh;
  transform:translateX(105%);
  transition:transform .28s ease;
  z-index:9999;

  display:grid;
  grid-template-rows:auto 1fr auto;

  background:
    linear-gradient(180deg, rgba(251,247,240,.98), rgba(242,233,218,.98));
  color:var(--lh-cart-ink);
  border-left:1px solid var(--lh-cart-border);
  box-shadow:var(--lh-cart-shadow);
  backdrop-filter:blur(14px);
}

body.lh-cart-open .lh-cart-drawer{
  transform:translateX(0);
}

.lh-cart-head{
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px 56px;
  border-bottom:1px solid var(--lh-cart-border);
  background:rgba(251,247,240,.94);
  backdrop-filter:blur(12px);
}

.lh-cart-head h3{
  margin:0;
  font-family:"Cormorant Garamond", "DM Serif Display", serif;
  font-size:26px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#211a15;
}

.lh-cart-close{
  position:absolute;
  right:14px;
  top:11px;
  width:38px;
  height:38px;
  border-radius:14px;
  border:1px solid var(--lh-cart-border);
  background:rgba(255,255,255,.70);
  color:#211a15;
  cursor:pointer;
  font-size:24px;
  line-height:1;
}

.lh-cart-body{
  overflow:auto;
  padding:16px 18px;
}

.lh-cart-body::-webkit-scrollbar{
  width:8px;
}

.lh-cart-body::-webkit-scrollbar-thumb{
  background:rgba(111,123,85,.28);
  border-radius:999px;
}

.lh-cart-empty{
  margin-top:42px;
  text-align:center;
  color:var(--lh-cart-muted);
}

.lh-cart-empty p{
  margin:0 0 14px;
  font-weight:700;
}

.lh-cart-empty a{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:42px;
  padding:0 18px;
  border-radius:999px;
  background:rgba(215,196,163,.42);
  border:1px solid var(--lh-cart-border);
  color:#211a15;
  text-decoration:none;
  font-weight:700;
}

.lh-cart-item{
  display:grid;
  grid-template-columns:76px 1fr auto auto;
  gap:14px;
  align-items:center;
  margin-bottom:13px;
  padding:13px;
  border-radius:20px;
  background:rgba(255,255,255,.70);
  border:1px solid var(--lh-cart-border);
  box-shadow:0 12px 28px rgba(62,42,31,.09);
}

.lh-cart-item__image{
  width:76px;
  height:76px;
  border-radius:16px;
  overflow:hidden;
  background:rgba(215,196,163,.18);
  border:1px solid rgba(62,42,31,.10);
}

.lh-cart-item__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.lh-cart-item__meta{
  min-width:0;
}

.lh-cart-item__name{
  font-size:15px;
  line-height:1.25;
  font-weight:800;
  color:#211a15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.lh-cart-item__price{
  margin-top:6px;
  font-size:14px;
  font-weight:800;
  color:var(--lh-cart-olive);
}

.lh-cart-item__qty{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 9px;
  border-radius:999px;
  background:rgba(215,196,163,.22);
  border:1px solid rgba(62,42,31,.10);
}

.lh-cart-item__qty button{
  width:30px;
  height:30px;
  border-radius:999px;
  border:1px solid rgba(62,42,31,.12);
  background:rgba(255,255,255,.78);
  cursor:pointer;
  font-weight:900;
  color:#211a15;
}

.lh-cart-item__qty span{
  min-width:18px;
  text-align:center;
  font-weight:900;
}

.lh-cart-item__remove{
  width:38px;
  height:38px;
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:30px;
  opacity:.72;
}

.lh-cart-item__remove:hover{
  opacity:1;
}

.lh-cart-foot{
  padding:14px 18px 18px;
  border-top:1px solid var(--lh-cart-border);
  background:rgba(251,247,240,.94);
  backdrop-filter:blur(12px);
  display:grid;
  gap:12px;
}

.lh-cart-subtotal{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#211a15;
  font-weight:800;
}

.lh-cart-checkout{
  height:56px;
  border-radius:999px;
  border:1px solid rgba(62,42,31,.16);
  background:linear-gradient(180deg, rgba(111,123,85,.96), rgba(92,103,72,.96));
  font-family: "Nunito", sans-serif;
  color:#fffaf2;
  cursor:pointer;
  display:flex;
  font-weight:600;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  font-size: 22px;
  letter-spacing:.04em;
  box-shadow:0 18px 38px rgba(62,42,31,.16);
}

.lh-cart-clear{
  height:46px;
  border-radius:999px;
  border:1px solid var(--lh-cart-border);
  background:rgba(255,255,255,.68);
  color:#211a15;
  cursor:pointer;
  font-weight:800;
}

.lh-cart-toast-root{
  position:fixed;
  top:92px;
  right:18px;
  z-index:10000;
  width:min(390px, calc(100vw - 24px));
  display:grid;
  gap:12px;
  pointer-events:none;
}

.lh-cart-toast{
  pointer-events:auto;
  display:grid;
  grid-template-columns:62px 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(62,42,31,.12);
  box-shadow:0 18px 42px rgba(0,0,0,.14);
  opacity:0;
  transform:translateY(-8px);
  transition:opacity .22s ease, transform .22s ease;
  backdrop-filter:blur(12px);
}

.lh-cart-toast.is-visible{
  opacity:1;
  transform:translateY(0);
}

.lh-cart-toast__image{
  width:62px;
  height:62px;
  border-radius:14px;
  overflow:hidden;
  background:rgba(215,196,163,.18);
  border:1px solid rgba(62,42,31,.10);
}

.lh-cart-toast__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.lh-cart-toast__body{
  min-width:0;
}

.lh-cart-toast__eyebrow{
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(111,123,85,.88);
  margin-bottom:4px;
}

.lh-cart-toast__title{
  font-size:14px;
  font-weight:800;
  color:#211a15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.lh-cart-toast__meta{
  margin-top:3px;
  font-size:12px;
  color:var(--lh-cart-muted);
}

.lh-cart-toast__view{
  border-radius:999px;
  border:1px solid var(--lh-cart-border);
  background:rgba(215,196,163,.34);
  color:#211a15;
  cursor:pointer;
  padding:9px 12px;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

@media(max-width:640px){
  .lh-cart-drawer{
    width:100vw;
  }

  .lh-cart-item{
    grid-template-columns:66px 1fr auto;
  }

  .lh-cart-item__image{
    width:66px;
    height:66px;
  }

  .lh-cart-item__qty{
    grid-column:2 / 3;
    justify-self:start;
    margin-top:6px;
  }

  .lh-cart-item__remove{
    grid-column:3;
    grid-row:1 / span 2;
  }

  .lh-cart-toast-root{
    top:auto;
    right:12px;
    left:12px;
    bottom:14px;
    width:auto;
  }

  .lh-cart-toast{
    grid-template-columns:56px 1fr auto;
  }

  .lh-cart-toast__image{
    width:56px;
    height:56px;
  }
}


/* =========================
   Cart refinements
   ========================= */

.lh-cart-subtotal{
  display:none !important;
}

.lh-cart-foot{
  gap: 14px;
}

/* Cleaner clear cart button */
.lh-cart-clear{
  height: auto;
  min-height: 42px;
  width: fit-content;
  justify-self: center;
  padding: 0 18px;
  border: none;
  background: transparent;
  box-shadow: none;
  color: rgba(30,28,24,.58);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lh-cart-clear:hover{
  color: #1e1c18;
  background: transparent;
}

/* Better mobile item alignment */
@media(max-width:640px){
  .lh-cart-body{
    padding: 16px 18px 12px;
  }

  .lh-cart-item{
    grid-template-columns: 64px 1fr 26px;
    gap: 12px;
    padding: 14px;
  }

  .lh-cart-item__image{
    width:64px;
    height:64px;
  }

  .lh-cart-item__meta{
    padding-top: 2px;
  }

  .lh-cart-item__name{
    font-size:14px;
    line-height:1.25;
  }

  .lh-cart-item__bottom{
    margin-top:6px;
	gap: 12px !important;
  }

  .lh-cart-item__price{
    font-size:14px;
  }

  .lh-cart-item__qty{
    transform: scale(.95);
  }

  .lh-cart-item__remove{
    position: relative;
    align-self: center;
    justify-self: center;
    font-size: 27px;
    top: 8px;
    opacity: .55;
  }

  .lh-cart-checkout{
    height: 58px;
    padding: 0 22px;
  }

  .lh-cart-clear{
    margin-top: -2px;
  }
}

/* =========================
   Inline price + quantity
   ========================= */

.lh-cart-item__bottom{
	display: flex;
	align-items: center;
	/* justify-content: space-between; */
	gap: 61px;
	margin-top: 12px;
}

.lh-cart-item__price{
  margin-top:0 !important;
  font-size:19px;
}

/* tighten qty */
.lh-cart-item__qty{
  padding:3px 8px;
  gap:6px;
}

.lh-cart-item__qty button{
  width:26px;
  height:26px;
  font-size:14px;
}

/* =====================================
   Desktop only: align quantity beside price
   ===================================== */
@media (min-width: 641px){

  .lh-cart-item{
    grid-template-columns: 76px 1fr auto 32px;
    align-items: center;
  }

  .lh-cart-item__meta{
    display: block !important;
  }

  .lh-cart-item__price{
    margin-top: 6px !important;
  }

  .lh-cart-item__qty{
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    margin-bottom: 2px;
    margin-top: 0 !important;
  }

  .lh-cart-item__remove{
    grid-column: 4;
    grid-row: 1;
    align-self: center;
  }
}

/* =====================================
   Desktop alignment polish
   ===================================== */
@media (min-width: 641px){

  .lh-cart-item{
    grid-template-columns: 76px 1fr auto 32px;
    align-items: center;
    column-gap: 16px;
  }

  /* Meta block (name + price) */
  .lh-cart-item__meta{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }

  .lh-cart-item__name{
    line-height: 1.25;
  }

  .lh-cart-item__price{
    margin: 0 !important;
    line-height: 1;
  }

  /* Quantity perfectly centered */
  .lh-cart-item__qty{
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Remove icon perfectly centered */
  .lh-cart-item__remove{
    align-self: center;
    justify-self: center;
    font-size: 31px;
	margin-left: -42px;
  }
}


