.quicknav .cart-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.cart-count { min-width: 22px; padding: 1px 5px; border-radius: 999px; background: var(--green); color: #fff; text-align: center; }
.cart-add {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  width: 100%;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: white;
  color: var(--green);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.cart-add:hover { background: #edf3ec; }
.cart-add--primary { width: auto; min-height: 48px; margin: 12px 12px 0 0; background: var(--green); color: white; }
.cart-add--primary:hover { background: var(--ink); }
.cart-notice {
  position: fixed;
  z-index: 35;
  inset: auto 20px 20px auto;
  max-width: min(360px, calc(100% - 40px));
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--green);
  color: white;
  box-shadow: 0 6px 24px rgb(24 55 46 / 18%);
}
.cart-notice a { display: block; color: white; text-decoration: underline; margin-top: 4px; }
.cart-page { padding-bottom: 48px; }
.cart-page h1 { margin-bottom: 20px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: 24px; align-items: start; }
.cart-items { margin: 0; padding-left: 0; list-style: none; }
.cart-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  padding: 18px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.cart-entry__name { display: block; color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.cart-entry__name:hover { text-decoration: underline; }
.cart-entry__meta { display: block; margin-top: 4px; color: #52665d; font-size: 13px; }
.cart-entry__controls { grid-column: 1 / 2; display: flex; align-items: center; gap: 14px; }
.cart-entry__sum { grid-column: 2; grid-row: 2; align-self: center; text-align: right; }
.cart-quantity { display: flex; gap: 7px; align-items: center; font-size: 13px; }
.cart-quantity input { width: 65px; height: 40px; padding: 0 6px; }
.cart-remove { border: 0; min-height: 44px; padding: 0 4px; background: none; color: #52665d; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.cart-total { margin: 18px 0 0; font-size: 17px; font-weight: 700; }
.cart-request { border: 1px solid var(--line); border-radius: 16px; background: white; padding: 22px; }
.cart-request h2 { margin: 0 0 15px; font-size: 22px; }
.cart-request fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.cart-request label { display: block; margin: 0 0 7px; font-weight: 650; }
.cart-request input[type="email"], .cart-quantity input { border: 1px solid #9caea2; border-radius: 8px; font: inherit; background: white; color: var(--ink); }
.cart-request input[type="email"] { min-height: 44px; width: 100%; padding: 8px 10px; margin-bottom: 18px; font-size: 16px; }
.cart-request input[type="file"] { display: block; width: 100%; min-height: 38px; font: inherit; color: var(--ink); font-size: 13px; }
.cart-request input[type="file"]::file-selector-button { margin-right: 8px; padding: 7px 9px; border: 1px solid #9caea2; border-radius: 7px; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.cart-file-hint, .cart-privacy { color: #52665d; font-size: 13px; margin: 5px 0 14px; }
.cart-privacy a { text-decoration: underline; }
.cart-submit { width: 100%; justify-content: center; }
.cart-submit:disabled { cursor: wait; opacity: .65; }
.cart-status { color: #963928; font-size: 14px; }
.cart-success { border: 1px solid #badfca; border-radius: 14px; background: #e9f6ed; padding: 16px 20px; }
.cart-success h2 { margin: 0 0 6px; font-size: 21px; }
.cart-success p { margin: 0; }
.cart-page [hidden], .cart-count[hidden], .cart-notice[hidden] { display: none; }
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 410px) {
  .cart-entry { padding: 14px; gap: 10px; }
  .cart-entry__controls { gap: 8px; }
  .cart-quantity input { width: 56px; font-size: 16px; }
  .cart-entry__sum { font-size: 13px; }
}
