/* NEF Cart and Checkout — matches the cream, farm-green, lime storefront. */
.nef-store-page { background:#f6f5f1; color:#26362e; min-height:65vh; }
.nef-store-heading { padding:56px 0 46px; color:var(--nef-green); background:#fff8e8; }
.nef-store-heading .nef-shop-kicker { font-size:11px; letter-spacing:.14em; text-transform:uppercase; font-weight:800; }
.nef-store-heading h1 { font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:clamp(38px,5vw,64px); line-height:1.08; margin:10px 0 12px; }
.nef-store-heading p { font-size:14px; color:#556b5b; margin:0; }
.nef-store-dot { color:var(--nef-lime); }
.nef-checkout-steps { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:22px; color:#647469; font-size:12px; }
.nef-checkout-steps strong { color:var(--nef-green); }
.nef-store-content { padding:44px 0 84px; }
.nef-store-content > .nef-container > .nef-notice { margin:0 0 25px; }
.nef-store-layout { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr); gap:24px; align-items:start; }
.nef-store-card { min-width:0; border:1px solid #e9e8dd; background:#fff; border-radius:15px; padding:27px; box-shadow:0 8px 30px rgba(18,61,42,.035); }
.nef-store-card__top { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px; padding:0 0 22px; }
.nef-store-card__top h2 { margin:0; color:var(--nef-green); font-family:Georgia,'Times New Roman',serif; font-size:26px; font-weight:400; }
.nef-store-card__top h2 span { font:500 13px 'Plus Jakarta Sans',sans-serif; color:#6e776f; }
.nef-store-card__top a { color:#3d6330; font-weight:700; font-size:12px; text-decoration:none; }
.nef-store-card__top a:hover { text-decoration:underline; }
.nef-cart-line { display:grid; grid-template-columns:100px minmax(0,1fr) 140px minmax(94px,max-content); gap:14px; align-items:center; padding:20px 0; border-top:1px solid #efefe9; }
.nef-cart-line__image { width:100px; height:96px; overflow:hidden; border-radius:9px; background:#fff8e8; display:grid; place-items:center; color:var(--nef-green); font-weight:700; text-decoration:none; }
.nef-cart-line__image img { width:100%; height:100%; object-fit:cover; }
.nef-cart-line__info h3 { font-size:16px; font-family:Georgia,'Times New Roman',serif; font-weight:500; margin:0 0 6px; }
.nef-cart-line__info h3 a { color:var(--nef-green); text-decoration:none; }
.nef-cart-line__info h3 a:hover { text-decoration:underline; }
.nef-cart-line__info p { color:#647469; font-size:11px; margin:0 0 6px; }
.nef-cart-line__unit { color:#687a6e; font-size:12px; }
.nef-cart-line__qty { color:#516357; font-size:11px; font-weight:700; }
.nef-cart-line__qty input { display:block; width:100%; margin-top:5px; min-height:42px; border:1px solid #d9e1d5; border-radius:9px; text-align:center; font-size:14px; color:var(--nef-green); }
.nef-cart-line__total { text-align:right; color:var(--nef-green); font-weight:800; font-size:13px; white-space:nowrap; }
.nef-remove-link { grid-column:2/5; justify-self:start; padding:0; margin-top:-11px; border:0; background:none; color:#8c3d34; font-size:11px; text-decoration:underline; }
.nef-remove-link:hover { color:#b43020; }
.nef-store-outline { border:1px solid #b6c5b2; background:#fff; border-radius:999px; padding:12px 23px; color:var(--nef-green); font-weight:700; font-size:12px; }
.nef-store-outline:hover { background:#f4f8eb; }
.nef-clear-cart-form { text-align:right; margin-top:-32px; min-height:32px; }
.nef-store-text-button { background:none; border:0; color:#8c3d34; text-decoration:underline; font-size:12px; }
.nef-order-summary { position:sticky; top:96px; background:#fff8e8; }
.nef-summary-row, .nef-summary-product { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding:14px 0; border-top:1px solid #e3e5d9; font-size:13px; }
.nef-summary-row strong,.nef-summary-product strong { color:var(--nef-green); white-space:nowrap; }
.nef-summary-row > span:last-child { text-align:right; color:#687769; }
.nef-summary-product > span { flex:1; }
.nef-summary-product small { color:#748174; }
.nef-summary-total { display:flex; justify-content:space-between; gap:10px; padding:21px 0; border-top:1px solid #b0c4a4; color:var(--nef-green); font-size:15px; font-weight:800; }
.nef-summary-total strong { white-space:nowrap; }
.nef-summary-note { margin:0 0 22px; font-size:11px; color:#687668; line-height:1.7; }
.nef-store-primary { display:flex; width:100%; text-align:center; justify-content:center; gap:12px; min-height:52px; font-size:13px; border-radius:10px; }
.nef-store-primary span { margin-left:auto; }
.nef-store-trust { margin:18px 0 0; color:#6c796b; font-size:10px; line-height:1.6; text-align:center; }
.nef-store-empty { text-align:center; background:#fff; border:1px solid #e9e8dd; padding:75px 24px; border-radius:15px; max-width:780px; margin:0 auto; }
.nef-store-empty__icon { font-size:46px; line-height:1.1; }
.nef-store-empty h2 { margin:17px 0 8px; font-family:Georgia,'Times New Roman',serif; color:var(--nef-green); font-size:clamp(28px,4vw,42px); font-weight:400; }
.nef-store-empty p { margin:0 auto 24px; max-width:510px; font-size:14px; line-height:1.7; color:#677669; }
.nef-checkout-left { display:grid; gap:24px; }
.nef-checkout-layout .nef-order-form__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
.nef-checkout-layout .nef-field { margin-bottom:20px; }
.nef-checkout-layout .nef-field--full { grid-column:1/-1; }
.nef-checkout-layout .nef-field label { display:block; font-size:12px; font-weight:700; margin-bottom:7px; color:var(--nef-green); }
.nef-checkout-layout .nef-field input,.nef-checkout-layout .nef-field textarea { display:block; box-sizing:border-box; width:100%; min-height:46px; padding:11px 13px; background:#fff; border:1px solid #cad3c8; border-radius:9px; color:var(--nef-green); font-size:13px; outline-offset:2px; }
.nef-checkout-layout .nef-field textarea { min-height:110px; resize:vertical; }
.nef-checkout-layout .nef-help { margin:7px 0 0; font-size:11px; color:#677669; }
.nef-checkout-intro { color:#536658; margin:0 0 20px; line-height:1.7; font-size:13px; }
.nef-checkout-layout .nef-bank-box { padding:20px; border:1px solid #d9e2d5; border-radius:12px; margin:0 0 26px; background:#f9fcf4; }
.nef-checkout-layout .nef-bank-box__title { font-size:11px; color:var(--nef-green); margin-bottom:14px; font-weight:800; letter-spacing:.05em; }
.nef-checkout-layout .nef-bank-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.nef-checkout-layout .nef-bank-grid small { display:block; color:#697768; font-size:10px; margin-bottom:5px; }
.nef-checkout-layout .nef-bank-grid strong { display:block; color:var(--nef-green); font-size:13px; overflow-wrap:anywhere; }
.nef-checkout-layout .nef-bank-box .nef-notice { font-size:12px; }
.nef-checkout-layout .nef-policy-agreement { font-size:12px; line-height:1.75; margin-top:15px; color:#405347; }
.nef-checkout-layout .nef-policy-agreement label { display:flex; align-items:flex-start; gap:10px; cursor:pointer; }
.nef-checkout-layout .nef-policy-agreement input { margin-top:5px; flex:0 0 auto; accent-color:#123D2A; }
.nef-checkout-layout .nef-policy-agreement a { color:var(--nef-green); text-decoration:underline; }
.nef-website-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.nef-summary-note--center { text-align:center; margin:15px 0 0; }
.nef-store-success-icon { display:grid; place-items:center; width:62px; height:62px; margin:0 auto; color:var(--nef-green); background:var(--nef-lime); border-radius:50%; font-weight:800; font-size:26px; }
@media(max-width:950px) { .nef-store-layout { grid-template-columns:1fr; } .nef-order-summary { position:static; } }
@media(max-width:600px) {
  .nef-store-heading { padding:40px 0 34px; } .nef-store-content { padding:30px 0 65px; }
  .nef-store-card { padding:18px; border-radius:12px; } .nef-store-card__top h2 { font-size:24px; }
  .nef-cart-line { grid-template-columns:74px minmax(0,1fr); gap:10px 12px; align-items:start; }
  .nef-cart-line__image { grid-column:1; grid-row:1 / 3; width:74px; height:74px; }
  .nef-cart-line__info { grid-column:2; grid-row:1; }
  .nef-cart-line__info h3 { font-size:14px; }
  .nef-cart-line__qty { grid-column:2; grid-row:2; width:140px; max-width:100%; }
  .nef-cart-line__total { grid-column:2; grid-row:3; text-align:left; white-space:nowrap; }
  .nef-remove-link { grid-column:2; grid-row:4; justify-self:start; margin-top:0; }
  .nef-checkout-layout .nef-order-form__grid,.nef-checkout-layout .nef-bank-grid { grid-template-columns:1fr; }
  .nef-checkout-steps { gap:7px; font-size:11px; } .nef-store-empty { padding:55px 18px; }
  .nef-clear-cart-form { margin-top:10px; text-align:left; }
}

/* Cart navigation and inline checkout validation. */
.nef-store-card__top .nef-continue-shopping { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:8px 18px; border:1px solid #123D2A; border-radius:999px; color:#123D2A; background:#fff; font-size:12px; font-weight:700; text-decoration:none; white-space:nowrap; transition:background .2s,color .2s; }
.nef-store-card__top .nef-continue-shopping:hover,.nef-store-card__top .nef-continue-shopping:focus-visible { background:#123D2A; color:#fff; text-decoration:none; }
.nef-checkout-layout .nef-field input[aria-invalid="true"] { border-color:#b42318; }
.nef-checkout-layout .nef-field-error { display:block; color:#b42318; font-size:11px; line-height:1.5; margin-top:7px; }
.nef-checkout-layout .nef-field-error[hidden] { display:none; }
@media(max-width:600px) { .nef-store-card__top .nef-continue-shopping { padding:9px 14px; } }


/* Local payment receipt preview (files are uploaded only after checkout submission). */
.nef-checkout-layout .nef-receipt-preview[hidden],
.nef-checkout-layout .nef-receipt-preview__media [hidden] { display:none; }
.nef-checkout-layout .nef-receipt-preview {
  display:flex; align-items:center; gap:15px; min-width:0; margin-top:14px;
  padding:13px; border:1px solid #cbdcc4; border-radius:12px;
  background:#f8fbf5;
}
.nef-checkout-layout .nef-receipt-preview__media {
  display:flex; justify-content:center; align-items:center; flex:0 0 106px;
  width:106px; height:106px; overflow:hidden; border-radius:9px;
  border:1px solid #e1e7dc; background:#fff;
}
.nef-checkout-layout .nef-receipt-preview__media img {
  display:block; width:100%; height:100%; object-fit:contain;
}
.nef-checkout-layout .nef-receipt-preview__pdf {
  font:700 17px 'Plus Jakarta Sans',sans-serif;
  letter-spacing:.04em; color:var(--nef-green);
}
.nef-checkout-layout .nef-receipt-preview__details { flex:1; min-width:0; }
.nef-checkout-layout .nef-receipt-preview__filename {
  margin:0 0 5px; color:var(--nef-green); font-size:13px;
  line-height:1.45; font-weight:600; overflow-wrap:anywhere;
}
.nef-checkout-layout .nef-receipt-preview__status {
  margin:0 0 8px; color:#55725e; font-size:11px; line-height:1.5;
}
.nef-checkout-layout .nef-receipt-preview__change {
  min-height:40px; padding:8px 14px; color:var(--nef-green); background:#fff;
  border:1px solid #a9c09f; border-radius:9px; cursor:pointer;
  font:600 12px 'Plus Jakarta Sans',sans-serif;
}
.nef-checkout-layout .nef-receipt-preview__change:hover,
.nef-checkout-layout .nef-receipt-preview__change:focus-visible {
  background:#eaf3e6; border-color:var(--nef-green);
}
.nef-checkout-layout .nef-receipt-feedback {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
@media(max-width:600px) {
  .nef-checkout-layout .nef-receipt-preview { gap:12px; padding:10px; }
  .nef-checkout-layout .nef-receipt-preview__media { flex-basis:84px; width:84px; height:84px; }
}

/* v1.5.19 — consistent buttons on the empty cart and Thank You screen. */
.nef-store-empty .nef-empty-cart-browse {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:'Plus Jakarta Sans',Arial,sans-serif;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
  text-align:center;
}
/* Thank You page — reuses the same NEF buttons, type and color system. */
.nef-checkout-success { max-width:780px; padding:52px 32px; }
.nef-checkout-success .nef-checkout-success__order { margin-bottom:12px; color:var(--nef-green); font-weight:600; }
.nef-checkout-success__status {
  display:inline-block; padding:7px 13px; margin:0 0 16px;
  border-radius:999px; background:#eaf3dd; color:#123D2A;
  font:600 11px/1.5 'Plus Jakarta Sans',Arial,sans-serif;
}
.nef-checkout-success .nef-checkout-success__intro { max-width:580px; margin:0 auto 24px; }
.nef-checkout-success__summary {
  max-width:590px; margin:0 auto 26px; padding:22px 24px;
  border:1px solid #e4e8dd; border-radius:14px;
  background:#fffefb; text-align:left;
}
.nef-checkout-success__summary h3 {
  margin:0 0 15px; color:var(--nef-green);
  font:400 23px/1.25 Georgia,'Times New Roman',serif;
}
.nef-checkout-success__items { margin:0; padding:0; list-style:none; }
.nef-checkout-success__items li,
.nef-checkout-success__total-row {
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:12px; padding:11px 0;
  border-top:1px solid #e3e8df;
  font:500 12px/1.6 'Plus Jakarta Sans',Arial,sans-serif;
}
.nef-checkout-success__items li strong,
.nef-checkout-success__total-row span:last-child { color:var(--nef-green); white-space:nowrap; }
.nef-checkout-success__item-name { min-width:0; overflow-wrap:anywhere; }
.nef-checkout-success__item-qty { color:#647469; }
.nef-checkout-success__total-row--grand { color:var(--nef-green); font-size:15px; }
.nef-checkout-success__actions {
  display:flex; flex-wrap:wrap; align-items:center;
  justify-content:center; gap:12px;
}
.nef-checkout-success__actions .nef-btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:48px; padding:11px 22px;
  font:700 12px/1.4 'Plus Jakarta Sans',Arial,sans-serif;
  text-align:center;
}
@media(max-width:600px) {
  .nef-checkout-success { padding:42px 18px; }
  .nef-checkout-success__summary { padding:18px 15px; }
  .nef-checkout-success__actions { flex-direction:column; align-items:stretch; }
  .nef-checkout-success__actions .nef-btn { width:100%; box-sizing:border-box; }
}
/* One responsive, content-width Cart notice shared by redirect and AJAX actions. */
.nef-store-content > .nef-container > .nef-cart-notice {
  display:flex;
  align-items:center;
  gap:12px;
  box-sizing:border-box;
  width:fit-content;
  max-width:100%;
  margin:0 0 20px;
  font:500 13px/1.5 'Plus Jakarta Sans',Arial,sans-serif;
  overflow-wrap:anywhere;
  transition:opacity .2s ease,transform .2s ease;
}
.nef-cart-notice[hidden] { display:none !important; }
.nef-cart-notice--leaving { opacity:0; transform:translateY(-5px); }
.nef-cart-notice__text { flex:1 1 auto; min-width:0; }
.nef-cart-notice__dismiss {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:inherit;
  font:500 22px/1 Arial,sans-serif;
  cursor:pointer;
}
.nef-cart-notice__dismiss:hover { background:rgba(18,61,42,.09); }
.nef-cart-notice__dismiss:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
@media(prefers-reduced-motion:reduce) {
  .nef-cart-notice { transition:none; }
}
