/* Product-related pages only: responsive desktop mini-cart and mobile confirmation. */
#product-mini-cart-root [hidden] { display: none !important; }
html.pmc-scroll-lock { overflow: hidden; }

.pmc-backdrop {
  position: fixed;
  z-index: 1490;
  inset: 0;
  background: rgb(16 29 21 / 32%);
  opacity: 0;
  transition: opacity .22s ease;
}
.pmc-backdrop.is-open { opacity: 1; }
.pmc-drawer {
  position: fixed;
  z-index: 1491;
  inset: 0 0 0 auto;
  display: flex;
  width: min(410px, 94vw);
  height: 100dvh;
  flex-direction: column;
  overflow: hidden;
  background: #fffdf7;
  color: #1c2d21;
  box-shadow: -15px 0 42px rgb(15 31 21 / 17%);
  transform: translateX(105%);
  transition: transform .24s cubic-bezier(.2,.75,.25,1);
  outline: none;
}
.pmc-drawer.is-open { transform: translateX(0); }
.pmc-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #e9e3d5;
  background: #fffdf7;
}
.pmc-header__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #a77a29;
  font: 800 10px/1.2 "Inter", Arial, sans-serif;
  letter-spacing: .12em;
}
.pmc-header h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #173f2b;
  font: 800 23px/1.15 "Nunito Sans", Arial, sans-serif;
}
.pmc-header__count {
  display: inline-flex;
  min-width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #e9f0e5;
  color: #27583a;
  font: 800 12px/1 "Inter", sans-serif;
}
.pmc-icon-button {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dedbce;
  border-radius: 50%;
  background: #fff;
  color: #213e2b;
  cursor: pointer;
}
.pmc-icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pmc-items {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 20px 18px;
}
.pmc-item {
  display: grid;
  grid-template-columns: 94px minmax(0,1fr);
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid #ece7dc;
}
.pmc-item__image {
  display: grid;
  width: 94px;
  height: 112px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: #f5f3ed;
}
.pmc-item__image img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pmc-item__info { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.pmc-item__title {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: #203327;
  font: 800 14px/1.35 "Nunito Sans", Arial, sans-serif;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pmc-item__title:hover { color: #356442; }
.pmc-item__pack { margin-top: 3px; color: #687568; font: 600 11px/1.3 "Inter", sans-serif; }
.pmc-item__price { margin-top: 7px; color: #173f2b; font: 850 18px/1.15 "Inter", Arial, sans-serif; }
.pmc-item__unit-price { margin-top: 2px; color: #849084; font: 500 10px/1.3 "Inter", sans-serif; }
.pmc-item__controls { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 9px; }
.pmc-qty-button {
  display: grid;
  width: 28px;
  height: 27px;
  place-items: center;
  border: 1px solid #ddbd58;
  border-radius: 50%;
  background: #fff8df;
  color: #183d29;
  cursor: pointer;
  font: 800 17px/1 "Inter", sans-serif;
}
.pmc-qty-button:disabled { cursor: not-allowed; opacity: .4; }
.pmc-qty-value { min-width: 18px; color: #203327; text-align: center; font: 800 12px/1 "Inter", sans-serif; }
.pmc-remove-button { padding: 4px 3px; border: 0; background: transparent; color: #8b6b35; cursor: pointer; font: 700 10px/1 "Inter", sans-serif; }
.pmc-remove-button:hover { color: #a13b2c; text-decoration: underline; }
.pmc-footer { padding: 18px 22px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid #e9e3d5; background: #fffdf7; box-shadow: 0 -8px 25px rgb(36 49 34 / 4%); }
.pmc-subtotal { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #445348; font: 700 13px/1.3 "Nunito Sans", Arial, sans-serif; }
.pmc-subtotal strong { color: #173f2b; font: 850 22px/1 "Inter", sans-serif; }
.pmc-footer__note { margin: 7px 0 13px; color: #7e887d; font: 500 10px/1.4 "Inter", sans-serif; }
.pmc-view-cart {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #d6ae49;
  border-radius: 999px;
  background: #e8bd53;
  color: #193d29;
  font: 850 14px/1 "Nunito Sans", Arial, sans-serif;
  text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}
.pmc-view-cart:hover { background: #f0ca69; transform: translateY(-1px); }
.pmc-view-cart span { font-size: 18px; }
.pmc-continue { display: block; width: 100%; margin-top: 10px; padding: 6px; border: 0; background: transparent; color: #627266; cursor: pointer; font: 700 12px/1.3 "Inter", sans-serif; }
.pmc-empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 35px 15px; text-align: center; }
.pmc-empty__icon { display: grid; width: 62px; height: 62px; place-items: center; margin-bottom: 14px; border-radius: 50%; background: #f1f2e8; font-size: 27px; }
.pmc-empty strong { color: #173f2b; font: 850 18px/1.3 "Nunito Sans", Arial, sans-serif; }
.pmc-empty p { max-width: 240px; margin: 7px 0 17px; color: #6f7b70; font: 500 12px/1.5 "Inter", sans-serif; }
.pmc-empty a { color: #285b3b; font: 800 12px/1.3 "Inter", sans-serif; text-underline-offset: 3px; }

.pmc-mobile-toast { display: none; }
@media (max-width: 767px) {
  .pmc-backdrop, .pmc-drawer { display: none !important; }
  .pmc-mobile-toast:not([hidden]) {
    position: fixed;
    z-index: 1491;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #e5d49b;
    border-radius: 14px;
    background: #fffdf7;
    box-shadow: 0 10px 34px rgb(24 42 28 / 19%);
    animation: pmc-toast-in .2s ease-out both;
  }
  .pmc-mobile-toast__icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e8f0e4; color: #24603a; }
  .pmc-mobile-toast__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  .pmc-mobile-toast__copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
  .pmc-mobile-toast__copy strong { color: #173f2b; font: 850 12px/1.2 "Nunito Sans", Arial, sans-serif; }
  .pmc-mobile-toast__copy span { overflow: hidden; color: #707b70; font: 600 10px/1.3 "Inter", sans-serif; text-overflow: ellipsis; white-space: nowrap; }
  .pmc-mobile-toast__link { flex: 0 0 auto; padding: 9px 11px; border-radius: 999px; background: #173f2b; color: #fffdf7; font: 800 10px/1 "Inter", sans-serif; text-decoration: none; }
  .pmc-mobile-toast [data-pmc-mobile-close] { align-self: flex-start; padding: 0 0 0 2px; border: 0; background: transparent; color: #687568; cursor: pointer; font: 20px/1 Arial, sans-serif; }
}
@keyframes pmc-toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .pmc-backdrop, .pmc-drawer, .pmc-mobile-toast__link { transition: none; }
  .pmc-mobile-toast:not([hidden]) { animation: none; }
}
