/* The purchase journey — cart, checkout, confirmation — as the product system.

   The shopper has chosen the products; these pages speak about the ORDER.
   One object carries its state through the journey, the sum: WooCommerce's
   total in the PDP's price type, the shipping state in the drawer's words
   (its route to free shipping) and the amber "LABEL | total" button.
   It opens the cart (the answer first, the lines that prove it after), heads
   the checkout's summary, stands above the order button as what the button
   commits to, and becomes the confirmation's facts under the order's stamp.

   The system's rules, kept (docs/pdp-counter, the Pult study): Titan One for
   what the page is and for money, Rubik for everything read and typed; amber
   is the buying path's one forward action and nothing else is amber-filled;
   the option row (2 px cocoa frame and a 3 px lift when chosen) for every
   choice; the drawer's line and tile for a product; green is success and
   coral is an error; motion answers an action once and never loops.

   Unlayered on purpose, like pdp.css: the retired theme's base styles live in
   @layer, so plain rules here win without specificity games. WooCommerce's
   markup is styled by its own classes; nothing here moves money or state. */

.pf, .pf-bar {
  --canvas: #F4EBDB; --panel: #FFFCF6; --shelf: #EADEC5; --field: #FFFDF8;
  --cocoa: #2E1C15; --cocoa-2: #3E2A21; --soft: rgba(46, 28, 21, .72); --line: rgba(46, 28, 21, .16); --line-2: rgba(46, 28, 21, .3);
  --amber: #FFD23F; --amber-hi: #FFC400; --coral-ink: #B83A11; --err-bg: #FBE3D8;
  --green: #16764F; --green-ink: #0F5A3B; --green-deep: #16764F; --cocoa-soft: rgba(46, 28, 21, .72);
  --display: 'Titan One', system-ui, sans-serif; --body: 'Rubik', system-ui, -apple-system, sans-serif;
  --gut: clamp(16px, 2.6vw, 40px); --shell: 1440px; --head: var(--ps-header-h, 90px);
  --edge: 2px solid var(--cocoa); --lift: 0 4px 0 var(--cocoa);
  --out: cubic-bezier(.23, 1, .32, 1); --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.45, .5, 1);
  --card-shadow: 0 1px 0 rgba(46, 28, 21, .05), 0 30px 50px -36px rgba(46, 28, 21, .45);
  --focus: var(--cocoa);
  font: 400 16px/1.5 var(--body); color: var(--cocoa);
}
html:has(body.pf-page), body.pf-page { background: #F4EBDB; }
body.pf-page .rtv-main { max-width: none; padding: 0; margin: 0; }
.pf { max-width: var(--shell); margin: 0 auto; padding: 22px var(--gut) 96px; }
.pf *, .pf *::before, .pf *::after { box-sizing: border-box; }
.pf :where(h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, address) { margin: 0; }
.pf :where(ul, ol) { padding: 0; list-style: none; }
.pf :where(h1, h2, h3) { font-weight: inherit; color: inherit; }
.pf :where(a) { color: inherit; text-underline-offset: 3px; }
.pf :where(button, input, textarea, select) { font: inherit; color: inherit; }
.pf img { display: block; max-width: 100%; height: auto; }
.pf :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.pf .i { width: 20px; height: 20px; flex: none; fill: currentColor; }
.pf .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pf .woocommerce-Price-amount, .pf .amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf abbr.required, .pf span.required { display: none; }
.pf table { width: 100%; border-collapse: collapse; }
.pf th { font-weight: inherit; text-align: left; }

/* ── the card, the title, the section heading ───────────────────────────── */
/* where the shopper is: the current step in ink, the way back a link, the way ahead quiet */
.pf-steps { margin: 0 0 14px; font-size: 14px; line-height: 1.3; }
.pf--cart .pf-steps { max-width: 1120px; margin-inline: auto; }
.pf--done .pf-steps { margin: 0; }
.pf-steps ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.pf-steps li { display: flex; align-items: center; color: var(--soft); }
.pf-steps li + li::before { content: "→" / ""; margin: 0 10px; color: var(--soft); }
.pf-steps .is-now { color: var(--cocoa); font-weight: 600; }
.pf-steps a { display: inline-flex; align-items: center; min-height: 24px; color: var(--cocoa); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.pf-card { border-radius: 32px; background: var(--panel); box-shadow: var(--card-shadow); padding: clamp(18px, 2.4vw, 36px) clamp(16px, 3vw, 44px); }
.pf-title { font: 400 clamp(34px, 3.5vw, 54px)/.94 var(--display); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.pf-title-n { display: inline-block; font: 500 16px/1.2 var(--body); text-transform: none; letter-spacing: 0; color: var(--soft); vertical-align: middle; }
.pf-sec-h, .pf--checkout .woocommerce-billing-fields > h3 { font: 600 19px/1.3 var(--body); }

/* ── the drawer's line tile: the chosen pack on its family colour ───────── */
.pf-thumb { position: relative; display: grid; place-items: center; flex: none; width: 88px; height: 88px; overflow: hidden; border-radius: 20px; border: var(--edge); background: var(--acc, var(--shelf)); }
.pf-thumb img { width: 84%; height: 88%; object-fit: contain; }
/* A packshot photographed on white: the white is multiplied away into the tile. */
.pf-thumb.is-photo img { mix-blend-mode: multiply; }
.pf-thumb.is-cut img { filter: drop-shadow(0 4px 5px rgba(46, 28, 21, .22)); }

/* ── buttons ─────────────────────────────────────────────────────────────── */
/* The buying path's forward action: the PDP's "KOSÁRBA | 38 000 Ft" object.
   "TOVÁBB A PÉNZTÁRHOZ | total", "FIZETÉSI KÖTELEZETTSÉGGEL JÁRÓ MEGRENDELÉS | total",
   "FIZETÉS ÚJRA | total". */
.pf .pf-go, .pf-bar .pf-go, .pf .pf-cta {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 64px; padding: 0 24px;
  border: var(--edge); border-radius: 999px; background: var(--amber); color: var(--cocoa); box-shadow: var(--lift);
  font: 400 19px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 140ms var(--out), box-shadow 140ms var(--out), background-color 200ms linear;
}
.pf-go-p, .pf .pf-cta[data-price]::after { padding-left: 14px; border-left: 2px solid currentColor; font: 400 18px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.pf .pf-cta[data-price]::after { content: attr(data-price); }
.pf-go-p .woocommerce-Price-amount { font: inherit; }
@media (hover: hover) { .pf .pf-go:hover, .pf-bar .pf-go:hover, .pf .pf-cta:hover { background: var(--amber-hi); transform: translateY(-2px); box-shadow: 0 6px 0 var(--cocoa); } }
.pf .pf-go:active, .pf-bar .pf-go:active, .pf .pf-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cocoa); }
.pf-bar .pf-go.is-mini { width: auto; min-height: 50px; padding: 0 22px; font-size: 16px; box-shadow: 0 3px 0 var(--cocoa); }
/* everything else: a cocoa pill (keep shopping, confirm an email) or an outline */
.pf-btn, .pf .return-to-shop .button, .pf .woocommerce-verify-email .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0; background: var(--cocoa); color: var(--panel); font: 600 16.5px/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s linear;
}
.pf-btn:hover, .pf .return-to-shop .button:hover, .pf .woocommerce-verify-email .button:hover { background: var(--cocoa-2); }
.pf-btn.is-ghost { background: transparent; color: var(--cocoa); box-shadow: inset 0 0 0 2px var(--cocoa); }
.pf-btn:focus-visible, .pf .pf-go:focus-visible, .pf .pf-cta:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 4px; }

/* ── the notices WooCommerce prints (cart updates, coupons, checkout errors) ── */
.pf .woocommerce-notices-wrapper:empty { display: none; }
.pf :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 16px; padding: 12px 18px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; list-style: none; }
.pf .woocommerce-message::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.pf .woocommerce-error { display: block; background: var(--err-bg); color: var(--coral-ink); box-shadow: inset 0 0 0 2px var(--coral-ink); }
.pf .woocommerce-error li { font-weight: 500; }
.pf .woocommerce-error li + li { margin-top: 2px; }
.pf .woocommerce-error a { display: inline-block; padding: 3px 0; font-weight: 600; }
.pf :is(.woocommerce-message, .woocommerce-info) a:not(.button) { font-weight: 600; }
/* A notice's own button ("Kosár") points at the page the shopper is on. */
.pf--cart .woocommerce-message .button { display: none; }
.pf :is(.woocommerce-message, .woocommerce-info) .button { order: 2; margin-left: auto; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--cocoa); background: var(--panel); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; text-decoration: none; }
.pf .woocommerce-NoticeGroup { grid-column: 1 / -1; }
/* WooCommerce moves focus onto a notice so it is announced; it is not a control. */
.pf :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-NoticeGroup):focus { outline: 2px solid var(--cocoa); outline-offset: 2px; }
.pf--cart .woocommerce-notices-wrapper { max-width: 1120px; margin-inline: auto; }

/* ── the cart: the answer first ─────────────────────────────────────────── */
.pf-card--cart { max-width: 1120px; margin-inline: auto; }
/* The sum is WooCommerce's `.cart_totals`. Left: the title, then the one
   decision (the route to free shipping and the delivery choice). Right, as
   one group: what is paid — the total, the rows it is made of — and the way
   on, so the amount and the button are read together. */
.pf-sum--cart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); grid-template-rows: auto 1fr; grid-template-areas: "head pay" "ship pay"; column-gap: clamp(28px, 4.5vw, 64px); padding-bottom: clamp(22px, 2.6vw, 32px); border-bottom: var(--edge); }
.pf-sum--cart > * { grid-column: 1; min-width: 0; }
.pf-sum--cart > .pf-sum-head { grid-area: head; }
.pf-sum--cart > .pf-delivery { grid-area: ship; align-self: start; }
.pf-sum--cart > .pf-sum-pay { grid-area: pay; align-self: start; display: grid; padding: 22px 22px 20px; border-radius: 24px; background: var(--canvas); container-type: inline-size; }
.pf-sum-pay > * { min-width: 0; }
/* where the button would not hold its word and the amount on one line, the amount is the total just above it */
@container (max-width: 425px) { .pf-sum-pay .pf-go .pf-go-p { display: none; } }
.pf-sum--cart .pf-title { font-size: clamp(26px, 2.2vw, 32px); }
.pf-sum-pay > .pf-sum-rows { margin-top: 14px; }
.pf-sum-pay > .wc-proceed-to-checkout { margin-top: 18px; }
.pf-due-k { font-size: 15px; font-weight: 600; color: var(--soft); }
.pf-due-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pf-due-v strong { font: 400 clamp(44px, 4vw, 58px)/.95 var(--display); letter-spacing: -.005em; }
.pf-due-v strong .woocommerce-Price-amount { font: inherit; }
.pf-due-v .includes_tax { font-size: 13.5px; color: var(--soft); }
.pf-due-v .includes_tax .amount { font-weight: 500; }

/* ── delivery: how the order arrives — WooCommerce's rates as the choice ── */
/* The option row of the system (the payment rows' and the PDP's purchase
   modes'): a white row, 2 px cocoa frame and a 3 px lift when chosen, the
   radio visible so the choice never rests on colour. Each option carries its
   own price (WooCommerce's rate, or Woo Pont's cheapest network while no point
   is chosen) and, when chosen, its own answer (the point). The route to free
   shipping heads the block: the threshold frees every delivery offered. */
.pf-delivery { min-width: 0; margin: 20px 0 0; padding: 0; border: 0; }
.pf-delivery-h { float: left; width: 100%; margin-bottom: 10px; padding: 0; }
.pf-delivery-h + * { clear: both; }
.pf-opts { display: grid; gap: 8px; }
.pf-opt { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 160ms linear; }
.pf-opt.is-on, .pf-opt:has(> .pf-opt-r:checked) { box-shadow: inset 0 0 0 2px var(--cocoa), 0 3px 0 var(--cocoa); }
.pf-delivery[data-one] .pf-opt { grid-template-columns: minmax(0, 1fr); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.pf-opt-r { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--cocoa); cursor: pointer; }
.pf-opt-r:focus-visible { outline: none; }
.pf-opt:has(> .pf-opt-r:focus-visible) { outline: 3px solid var(--cocoa); outline-offset: 3px; }
.pf-opt > :not(input) { grid-column: -2; min-width: 0; }
/* the name and the price share a line while both fit whole; a narrow option moves the price under it, never breaks the word */
.pf-opt-l { display: flex; flex-wrap: wrap; column-gap: 12px; align-items: baseline; cursor: pointer; }
.pf-opt-p { margin-left: auto; }
.pf-delivery[data-one] .pf-opt-l { cursor: default; }
/* the whole row is the radio's label, as on the payment rows */
.pf-opt:has(> .pf-opt-r) .pf-opt-l::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.pf-opt-t { flex: 1 1 auto; overflow-wrap: normal; font-size: 16.5px; font-weight: 600; }
.pf-opt-p { font: 400 19px/1 var(--display); white-space: nowrap; }
.pf-opt-p .woocommerce-Price-amount { font: inherit; }
.pf-opt-p.is-free { color: var(--green-ink); }
.pf-opt-s { flex-basis: 100%; margin-top: 3px; font-size: 14px; color: var(--soft); }
.pf-route { max-width: 560px; margin: 0 0 14px; }
/* The meter's "no longer free" line: printed hidden, shown by purchase.js only
   when the last render was free (shell.css sets every .rv-ship__line flex). */
.rv-ship__lost[hidden] { display: none; }
.rv-ship__lost { grid-column: 1 / -1; color: var(--alert, #a3321c); font-weight: 600; }
.pf-due-plus { margin-top: 6px; font-size: 14.5px; color: var(--soft); }
.pf-delivery-none { font-size: 15px; color: var(--soft); }

/* the point: Woo Pont's chosen point under the pickup option, in the carrier's own data */
/* The chosen point is the option's answer, not a second card: its network
   with the way to change it on one line, then the name (two lines at most; the
   plugin's map holds the full title), the address, today's hours and where to
   find it. Before a point exists the only content is the button. */
.pf .pf-point { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; margin: 6px 0 0; padding: 0; border: 0; border-radius: 0; background: none; position: relative; z-index: 1; }
.pf .pf-point > * { grid-column: 1 / -1; margin-left: 0; }
.pf-point-go { justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 6px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--cocoa); color: var(--panel); font: 600 16px/1.1 var(--body); cursor: pointer; }
.pf-point-go:hover { background: var(--cocoa-2); }
.pf .pf-point > .pf-point-k { grid-column: 1; font-size: 14px; font-weight: 500; color: var(--soft); }
.pf .pf-point > .pf-point-change { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; min-height: 44px; margin: -6px -6px -6px 0; padding: 0 6px; border: 0; background: none; color: var(--cocoa); font: 600 15px/1.2 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pf-point-change:hover { text-decoration-thickness: 2px; }
.pf-point-n { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 2px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.pf-point-a { font-size: 15px; line-height: 1.4; }
.pf-point-h { margin-top: 2px; font-size: 14.5px; font-weight: 500; }
.pf-point-w { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--soft); }
.pf-point-c { margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--coral-ink); }
@media (max-width: 359px) { .pf .pf-point > .pf-point-change { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin: 2px 0 -6px -6px; } }
/* the summary's shipping row: the choice's result in one line */
.pf .pf-ship-row td { text-align: right; }
.pf .pf-ship-row-t { display: block; font-weight: 500; }
.pf .pf-ship-row-p { font-weight: 600; }
.pf .pf-sum-rows .pf-ship-row-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* the cart's options, just above, name it */
.pf .pf-ship-row.is-pending .pf-ship-row-p { font-weight: 500; color: var(--soft); }
.pf-commit-miss { color: var(--coral-ink); }
.pf-commit-plus { font: 500 14px/1.2 var(--body); color: var(--soft); }

/* Woo Pont's map: the plugin's own layer (Leaflet, its search and list), in
   the store's type and colours; opened, closed and filled by the plugin. */
body .vp-woo-pont-modal { font-family: 'Rubik', system-ui, sans-serif; color: #2E1C15; z-index: 100000; }
body .vp-woo-pont-modal-bg { z-index: 99999; background: rgba(46, 28, 21, .55); }
body .vp-woo-pont-modal-sidebar-search-field { font-size: 16px !important; }
/* A result row: the name (two lines at most) and the address read first; the
   price and the action share the last line. The action is on every row (the
   rows themselves take no focus) but solid only on the row in focus, so a
   list of points is not a column of identical black buttons. The plugin's
   phone rule (only the chosen row, unless the search is open) is restated
   because the row is a grid here. */
body .vp-woo-pont-modal .vp-woo-pont-modal-sidebar-result { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 12px 10px; }
@media only screen and (max-width: 760px) { body .vp-woo-pont-modal:not(.search-focused) .vp-woo-pont-modal-sidebar-result:not(.selected) { display: none; } }
body .vp-woo-pont-modal-sidebar-result :is(.vp-woo-pont-modal-sidebar-result-info, .vp-woo-pont-modal-sidebar-result-info-text) { display: contents; }
body .vp-woo-pont-modal-sidebar-result-info-icon { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin: 2px 0 0 !important; }
body .vp-woo-pont-modal-sidebar-result :is(.name, .addr) { grid-column: 2 / -1; }
body .vp-woo-pont-modal-sidebar-result .name { grid-row: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-weight: 600; line-height: 1.3; }
body .vp-woo-pont-modal-sidebar-result .addr { grid-row: 2; font-size: 14px; line-height: 1.4; }
body .vp-woo-pont-modal-sidebar-result .cost { grid-column: 2; grid-row: 3; font-weight: 600; line-height: 1.4; }
body .vp-woo-pont-modal-sidebar-result > :not(.vp-woo-pont-modal-sidebar-result-info, .vp-woo-pont-modal-sidebar-result-select) { grid-column: 2 / -1; }
body .vp-woo-pont-modal-sidebar-result-select { grid-column: 3; grid-row: 3; display: inline-flex !important; align-items: center; min-height: 44px; margin: 6px 0 0 !important; padding: 0 16px !important; border-radius: 999px !important; background: transparent !important; box-shadow: inset 0 0 0 1.5px #2E1C15; color: #2E1C15 !important; font-size: 15px !important; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
body .vp-woo-pont-modal-sidebar-result.selected .vp-woo-pont-modal-sidebar-result-select, body .vp-woo-pont-modal-sidebar-result-select:hover { background: #2E1C15 !important; color: #FFFCF6 !important; }
body .vp-woo-pont-modal-map-close { width: 48px !important; height: 48px !important; }
body .vp-woo-pont-modal :focus-visible { outline: 3px solid #2E1C15; outline-offset: 2px; }
/* The plugin's own colour settings (its customizer's custom properties), set
   to the store's: its default grey text and green prices fail 4.5:1. */
body .vp-woo-pont-modal { --vp-woo-pont-primary-color: #2E1C15; --vp-woo-pont-text-color: #5B4A42; --vp-woo-pont-price-color: #0F5A3B; }
/* the checkout's footer: the policies and the help in one row (inc/purchase.php rtv_pf_tail()) */
.foot--checkout .foot-in { padding: 22px var(--gut) 26px; }
.foot-min { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.foot-min a { display: inline-flex; align-items: center; min-height: 44px; color: var(--panel); font-weight: 500; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 252, 246, .45); }
.foot-min a:hover { text-decoration-color: currentColor; }
.foot-min li:first-child a { font-weight: 600; }
.foot-min-legal { margin-top: 10px; font-size: 13px; line-height: 1.5; color: rgba(255, 252, 246, .72); }
@keyframes pf-stamp { from { opacity: 0; scale: 1.8; rotate: -40deg; } }

/* the rows the total is made of: small, under the total, never louder than it */
.pf .pf-sum-rows { max-width: 520px; }
.pf .pf-sum-rows :is(th, td) { padding: 5px 0; font-size: 15px; vertical-align: top; }
.pf .pf-sum-rows th { color: var(--soft); }
.pf .pf-sum-rows td { text-align: right; font-weight: 500; }
.pf .pf-sum-rows .pf-recurring td { text-align: left; font-weight: 400; line-height: 1.45; } /* a later delivery, said as a sentence (R2-COPY-1) */
.pf .pf-sum-rows tr + tr > * { border-top: 1px solid var(--line); }
.pf .woocommerce-shipping-methods { display: grid; gap: 6px; justify-items: end; }
.pf .woocommerce-shipping-methods li { display: flex; align-items: center; gap: 8px; }
.pf .woocommerce-shipping-methods input[type="radio"] { width: 24px; height: 24px; margin: 0; accent-color: var(--cocoa); }
.pf :is(.woocommerce-shipping-destination, .woocommerce-shipping-contents) { margin-top: 4px; font-size: 13px; color: var(--soft); }
/* One shipping zone, one country: the cart's destination line and calculator
   change nothing the shopper can act on; the checkout asks for the address. */
.pf--cart :is(.woocommerce-shipping-destination, .woocommerce-shipping-calculator) { display: none; }
.pf .shipping-calculator-form { display: grid; gap: 8px; margin-top: 10px; text-align: left; }
.pf .cart-discount :is(td, th) { color: var(--green); font-weight: 500; }
.pf .woocommerce-remove-coupon { margin-left: 6px; font-size: 13px; color: var(--soft); }

/* the way on, then — when Stripe shows it — the express path, quieter */
.pf .wc-proceed-to-checkout { display: grid; gap: 0; padding: 0; margin: 0; }
.pf-pay-line { margin-top: 12px; font-size: 14px; color: var(--soft); text-align: center; text-wrap: balance; }
.pf-pay-line span { font-weight: 600; color: var(--cocoa); }
/* Stripe's Express Checkout element (woocommerce-gateway-stripe): its wallet
   buttons are Stripe's own and keep their own look; the theme only places
   them, under the store's own button, and says what they are. Stripe shows
   the element (clearing its inline display:none) only when a wallet is
   available on this device, so every rule here is inert until it does. */
.pf #wc-stripe-express-checkout-element { margin: 0 !important; }
.pf #wc-stripe-express-checkout-element::before { content: "vagy gyorsfizetéssel"; display: block; margin: 16px 0 8px; font-size: 13.5px; font-weight: 500; color: var(--soft); text-align: center; }
.pf--checkout #wc-stripe-express-checkout-element::before { content: "Gyorsfizetés"; margin: 8px 0; font: 600 19px/1.3 var(--body); color: var(--cocoa); text-align: left; }
.pf .pf-express-note, .pf .pf-express-or { display: none; }
.pf:has(#wc-stripe-express-checkout-element:not([style*="none"])) :is(.pf-express-note, .pf-express-or) { display: block; }
.pf .pf-express-note { margin-top: 8px; font-size: 13px; color: var(--soft); text-align: center; }
.pf .pf-express-note a { font-weight: 600; color: var(--cocoa); }

/* the lines: the drawer's line, at the size of the page */
.pf-lines { margin: 0; }
.pf-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto minmax(118px, auto); grid-template-areas: "th t q p"; align-items: center; column-gap: 22px; padding: 18px 0; border-bottom: 1.5px solid var(--line); }
.pf-line > .pf-thumb { grid-area: th; }
.pf-line-t { grid-area: t; min-width: 0; }
.pf-line-qty { grid-area: q; }
.pf-line-p { grid-area: p; }
.pf-line-name { font-size: 18px; font-weight: 600; line-height: 1.25; }
.pf-line-name a { text-decoration: none; }
.pf-line-name a:hover { text-decoration: underline; }
/* The choice is what a shopper checks here: it reads at full strength. */
.pf-line-choice { margin-top: 3px; font-size: 15.5px; font-weight: 500; }
.pf-line-unit, .pf .pf-line-t dl.variation { margin-top: 2px; font-size: 14.5px; color: var(--soft); }
.pf .pf-line-t dl.variation :is(dt, dd, p) { display: inline; margin: 0; }
.pf .backorder_notification { margin-top: 6px; font-size: 14px; font-weight: 500; }
.pf-line-p { text-align: right; font: 400 22px/1 var(--display); }
.pf-line-p .woocommerce-Price-amount { font: inherit; }
.pf-line-rm .remove { display: inline-flex; align-items: center; min-height: 32px; margin-top: 2px; font-size: 14px; color: var(--soft); text-decoration: underline; }
.pf-line-rm .remove:hover { color: var(--cocoa); }

/* the stepper: the drawer's pill */
.pf .rtv-qty-group { display: inline-flex; }
.pf .rtv-qty { display: inline-flex; align-items: center; height: 48px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; }
.pf .rtv-qty__step { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--cocoa); cursor: pointer; }
.pf .rtv-qty__step:hover:not([aria-disabled="true"]) { background: var(--canvas); }
.pf .rtv-qty__step[aria-disabled="true"] { opacity: .35; cursor: default; }
.pf .rtv-qty__input { width: 40px; height: 44px; padding: 0; border: 0; background: none; text-align: center; font-weight: 600; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.pf .rtv-qty__input::-webkit-inner-spin-button, .pf .rtv-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pf .rtv-qty__input:focus-visible { outline: 2px solid var(--cocoa); outline-offset: -2px; border-radius: 10px; }
.pf .rtv-mark { display: block; width: 16px; height: 16px; overflow: visible; }
.pf .rtv-mark path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* the foot: the coupon, the no-JS update button, and — for a long cart — the way on again */
.pf-cart-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 24px; padding: 16px 0 0; }
.pf-cart-foot .pf-go--foot { display: none; width: min(400px, 100%); margin-left: auto; }
.pf-lines:has(> li:nth-child(3)) + .pf-cart-foot .pf-go--foot { display: flex; }
.pf-coupon summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; cursor: pointer; list-style: none; }
.pf-coupon summary::-webkit-details-marker { display: none; }
.pf-coupon[open] summary { text-decoration: none; font-weight: 600; }
.pf-coupon-l { display: block; margin: 4px 0 6px; font-size: 14px; font-weight: 600; }
.pf-coupon-row { display: flex; gap: 8px; }
.pf :is(.pf-coupon-row, .checkout_coupon) .input-text { width: 220px; height: 48px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; }
.pf :is(.pf-coupon-row, .checkout_coupon) .button, .pf .pf-update { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--cocoa); color: var(--panel); font-weight: 600; cursor: pointer; }
.pf .coupon-error-notice { flex-basis: 100%; margin-top: 8px; color: var(--coral-ink); font-size: 14px; font-weight: 500; }
html[data-ps-ready] .pf .pf-update { display: none; }
.pf .pf-update[disabled] { opacity: .5; }

/* the routine suggestion: the drawer's, under the lines */
.pf-addon:empty { display: none; }
.pf-addon .addon { margin: 22px 0 0; max-width: 560px; }

/* a value WooCommerce just changed: its changed digits roll in, once (purchase.js) */
.pf-roll { display: inline-block; animation: pf-roll-up 420ms var(--out) backwards; }
.pf-roll.is-down { animation-name: pf-roll-down; }
/* The new digit is always legible: it moves in, it never starts invisible
   (a total that reads "0 Ft" mid-roll is a wrong amount on screen). */
@keyframes pf-roll-up { from { transform: translateY(.45em); opacity: .35; } }
@keyframes pf-roll-down { from { transform: translateY(-.45em); opacity: .35; } }

/* phones: the page's own task owns the bottom edge */
.pf-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--panel); border-top: var(--edge); }
.pf-bar p { display: grid; line-height: 1.15; font-size: 13.5px; color: var(--soft); }
.pf-bar b { font: 400 22px/1.1 var(--display); color: var(--cocoa); font-variant-numeric: tabular-nums; }

/* the empty cart: the drawer's empty state, on the card */
.pf--empty > .pf-title { margin: 6px 0 18px; }
.pf--empty .woocommerce { max-width: 760px; border-radius: 32px; background: var(--panel); box-shadow: var(--card-shadow); padding: clamp(18px, 2.4vw, 34px); }
.pf--empty .cart-empty.woocommerce-info { display: block; padding: 0; margin: 0 0 8px; background: none; box-shadow: none; font: 400 26px/1.05 var(--display); }
.pf-empty { margin: 14px 0 22px; }
.pf-empty .mm { display: grid; gap: 8px; margin: 14px 0; }
.pf-empty .mm-row { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 8px 14px 8px 8px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; }
.pf-empty .mm-row:hover { box-shadow: inset 0 0 0 2px var(--cocoa); }
.pf-empty .mm-row .thumb { width: 52px; height: 52px; border-radius: 14px; background: var(--acc); }
.pf-empty .mm-row span:not(.thumb) { display: grid; line-height: 1.25; }
.pf-empty .mm-row small { color: var(--soft); font-size: 13.5px; }
.pf-empty .mm-row .i { margin-left: auto; width: 18px; height: 18px; opacity: .6; }
.pf-empty .empty-ship { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.pf-empty .empty-ship .i { width: 18px; height: 18px; opacity: .7; }
.pf-empty .celp-line { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #E4F1EA; color: var(--green); text-decoration: none; font-weight: 500; }
.pf-empty .celp-line b { font: 400 17px/1 var(--display); }
.pf-empty .celp-line span { display: grid; gap: 2px; line-height: 1.2; }
.pf-empty .celp-line small { font-size: 13.5px; font-weight: 400; }

/* ── checkout: one form, then what the button commits to ───────────────── */
.pf--checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); column-gap: clamp(24px, 3vw, 44px); align-items: start; }
.pf--checkout form.checkout > * { grid-column: 1; min-width: 0; }
.pf--checkout form.checkout > .pf-sum { grid-column: 2; grid-row: 1 / span 9; position: sticky; top: calc(var(--head) + 20px); }
.pf--checkout #order_review_heading { display: none; }
/* the form's parts, drawn as one card: the title, the express path, the customer, the payment */
.pf--checkout form.checkout > :is(.pf-title, #wc-stripe-express-checkout-element, .pf-express-note, .pf-express-or, #customer_details, #order_review) { background: var(--panel); padding-inline: clamp(18px, 2.6vw, 40px); }
.pf--checkout form.checkout > .pf-title { padding-top: clamp(22px, 2.4vw, 34px); padding-bottom: 6px; border-radius: 32px 32px 0 0; }
.pf--checkout form.checkout > #order_review { padding-bottom: clamp(22px, 2.4vw, 34px); border-radius: 0 0 32px 32px; box-shadow: var(--card-shadow); }
.pf--checkout form.checkout > #wc-stripe-express-checkout-element { padding-top: 6px; }
.pf--checkout form.checkout > .pf-express-note { margin: 0; padding-top: 8px; text-align: left; }
.pf--checkout form.checkout > .pf-express-or { margin: 0; padding-top: 18px; font-size: 14px; font-weight: 500; color: var(--soft); }
.pf--checkout #wc-stripe-express-checkout-button-separator { display: none !important; }
.pf--checkout :is(.woocommerce-form-coupon-toggle, .checkout_coupon) { max-width: calc(100% - 480px); }
.pf--checkout #customer_details { display: grid; }
.pf--checkout :is(.woocommerce-billing-fields, .col-2, #payment) { padding: 24px 0; }
.pf--checkout .col-2 { padding-top: 0; }
.pf--checkout #order_review #payment { border-top: 1.5px solid var(--line); }
.pf--checkout :is(.woocommerce-billing-fields > h3, .pf-sec-h) { margin-bottom: 14px; }
.pf--checkout .pf-sec--addr { margin-top: 18px; }
.pf--checkout .pf-sec--addr .pf-sec-h { margin-bottom: 2px; }
.pf-sec-n { font-size: 14.5px; color: var(--soft); }
.pf--checkout .pf-delivery { margin-top: 18px; }
.pf--checkout .pf-delivery-h { margin-bottom: 12px; }
/* two ways to receive it: side by side, so they are compared, not scrolled */
@media (min-width: 720px) { .pf--checkout .pf-opts:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* the summary: the order the cart carried, in its lines */
.pf-sum-d { border-radius: 28px; background: var(--panel); box-shadow: var(--card-shadow); }
.pf-sum-s { display: flex; align-items: baseline; gap: 10px; padding: 22px 24px 8px; list-style: none; cursor: default; }
.pf-sum-s::-webkit-details-marker { display: none; }
.pf-sum-h { font: 400 22px/1.05 var(--display); text-transform: uppercase; }
.pf-sum-n { font-size: 14px; color: var(--soft); }
.pf-sum-t, .pf-sum-c { display: none; }
.pf-sum-b { padding: 0 24px 18px; }
.pf-sum-edit { margin-top: 6px; text-align: right; font-size: 14px; }
.pf-sum-edit a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 500; }
.pf .woocommerce-checkout-review-order-table :is(th, td), .pf .order_details :is(th, td) { padding: 8px 0; vertical-align: top; font-size: 15.5px; }
.pf .woocommerce-checkout-review-order-table td, .pf .order_details td { text-align: right; }
.pf .woocommerce-checkout-review-order-table tbody td, .pf--done .order_details tbody td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pf .woocommerce-checkout-review-order-table tbody tr:first-child td { border-top: 1.5px solid var(--line); }
.pf .woocommerce-checkout-review-order-table tbody td.product-total { font-weight: 600; }
.pf :is(.woocommerce-checkout-review-order-table, .order_details) td.product-total { width: 1%; padding-left: 12px; white-space: nowrap; }
.pf .woocommerce-checkout-review-order-table tfoot tr:first-child > * { padding-top: 12px; }
.pf :is(.woocommerce-checkout-review-order-table, .order_details) .order-total > * { padding-top: 14px; border-top: var(--edge); vertical-align: baseline; font-size: 17px; font-weight: 600; }
.pf .order-total strong { font-weight: 400; }
.pf :is(.woocommerce-checkout-review-order-table, .order_details) .order-total strong .amount { font: 400 clamp(30px, 2.6vw, 38px)/1 var(--display); }
.pf .includes_tax .amount { font: inherit; font-weight: 500; }
.pf .includes_tax, .pf .tax_label, .pf .shipped_via { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--soft); }
.pf-item { display: flex; align-items: flex-start; gap: 12px; }
.pf-item .pf-thumb { width: 52px; height: 52px; border-radius: 14px; border-width: 1.5px; }
.pf-item-t { flex: 1; display: grid; gap: 1px; min-width: 0; line-height: 1.3; text-align: left; }
/* the summary's line: the name keeps the summary's width; the quantity and the amount share the last line */
.pf-item-q { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-top: 3px; }
.pf-item-q .product-total { margin-left: auto; font-size: 15.5px; font-weight: 600; color: var(--cocoa); white-space: nowrap; }
.pf-item-name { font-weight: 600; }
.pf-item-name a { text-decoration: none; }
.pf-item-choice { font-size: 14px; font-weight: 500; }
.pf-item-t .product-quantity, .pf-item-t .wc-item-meta, .pf-item-t dl.variation { font-size: 14px; font-weight: 400; color: var(--soft); }
.pf-item-t .wc-item-meta :is(li, p, strong) { display: inline; margin: 0; font-weight: inherit; }

/* the fields */
.pf .woocommerce-billing-fields__field-wrapper, .pf .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.pf .form-row { grid-column: 1 / -1; margin: 0; }
.pf :is(.form-row-first, .form-row-last) { grid-column: auto; }
.pf .form-row > label { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 600; }
.pf .form-row :is(.optional, .rtv-req) { font-weight: 400; color: var(--soft); }
.pf .form-row :is(input.input-text, textarea, select) { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; font-size: 16px; }
.pf .form-row textarea { min-height: 96px; resize: vertical; }
.pf .form-row :is(input.input-text, textarea, select):hover { border-color: rgba(46, 28, 21, .55); }
.pf .form-row :is(input.input-text, textarea, select):focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 1.5px var(--cocoa); }
.pf .form-row :is(input.input-text, textarea):focus-visible { outline: none; }
.pf .form-row ::placeholder { color: rgba(46, 28, 21, .5); }
.pf .form-row strong { display: block; padding: 12px 0 0; font-weight: 600; }
/* One country to ship to: its select has one option, and reads as the fact it is. */
.pf .form-row select.country_to_state--single { appearance: none; min-height: 0; padding: 2px 0 0; border: 0; background: none; box-shadow: none; font-weight: 600; pointer-events: none; }
/* optional lines the shopper rarely needs, open on request (purchase.js) */
.pf-more { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; grid-column: 1 / -1; justify-self: start; }
.pf-more::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--cocoa); font-size: 16px; line-height: 1; text-decoration: none; }
.pf .form-row.pf-folded { display: none; }
/* select2 (county): the same field */
.pf .select2-container .select2-selection--single { height: 52px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; }
.pf .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 40px 0 16px; line-height: 49px; color: var(--cocoa); }
.pf .select2-container .select2-selection--single .select2-selection__arrow { height: 50px; right: 10px; }
.pf .select2-container--focus .select2-selection--single, .pf .select2-container--open .select2-selection--single { border-color: var(--cocoa); box-shadow: 0 0 0 1.5px var(--cocoa); }
.select2-dropdown { border: 2px solid #2E1C15 !important; border-radius: 14px !important; overflow: hidden; font-family: 'Rubik', system-ui, sans-serif; }
.select2-results__option--highlighted[aria-selected], .select2-results__option--highlighted[data-selected] { background: #2E1C15 !important; }

/* errors: WooCommerce's own inline messages, in the store's one signal colour */
.pf .form-row.woocommerce-invalid :is(input.input-text, select, textarea), .pf .form-row.woocommerce-invalid .select2-selection { border-color: var(--coral-ink); box-shadow: 0 0 0 1px var(--coral-ink); background: #FFF7F3; }
.pf .form-row.woocommerce-invalid > label { color: var(--coral-ink); }
.pf .checkout-inline-error-message { display: flex; gap: 6px; align-items: baseline; margin-top: 6px; color: var(--coral-ink); font-size: 14px; font-weight: 500; }
.pf .checkout-inline-error-message::before { content: "!"; display: grid; place-items: center; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--coral-ink); color: #fff; font-size: 11px; font-weight: 700; transform: translateY(2px); }

/* ship to a different address, order notes */
.pf #ship-to-different-address { margin: 0 0 14px; font: 500 16px/1.3 var(--body); text-transform: none; }
.pf #ship-to-different-address label { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.pf :is(#ship-to-different-address, .form-row) input[type="checkbox"] { width: 24px; height: 24px; margin: 0; accent-color: var(--cocoa); }
.pf .shipping_address { margin-bottom: 18px; }
.pf .woocommerce-additional-fields > h3 { display: none; }

/* payment: the PDP's option rows ("Egyszeri vásárlás" / "Újratöltés") */
.pf #payment .wc_payment_methods { display: grid; gap: 8px; }
.pf #payment .wc_payment_method { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 0 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 160ms linear; }
.pf #payment .wc_payment_method > input { width: 24px; height: 24px; margin: 0; accent-color: var(--cocoa); cursor: pointer; }
.pf #payment .wc_payment_method > label { display: flex; align-items: center; gap: 10px; min-height: 58px; font-weight: 600; font-size: 16.5px; cursor: pointer; }
.pf #payment .wc_payment_method > label::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.pf #payment .wc_payment_method > label img { max-height: 24px; width: auto; }
.pf #payment .wc_payment_method:has(> input:checked) { box-shadow: inset 0 0 0 2px var(--cocoa), 0 3px 0 var(--cocoa); }
.pf #payment .wc_payment_method:has(> input:focus-visible) { outline: 3px solid var(--cocoa); outline-offset: 3px; }
.pf #payment .wc_payment_method > input:focus-visible { outline: none; }
.pf #payment .payment_box { position: relative; z-index: 1; grid-column: 2; margin: -10px 0 14px; font-size: 14.5px; color: var(--soft); }
.pf #payment .payment_box :is(fieldset, .wc-stripe-upe-element, .StripeElement) { color: var(--cocoa); }
.pf #payment .payment_box fieldset { border: 0; padding: 0; margin: 0; }
.pf #payment .place-order { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 22px; }
.pf .woocommerce-privacy-policy-text, .pf .woocommerce-terms-and-conditions-wrapper { font-size: 13.5px; color: var(--soft); }
.pf .woocommerce-terms-and-conditions-wrapper .form-row { margin-top: 8px; }
.pf .woocommerce-form__label-for-checkbox { display: flex; gap: 12px; align-items: center; font-size: 15px; color: var(--cocoa); cursor: pointer; }
.pf .woocommerce-form__label-for-checkbox input { flex: none; }

/* what the order button commits to: where, how it travels, how it is paid, how much */
/* A statement, not a control: no outline (the options above are the controls), a quiet ground. */
.pf-commit { padding: 14px 20px 16px; border-radius: 20px; border: 0; background: var(--canvas); }
.pf-commit-l { display: grid; }
.pf-commit-l > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 9px 0; }
.pf-commit-l > div + div { border-top: 1px solid var(--line); }
.pf-commit-l dt { font-size: 14px; font-weight: 600; color: var(--soft); }
.pf-commit-l dd { display: grid; gap: 1px; font-size: 15.5px; line-height: 1.35; }
.pf-commit-l dd b { font-weight: 600; }
.pf-commit-n { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pf-commit-sub { color: var(--soft); font-size: 14.5px; }
.pf-commit-l .pf-commit-t { align-items: center; padding-top: 12px; }
.pf-commit-t dd { font: 400 30px/1 var(--display); }
.pf-commit-t dd .woocommerce-Price-amount { font: inherit; }
/* the order button: amber, the total on it (inc/purchase.php puts it in data-price).
   Its word is the statute's (rtv_pf_order_button_text()): it may take two lines,
   balanced, and keeps the amount beside it where both fit; on a phone the
   amount is the commitment's, on the line just above. */
.pf .pf-cta { white-space: normal; text-wrap: balance; text-align: center; line-height: 1.12; padding-block: 12px; }
.pf .pf-cta[data-price]::after { flex: none; white-space: nowrap; }
.pf form.processing .pf-cta { cursor: progress; background: var(--amber-hi); }
.pf form.processing .pf-cta::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(46, 28, 21, .3); border-top-color: var(--cocoa); animation: pf-spin .8s linear infinite; }
@keyframes pf-spin { to { rotate: 360deg; } }
.pf .blockUI.blockOverlay { background: rgba(255, 252, 246, .55) !important; opacity: 1 !important; border-radius: 26px; }
.pf .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0 0 12px; padding: 0 0 0 clamp(18px, 2.6vw, 40px); background: none; box-shadow: none; font-size: 15px; }
.pf .showcoupon { display: inline-flex; align-items: center; min-height: 44px; }
.pf .checkout_coupon { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding-left: clamp(18px, 2.6vw, 40px); }
.pf .checkout_coupon .form-row { grid-column: auto; }
.pf .checkout_coupon .clear { display: none; }

/* ── confirmation: the order's stamp, what happened, what happens next ──── */
.pf--done .woocommerce-order { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px 22px; align-items: start; max-width: 1120px; margin-inline: auto; }
.pf--done .woocommerce-order > * { grid-column: 1 / -1; min-width: 0; }
.pf--done .woocommerce-order-overview { display: none; }
/* The stamp lands from above its size; the card clips it, the page never scrolls sideways. */
.pf-done { display: grid; grid-template-columns: clamp(150px, 17vw, 230px) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 64px); align-items: start; overflow-x: clip; }
.pf-done-seal .sticker { width: 100%; height: auto; margin-top: 8px; rotate: -9deg; animation: pf-stamp .7s var(--spring) .2s backwards; }
.pf-done-seal .stk-arc { font-size: 10.5px; }
.pf-done-seal .stk-big { font: 400 17px var(--display); }
.sticker.coral .stk-disc { fill: var(--coral-ink, #B83A11); stroke: var(--cocoa); stroke-width: 2.5; }
.sticker.coral text { fill: #fff; }
.pf-done-t { display: grid; }
.pf-done-k { font: 400 clamp(20px, 1.8vw, 24px)/1.1 var(--display); color: var(--soft); }
.pf-done-h { margin-top: 6px; }
.pf-done-lead { margin-top: 12px; font-size: 17px; }
.pf-facts { display: grid; margin-top: 22px; border-top: var(--edge); }
.pf-fact { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pf-fact dt { font-size: 14.5px; font-weight: 600; color: var(--soft); }
.pf-fact dd { font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.pf-fact dd b { font-weight: 600; }
.pf-fact-how { color: var(--soft); font-size: 15.5px; }
.pf-fact--point dd { display: grid; gap: 1px; }
.pf-fact-k { font-size: 14.5px; color: var(--soft); }
.pf-fact--pay dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pf-fact-big { font: 400 clamp(34px, 3.2vw, 46px)/1 var(--display); white-space: nowrap; }
.pf-fact-big .woocommerce-Price-amount { font: inherit; }
.pf-fact--pay .pf-fact-how { font-weight: 600; font-size: 16px; color: var(--cocoa); }
.pf-done.is-failed .pf-fact--pay .pf-fact-how { color: var(--coral-ink); }
.pf-done .pf-go { margin-top: 22px; max-width: 460px; }
.pf-done-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; }
.pf-done-help { flex-basis: 100%; font-size: 14.5px; color: var(--soft); }
.pf-done-help a { font-weight: 600; color: var(--cocoa); }
/* WooCommerce's failed-branch explanation under the card; its pay button is the card's */
.pf .woocommerce-thankyou-order-failed { margin: 0; padding: 0 clamp(16px, 2.6vw, 40px); font-size: 15.5px; color: var(--soft); }
.pf .woocommerce-thankyou-order-failed-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 clamp(16px, 2.6vw, 40px); }
.pf .woocommerce-thankyou-order-failed-actions .button.pay { display: none; }
.pf .woocommerce-thankyou-order-failed-actions .button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--cocoa); font-weight: 600; text-decoration: none; }
.pf .order-actions-button { display: inline-flex; align-items: center; min-height: 40px; margin-left: 8px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--cocoa); font-weight: 600; font-size: 14.5px; text-decoration: none; }
/* the order's lines and addresses: a quieter second row */
.pf--done :is(.woocommerce-order-details, .woocommerce-customer-details) { padding: clamp(18px, 2vw, 28px); border-radius: 26px; background: var(--panel); }
.pf--done .woocommerce-order-details { grid-column: 1; }
.pf--done .woocommerce-customer-details { grid-column: 2; }
.pf--done :is(.woocommerce-order-details__title, .woocommerce-column__title) { margin-bottom: 8px; font: 600 18px/1.3 var(--body); }
.pf--done .order_details thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pf--done .order_details tbody tr:first-child td { border-top: 1.5px solid var(--line); }
.pf--done .order_details tfoot th { font-weight: 400; }
.pf--done .order_details .order-total strong .amount { font-size: 26px; }
.pf--done .woocommerce-customer-details .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pf--done address { font-style: normal; line-height: 1.55; }
.pf--done address p { margin-top: 4px; }
.pf--done .woocommerce-customer-details--phone::before, .pf--done .woocommerce-customer-details--email::before { content: none; }
/* Past WooCommerce's guest grace period the order is shown only after the
   shopper confirms the order's email: WooCommerce's own form, on the card. */
.pf--done:has(.pf-done) > .pf-title { display: none; }
.pf--done > .pf-title { margin: 6px 0 18px; }
.pf .woocommerce-verify-email { display: grid; gap: 14px; max-width: 560px; padding: clamp(18px, 2.4vw, 30px); border-radius: 32px; background: var(--panel); box-shadow: var(--card-shadow); }
.pf .woocommerce-verify-email .input-text { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; }
.pf--done .woocommerce-thankyou-order-received:empty { display: none; }

/* ── narrower screens ────────────────────────────────────────────────────── */
@media (max-width: 999px) {
  /* one column, the answer first: the title, the total, the delivery, the rows, the way on */
  .pf-sum--cart { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "due" "ship" "rows" "go" "pay"; }
  .pf-sum--cart > .pf-sum-pay { display: contents; }
  .pf-sum-pay > * { grid-column: 1; min-width: 0; }
  .pf-sum-pay > .pf-due { grid-area: due; margin-top: 12px; }
  .pf-sum-pay > .pf-sum-rows { grid-area: rows; margin-top: 16px; }
  .pf-sum-pay > .wc-proceed-to-checkout { grid-area: go; margin-top: 20px; }
  .pf-sum-pay > .pf-pay-line { grid-area: pay; }
  .pf--checkout form.checkout, .pf-done, .pf--done .woocommerce-order { grid-template-columns: minmax(0, 1fr); }
  .pf--checkout form.checkout > .pf-sum { position: static; grid-column: 1; grid-row: auto; margin-bottom: 14px; }
  .pf--checkout :is(.woocommerce-form-coupon-toggle, .checkout_coupon) { max-width: none; }
  .pf-sum-s { flex-wrap: nowrap; align-items: center; padding: 10px 18px; min-height: 64px; cursor: pointer; }
  .pf-sum-h { font-size: 18px; }
  .pf-sum-n { white-space: nowrap; }
  .pf-sum-t { display: block; margin-left: auto; font: 400 22px/1 var(--display); white-space: nowrap; }
  .pf-sum-c { display: block; width: 18px; height: 18px; transition: rotate .2s var(--out); }
  .pf-sum-d[open] .pf-sum-c { rotate: 180deg; }
  .pf-sum-d[open] .pf-sum-s { border-bottom: 1px solid var(--line); }
  .pf-sum-b { padding: 0 18px 14px; }
  .pf--done :is(.woocommerce-order-details, .woocommerce-customer-details) { grid-column: 1; }
  .pf-done { position: relative; }
  .pf-done-seal { position: absolute; right: clamp(12px, 3vw, 30px); top: clamp(14px, 2.4vw, 26px); width: clamp(96px, 20vw, 150px); }
  .pf-done-t > :is(.pf-done-k, .pf-done-h) { padding-right: clamp(96px, 22vw, 170px); }
  html.pf-bar-on .pf-bar { display: flex; }
  body.pf-page--cart .pf { padding-bottom: 120px; }
}
@media (max-width: 640px) {
  .pf { padding-top: 12px; padding-bottom: 64px; }
  .pf-card, .pf--empty .woocommerce { border-radius: 26px; padding: 18px 16px; }
  .pf-due-v strong { font-size: clamp(42px, 13vw, 54px); }
  .pf-opt { padding: 12px 14px; }
  .pf-opt-t { font-size: 16px; }
  .pf-opt-p { font-size: 18px; }
  .pf-line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "th t t" "th q p"; column-gap: 14px; row-gap: 10px; align-items: start; padding: 16px 0; }
  .pf-line > .pf-thumb { width: 64px; height: 64px; border-radius: 16px; }
  .pf-line-qty { align-self: center; }
  .pf-line-p { align-self: center; font-size: 20px; }
  .pf-line-name { font-size: 16.5px; }
  .pf-line-choice { font-size: 15px; }
  .pf :is(.pf-coupon-row, .checkout_coupon) .input-text { width: auto; flex: 1; min-width: 0; }
  .pf-coupon { flex: 1 1 100%; }
  .pf-cart-foot .pf-go--foot { width: 100%; }
  .pf .pf-go { gap: 10px; padding: 0 18px; font-size: 17px; }
  .pf .pf-cta { gap: 10px; padding-inline: 16px; }
  .pf .pf-go .pf-go-p, .pf .pf-cta[data-price]::after { font-size: 16px; padding-left: 10px; }
  .pf--checkout form.checkout > :is(.pf-title, #wc-stripe-express-checkout-element, .pf-express-note, .pf-express-or, #customer_details, #order_review) { padding-inline: 16px; }
  .pf--checkout form.checkout > .pf-title { border-radius: 26px 26px 0 0; padding-top: 20px; }
  .pf--checkout form.checkout > #order_review { border-radius: 0 0 26px 26px; }
  .pf .woocommerce-form-coupon-toggle .woocommerce-info, .pf .checkout_coupon { padding-left: 4px; }
  .pf .woocommerce-billing-fields__field-wrapper, .pf .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
  .pf :is(.form-row-first, .form-row-last) { grid-column: 1 / -1; }
  .pf-commit { padding: 12px 14px 14px; }
  .pf-commit-l > div { grid-template-columns: 78px minmax(0, 1fr); column-gap: 10px; }
  .pf-commit-t dd { font-size: 26px; }
  .pf-fact { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 12px 0; }
  .pf--done .woocommerce-customer-details .col2-set { grid-template-columns: minmax(0, 1fr); }
  .pf :is(.woocommerce-checkout-review-order-table, .order_details) td.product-total { padding-left: 8px; }
  /* the phone summary's toggle: count and total — the word stays for screen readers */
  .pf-sum-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 400px) {
  .pf-steps { font-size: 13px; }
  .pf-steps li + li::before { margin: 0 6px; }
  /* the amount is on the line just above; the button keeps its word */
  .pf .pf-go .pf-go-p, .pf .pf-cta[data-price]::after { display: none; }
  .pf .pf-go, .pf .pf-cta { font-size: 16px; }
  .pf-item .pf-thumb { width: 44px; height: 44px; }
  .pf :is(.woocommerce-checkout-review-order-table, .order_details) .order-total strong .amount { font-size: 26px; }
  .pf-done-h { font-size: 28px; }
  /* the stepper and the amount take the line's full width under the tile */
  .pf-line { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "th t t" "q q p"; }
  .pf-line > .pf-thumb { width: 56px; height: 56px; }
}
@media (max-width: 360px) {
  /* at 320 the name keeps the summary's width; the tile steps out */
  .pf-sum .pf-item .pf-thumb { display: none; }
  .pf .pf-cta { gap: 8px; padding-inline: 12px; font-size: 15px; letter-spacing: .01em; }
}
@media (prefers-reduced-motion: reduce) {
  .pf *, .pf-bar { animation: none !important; transition: none !important; }
}
