.bf-page{max-width:792px;margin:32px auto 56px;padding:0 16px;color:#30392a;font:400 16px/1.55 Montserrat,sans-serif}.bf-page *{box-sizing:border-box}.bf-page [hidden]{display:none!important}.bf-sheet{background:linear-gradient(125deg,#fffefa,#fcfaf4);border:1px solid #e6e5db;border-radius:22px;padding:32px;box-shadow:0 6px 20px #3f4a2810}.bf-shop{font-size:24px;font-weight:750;border-bottom:1px solid #dddcd1;padding-bottom:20px;margin-bottom:24px}.bf-page h1{font-size:30px;line-height:1.2;margin:0 0 14px;font-weight:800;letter-spacing:-.7px}.bf-page h2{font-size:21px;line-height:1.3;margin:0 0 16px;font-weight:750}.bf-page p{margin:0 0 16px}.bf-intro{color:#5d6655}.bf-section{border-top:1px solid #dddcd1;padding-top:24px;margin-top:24px}.bf-field{display:block;font-size:14px;line-height:1.5;font-weight:600;margin:0 0 16px}.bf-page input:not([type=checkbox]):not([type=radio]):not([type=file]),.bf-page select{display:block;margin-top:6px;min-height:48px;width:100%;padding:11px 12px;border:1px solid #cfd2c4;border-radius:10px;background:#fffefa;color:#30392a;font:400 16px/1.4 Montserrat,sans-serif;box-shadow:none}.bf-page input:focus{outline:3px solid #b4cd8e55;border-color:#7e9e53}.bf-page input[aria-invalid=true]{border-color:#ad4639}.bf-page button,.bf-page .bf-primary,.bf-page .bf-secondary{font:650 15px/1.4 Montserrat,sans-serif;cursor:pointer;border-radius:10px;box-shadow:none;text-decoration:none;min-height:48px;padding:11px 16px;display:inline-flex;gap:8px;align-items:center;justify-content:center}.bf-page .bf-primary{background:linear-gradient(145deg,#e4f5bc,#c5e496);border:1px solid #b5d28d;color:#294219;box-shadow:inset 0 1px 0 #fff9,0 3px 7px #485e1712;font-weight:750}.bf-page .bf-secondary{background:#fffdf6;border:1px solid #aebd9b;color:#39502a}.bf-page button:disabled{opacity:.55;cursor:wait}.bf-page .bf-text{min-height:40px;border:0;background:none;padding:5px 0;color:#45652f;text-decoration:underline;text-underline-offset:3px;box-shadow:none;white-space:normal;font-size:14px}.bf-page .bf-full,.bf-consent button[type=submit]{width:100%}.bf-help{font-size:13px;color:#67715e;line-height:1.5}.bf-page .bf-under-field{margin-top:-12px;margin-bottom:18px}.bf-item-fields{display:grid;grid-template-columns:minmax(0,1fr) 105px auto;gap:12px;align-items:start}.bf-item-fields .bf-field{margin-bottom:8px}.bf-photo-button{position:relative;align-self:start;margin-top:27px;overflow:hidden}.bf-photo-button input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.bf-page svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.bf-item{margin-bottom:16px}.bf-photos,.bf-summary-photos{display:flex;gap:12px;flex-wrap:wrap}.bf-photos>div{position:relative;margin-top:8px}.bf-photos img,.bf-summary-photos img{width:80px;height:80px;object-fit:cover;border-radius:8px;border:1px solid #d9dfcd}.bf-page .bf-photo-remove{position:absolute;right:-8px;top:0;min-height:28px;width:28px;padding:0;border:1px solid #cdd4c2;background:#fff;font-size:22px}.bf-selected{display:flex;align-items:center;gap:12px;background:#edf3df;border:1px solid #d9e5c6;border-radius:10px;padding:12px;margin-bottom:16px;font-size:14px}.bf-selected strong,.bf-selected>span{flex:1;font-weight:600}.bf-selected .bf-text{min-height:28px;flex-shrink:0}.bf-options{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.bf-page .bf-choice{display:flex;align-items:center;justify-content:center;gap:6px;padding:11px 14px;min-height:48px;background:#fffefa;border:1px solid #d3d8c8;border-radius:9px;font-weight:650;font-size:14px;cursor:pointer}.bf-page .bf-choice.selected{background:#e5efcb;border-color:#a5bc7c}.bf-channel-options{display:grid;grid-template-columns:repeat(4,1fr)}.bf-choice input{accent-color:#6f8f43;width:16px;height:16px;margin:0}.bf-location-results:empty{display:none}.bf-location-results{margin-bottom:12px}.bf-page .bf-location{display:block;text-align:left;width:100%;border:1px solid #d8e1cc;background:#f6f9ef;margin:6px 0;white-space:normal}.bf-location:hover{border-color:#88a15f}.bf-check{display:flex;align-items:flex-start;gap:12px;font-size:13px;font-weight:400;margin-bottom:16px}.bf-page input[type=checkbox]{appearance:auto;width:20px;height:20px;flex-shrink:0;accent-color:#75934c;margin-top:4px}.bf-check .bf-text{display:inline;padding:0;min-height:0;font-size:13px}.bf-error{display:block;font-size:13px;font-weight:500;color:#a13a30}.bf-error:empty,.bf-form-error:empty{display:none}.bf-form-error{color:#a13a30;background:#fff0eb;padding:12px;margin:12px 0;border-radius:8px}.bf-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.bf-reference{font-size:14px;color:#6a735f}.bf-wait{display:flex;gap:22px;align-items:center;margin:24px 0}.bf-wait>svg{width:54px;height:54px;color:#526f36}.bf-wait p{margin:0;padding-left:22px;border-left:1px solid #a4b58e}.bf-notice{display:flex;align-items:center;gap:12px;justify-content:space-between;background:#edf3df;padding:16px;border-radius:10px;margin:24px 0;font-size:14px}.bf-summary dl{margin:0}.bf-summary dl>div{display:grid;grid-template-columns:140px 1fr;gap:20px;padding:14px 0;border-top:1px solid #e1e2d8}.bf-summary dt{font-weight:600;color:#576849}.bf-summary dd{margin:0;overflow-wrap:anywhere}.bf-product-summary{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;padding:16px 0}.bf-product-summary>span{white-space:nowrap}.bf-summary-photos{width:100%}.bf-total{margin:24px 0}.bf-total>div{display:flex;gap:24px;justify-content:space-between;padding:8px 0}.bf-total dd{margin:0;white-space:nowrap}.bf-total .bf-grand{font-size:24px;font-weight:800;border-top:1px solid #d8dbce;padding-top:16px;margin-top:12px}.bf-center{text-align:center;margin-top:8px!important}.bf-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.bf-another{border-top:1px solid #dddcd1;margin-top:24px;padding-top:24px;text-align:center}.bf-another a{color:#45652f;font-weight:650}.bf-track{overflow-wrap:anywhere}.bf-page :focus-visible{outline:3px solid #9bbd66;outline-offset:3px}.bn-settings{max-width:720px}.bn-settings label{display:block;margin:16px 0}.bn-settings input,.bn-settings select{min-height:48px}.bn-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ddd;padding:14px 0;gap:16px}.bn-log{font-size:13px}.bf-payment-link-editor{margin-top:16px}
@media(max-width:600px){.bf-page{margin:16px auto 32px}.bf-sheet{padding:24px 16px;border-radius:18px}.bf-shop{font-size:23px;margin-bottom:24px}.bf-page h1{font-size:27px}.bf-page h2{font-size:21px}.bf-item-fields{grid-template-columns:105px minmax(0,1fr);gap:8px 12px}.bf-item-fields>.bf-field:first-child{grid-column:1/-1}.bf-photo-button{margin-top:27px;font-size:13px!important;padding:11px!important}.bf-channel-options{grid-template-columns:repeat(2,1fr)}.bf-summary dl>div{grid-template-columns:1fr;gap:4px}.bf-notice{flex-wrap:wrap}.bf-notice strong{max-width:190px}.bf-wait{gap:12px}.bf-wait p{padding-left:12px}.bf-wait>svg{width:42px;height:42px}.bf-total .bf-grand{font-size:22px}.bf-actions{flex-direction:column}.bf-actions>*{width:100%}.bf-page .bf-selected{flex-wrap:wrap}.bf-selected strong,.bf-selected>span{min-width:130px}.bf-section{padding-top:22px;margin-top:22px}}

/* Parcel layout for the buyer form and private order page. */
.bf-page {
  --bf-ink: #2b361e;
  --bf-olive: #415324;
  --bf-line: #deded1;
  --bf-cream: #fdfbf5;
  color: var(--bf-ink);
}

.bf-form-page { max-width: 912px; }
.bf-order-page { max-width: 1080px; }
.bf-page .bf-sheet {
  overflow: hidden;
  padding: 0;
  background: var(--bf-cream);
  border-color: #dcdece;
}

.bf-page .bf-shop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px clamp(20px, 4vw, 40px);
  margin: 0;
  background: #f6f2e6;
  border-color: var(--bf-line);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.bf-shop svg { color: #647d34; width: 28px; height: 28px; }
.bf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.bf-order-page .bf-layout { grid-template-columns: minmax(0, 43%) minmax(0, 1fr); }
.bf-panel, .bf-content { min-width: 0; padding: clamp(22px, 3.2vw, 42px); }
.bf-panel {
  background: radial-gradient(ellipse at 70% 65%, #eaf1cb, transparent 73%),
    linear-gradient(145deg, #dce8b3, #eef2d6);
}

.bf-form-page .bf-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(105px, 26vw, 176px);
  align-items: center;
  gap: clamp(8px, 3vw, 36px);
  padding-block: 20px;
}
.bf-form-page .bf-content {
  width: 100%;
  max-width: 752px;
  margin-inline: auto;
}

.bf-form-page .bf-floating {
  position: relative;
  min-width: 0;
}
.bf-form-page .bf-floating > input:not([type=checkbox]):not([type=radio]):not([type=file]) {
  min-height: 56px;
  margin-top: 0;
  padding: 22px 13px 8px;
  border-radius: 12px;
}
.bf-floating > input::placeholder { opacity: 0; }
.bf-floating > input:focus::placeholder { opacity: 1; }
.bf-floating-label {
  position: absolute;
  top: 28px;
  left: 14px;
  right: 12px;
  transform: translateY(-50%);
  color: #53614b;
  pointer-events: none;
  font-size: 13px;
  line-height: 1.1;
  transition: top .16s ease, font-size .16s ease, color .16s ease;
}
.bf-floating > input:is(:focus, :not(:placeholder-shown)) + .bf-floating-label {
  top: 13px;
  font-size: 11px;
  color: #415324;
}
.bf-form-page .bf-item-fields .bf-photo-button {
  margin-top: 0;
  min-height: 56px;
}
.bf-form-page .bf-content .bf-under-field { margin-top: -8px; }
@media (prefers-reduced-motion: reduce) {
  .bf-floating-label { transition: none; }
}

.bf-panel-copy h1 {
  font-size: clamp(30px, 5.7vw, 45px);
  letter-spacing: -.045em;
  line-height: 1.12;
  margin-bottom: 10px;
}
.bf-panel-copy p { margin-bottom: 8px; }
.bf-panel-copy p:last-child { margin-bottom: 0; }
.bf-panel strong { font-weight: 750; }

.bf-parcel-art { position: relative; }
.bf-parcel-art img { display: block; position: relative; width: 100%; height: auto; }
.bf-page .bf-route {
  position: absolute;
  inset: 7% 0 0;
  width: 100%;
  height: 88%;
  color: #789047;
}

.bf-content .bf-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.bf-content .bf-section { border-color: var(--bf-line); }
.bf-content .bf-section h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(20px, 2.25vw, 26px);
  letter-spacing: -.025em;
}

.bf-recipient { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bf-recipient .bf-under-field { margin-bottom: 0; }
.bf-page .bf-channel-options { display: flex; }
.bf-page .bf-channel-options .bf-choice { gap: 10px; }
.bf-page .bf-channel-options input[type="radio"] {
  appearance: auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  flex: 0 0 18px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  box-shadow: none;
}
.bf-page .bf-channel-options input[type="radio"]:focus:not(:focus-visible) { outline: none; }
.bf-page .bf-channel-options input[type="radio"]:focus-visible {
  outline: 2px solid #647d34;
  outline-offset: 3px;
}
.bf-summary-actions { margin-top: 16px; }
.bf-page .bf-add-item {
  margin-bottom: 10px;
  background: #edf2dd;
  border: 1px solid #d5dfbc;
  color: var(--bf-olive);
}
.bf-page .bf-primary {
  background: linear-gradient(145deg, #50642e, #37471e);
  border-color: #3e5123;
  box-shadow: 0 3px 6px #35451c19;
  color: #fffdf4;
}
.bf-page .bf-primary:hover:not(:disabled) { background: #32421c; }
.bf-page .bf-add-item:hover, .bf-page .bf-secondary:hover { background: #e8efd5; }
.bf-page .bf-photo-button:focus-within { outline: 3px solid #9bbd66; outline-offset: 3px; }
.bf-consent .bf-full { margin-top: 10px; }
.bf-order-page .bf-panel h1 { font-size: clamp(30px, 3.2vw, 43px); letter-spacing: -.045em; }
.bf-order-page .bf-panel .bf-wait { align-items: flex-start; }
.bf-order-page .bf-panel .bf-wait p { padding-left: 14px; }
.bf-order-page .bf-total .bf-grand { border-color: #c6d2a8; }
.bf-order-page .bf-content > .bf-notice:first-child { margin-top: 0; }
.bf-tracking-actions { display: grid; gap: 12px; justify-items: start; }
.bf-page .bf-tracking-actions .bf-track { margin: 0; }
.bf-page #bf-sync { display: flex; gap: 10px; align-items: center; margin: 12px 0 0; }
dialog:has(#bf-tracking-options) { max-width: 490px; }
.bf-tracking-channel {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid #dbe2cc;
  border-radius: 10px;
  background: #f5f8ed;
}
.bf-tracking-channel p { margin: 2px 0 0; font-size: 14px; }
.bf-tracking-channel > .btn { grid-column: 2; justify-self: start; min-height: 44px; }
@media (max-width: 420px) {
  .bf-tracking-actions .bf-primary { width: 100%; }
}
#bn-telegram-preferences { margin-top: 14px; }
#bn-telegram-preferences h3 { font-size: 16px; margin: 0 0 8px; }
#bn-telegram-preferences .mg-form-actions { margin-top: 10px; }
.bn-sender-settings { margin-top: 12px; border-top: 1px solid #dce2d3; }
.bn-sender-settings > summary {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 8px;
 min-height: 44px;
 font-size: 14px;
 font-weight: 650;
 cursor: pointer;
}
.bn-sender-settings > summary::after { content: '⌄'; color: #58654c; }
.bn-sender-settings[open] > summary::after { transform: rotate(180deg); }
.bn-sender-settings > summary::-webkit-details-marker { display: none; }
.bn-sender-status { margin-left: auto; font-weight: 500; color: #58654c; }
.bf-order-page .bf-reference {
  display: inline-block;
  border: 1px solid #c7d4a8;
  background: #f7f9e9;
  padding: 5px 10px;
  border-radius: 7px;
  font-weight: 700;
  color: var(--bf-olive);
}

@media (max-width: 850px) {
  .bf-order-page .bf-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .bf-page { padding-inline: 12px; }
  .bf-page .bf-shop { padding: 14px 16px; }
  .bf-shop svg { width: 23px; height: 23px; }
  .bf-panel, .bf-content { padding: 22px 16px; }
  .bf-form-page .bf-panel {
    grid-template-columns: minmax(0, 1fr) minmax(100px, 32%);
    gap: 8px;
    padding: 20px 14px 20px 16px;
  }
  .bf-panel-copy h1 { font-size: clamp(25px, 7.8vw, 36px); }
  .bf-panel-copy p { font-size: 13px; }
  .bf-recipient { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bf-order-page .bf-panel h1 { font-size: clamp(28px, 8vw, 36px); }
  .bf-order-page .bf-panel .bf-wait { margin-bottom: 0; }
}

/* Pending review: the shop has not yet supplied the total or payment method. */
.bf-order-page .bf-pending { margin: 28px 0 0; }
.bf-pending-title { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.4; }
.bf-spinner { display: inline-block; width: 22px; height: 22px; flex: 0 0 22px; border: 2.5px solid #bbcca0; border-top-color: #4f6d34; border-radius: 50%; animation: bf-spin .85s linear infinite; }
.bf-spinner-small { width: 18px; height: 18px; flex-basis: 18px; border-width: 2px; }
.bf-pending-details { margin: 20px 0 0; }
.bf-pending-details > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid #c8d6b0; }
.bf-pending-details dt { font-weight: 600; }
.bf-pending-details dd { display: flex; margin: 0; }
.bf-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes bf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bf-spinner { animation: none; } }

/* Keep the two summary actions aligned and readable on narrow screens. */
.bf-order-page .bf-summary-actions { justify-content: flex-start; }
.bf-order-page .bf-summary-actions > button { min-width: 0; }
@media (max-width: 600px) { .bf-order-page .bf-summary-actions > button { width: 100%; } }

.bf-conversation, .buyer-contact-settings, .buyer-contact-settings fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.bf-conversation legend, .buyer-contact-settings > legend { font-size: 18px; font-weight: 750; }
.bf-conversation .bf-options { margin-block: 10px 6px; }
.bf-conversation [data-conversation-value]:not(:empty) { margin-block: 10px 4px; }
.bf-conversation .bf-check {
  align-items: center;
  min-height: 24px;
  cursor: pointer;
}
.bf-page .bf-conversation input[type="checkbox"] {
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  box-shadow: none;
}
.bf-page .bf-conversation input[type="checkbox"]:focus:not(:focus-visible) { outline: none; }
.bf-page .bf-conversation input[type="checkbox"]:focus-visible {
  outline: 2px solid #647d34;
  outline-offset: 2px;
}
.bf-conversation .bf-error:empty { margin: 0; }
.buyer-contact-settings { margin-block: 16px; }
.buyer-contact-settings > legend { margin-bottom: 8px; }
.buyer-contact-settings fieldset { margin-top: 12px; }
.buyer-contact-settings fieldset legend { margin-bottom: 6px; font-weight: 650; }
.buyer-contact-settings-options { display: flex; flex-wrap: wrap; gap: 6px 16px; }

.pl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 12px; }
.pl-top { margin-top: 0; }
.pl-save { display: grid; gap: 10px; }
.pl-owner-login { margin-inline-start: auto; text-align: end; }
.pl-summary div { display: grid; grid-template-columns: minmax(90px,.6fr) 1fr; gap: 8px; padding-block: 6px; }
.pl-summary dd { margin: 0; overflow-wrap: anywhere; }
.pl-drafts { display: grid; gap: 10px; padding: 0; list-style: none; }
.pl-drafts li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px; border: 1px solid #dae2cf; border-radius: 12px; background: #fffefa; }
.pl-drafts li div { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.pl-drafts small { display: block; margin-top: 4px; }
.pl-drafts-entry { margin-block: 6px; }

#dialog:has(.pl-share) { --dialog-width: 460px; }
.pl-share, .pl-share-list { display: grid; gap: 10px; }
.pl-share-list:empty { display: none; }
.pl-share > button { width: 100%; min-height: 46px; }
.pl-share-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; align-items: center; padding: 5px 5px 5px 12px; background: #fffefa; border: 1px solid var(--line); border-radius: 12px; }
.pl-share-row:has(> button:only-of-type) { grid-template-columns: minmax(0, 1fr) auto; }
.pl-share-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-share-row input { grid-column: 1 / -1; }
.pl-icon-button { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; }
.pl-icon-button svg { width: 20px; height: 20px; }
.pl-share > .pl-add-link { width: 46px; padding: 0; font-size: 24px; justify-self: center; }
