/* Stejné barvy, typografie a panely jako klasický checkout EkoPlaketa. */
body:is(.ep-thankyou-page, .ep-customer-page) {
  --ep-text: #18221b; --ep-green: #096a2a; --ep-green-dark: #075522;
  --ep-green-light: #f2f8f4; --ep-surface: #f6f8f6; --ep-white: #fff;
  --ep-border: #dfe5e0; --ep-border-light: #e9edea; --ep-muted: #667068;
}
body:is(.ep-thankyou-page, .ep-customer-page) .page_content { display: block; float: none; width: 100%; padding-top: 36px; padding-bottom: 48px; }
body:is(.ep-thankyou-page, .ep-customer-page) .site-main, body:is(.ep-thankyou-page, .ep-customer-page) .entry-content { float: none; width: 100%; max-width: none; overflow: visible; }
body:is(.ep-thankyou-page, .ep-customer-page) #sidebar { display: none; }
:is(#ep-thankyou, #ep-customer) { width: 100%; color: var(--ep-text); font-size: 16px; line-height: 1.6; text-align: left; }
:is(#ep-thankyou, #ep-customer) *, :is(#ep-thankyou, #ep-customer) *::before, :is(#ep-thankyou, #ep-customer) *::after { box-sizing: border-box; }
:is(#ep-thankyou, #ep-customer) :is(p,dl,dt,dd,ul,h1,h2,h3) { margin: 0; padding: 0; }
:is(#ep-thankyou, #ep-customer) p { font-size: inherit; line-height: 1.6; }
:is(#ep-thankyou, #ep-customer) p + p { margin-top: 10px; }
:is(#ep-thankyou, #ep-customer) :is(strong,b) { font-weight: 600; }
:is(#ep-thankyou, #ep-customer) a { color: var(--ep-green); text-underline-offset: 3px; }
:is(#ep-thankyou, #ep-customer) a:focus-visible { outline: 2px solid var(--ep-green); outline-offset: 4px; }
:is(#ep-thankyou, #ep-customer) h1 { margin: 5px 0 12px; color: var(--ep-text); font-size: 34px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
:is(#ep-thankyou, #ep-customer) h2 { margin-bottom: 18px; color: var(--ep-text); font-size: 24px; font-weight: 600; line-height: 1.3; }
:is(#ep-thankyou, #ep-customer) h3 { margin-bottom: 8px; color: var(--ep-text); font-size: 16px; font-weight: 600; line-height: 1.5; }
:is(#ep-thankyou, #ep-customer) .ep-order-heading { margin-bottom: 28px; }
:is(#ep-thankyou, #ep-customer) .ep-order-heading p { color: var(--ep-muted); overflow-wrap: anywhere; }
:is(#ep-thankyou, #ep-customer) .ep-order-eyebrow { color: var(--ep-muted); font-size: 14px; font-weight: 500; }
:is(#ep-thankyou, #ep-customer) .ep-order-layout { display: grid; grid-template-columns: minmax(0,1fr) 400px; align-items: start; gap: 28px; }
:is(#ep-thankyou, #ep-customer) .ep-order-main { display: grid; gap: 20px; min-width: 0; }
:is(#ep-thankyou, #ep-customer) .ep-order-aside { min-width: 0; }
:is(#ep-thankyou, #ep-customer) .ep-order-panel { min-width: 0; padding: 30px; background: var(--ep-surface); border: 1px solid var(--ep-border); border-radius: 18px; overflow-wrap: anywhere; }
:is(#ep-thankyou, #ep-customer) .ep-order-upload h2 { margin-top: 4px; }
:is(#ep-thankyou, #ep-customer) .ep-order-summary, :is(#ep-thankyou, #ep-customer) .ep-order-payment { background: var(--ep-white); }
:is(#ep-thankyou, #ep-customer) .ep-order-summary { box-shadow: 0 6px 24px rgb(24 34 27 / 5%); }
body:is(.ep-thankyou-page, .ep-customer-page) :is(#ep-thankyou, #ep-customer) :is(a,button).ep-order-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 50px; margin-top: 22px; padding: 13px 22px;
  border: 1px solid var(--ep-green); border-radius: 10px; background: var(--ep-green); color: var(--ep-white);
  font: inherit; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s ease;
}
body:is(.ep-thankyou-page, .ep-customer-page) :is(#ep-thankyou, #ep-customer) :is(a,button).ep-order-button:hover { background: var(--ep-green-dark); border-color: var(--ep-green-dark); color: var(--ep-white); text-decoration: none; }
:is(#ep-thankyou, #ep-customer) .ep-order-documents { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ep-border); }
:is(#ep-thankyou, #ep-customer) .ep-order-payment-link { margin-top: 12px; font-size: 14px; }
:is(#ep-thankyou, #ep-customer) #ep-order-payment-title { scroll-margin-top: 24px; }
:is(#ep-thankyou, #ep-customer) .ep-order-qr { display: inline-grid; justify-items: center; gap: 6px; margin: 18px 0 0; padding: 0; }
:is(#ep-thankyou, #ep-customer) .ep-order-qr img { display: block; width: 150px; height: 150px; }
:is(#ep-thankyou, #ep-customer) .ep-order-qr figcaption { color: var(--ep-muted); font-size: 14px; }
:is(#ep-thankyou, #ep-customer) .ep-order-documents ul { display: grid; gap: 8px; margin: 12px 0 16px; padding-left: 20px; list-style: disc; }
:is(#ep-thankyou, #ep-customer) .ep-order-documents li { margin: 0; padding: 0 0 0 2px; line-height: 1.6; }
:is(#ep-thankyou, #ep-customer) .ep-order-muted { color: var(--ep-muted); font-size: 14px; }
:is(#ep-thankyou, #ep-customer) .ep-order-deadline { margin-top: 20px; padding: 16px 18px; background: var(--ep-white); border: 1px solid var(--ep-border); border-left: 3px solid var(--ep-green); border-radius: 0 10px 10px 0; }
:is(#ep-thankyou, #ep-customer) .ep-order-deadline > strong { display: block; margin-bottom: 6px; }
:is(#ep-thankyou, #ep-customer) .ep-order-method { font-weight: 600; }
:is(#ep-thankyou, #ep-customer) .ep-order-estimate { display: grid; gap: 3px; margin: 18px 0 10px; }
:is(#ep-thankyou, #ep-customer) .ep-order-estimate > span { color: var(--ep-muted); font-size: 14px; }
:is(#ep-thankyou, #ep-customer) .ep-order-estimate > strong { color: var(--ep-green); font-size: 22px; line-height: 1.4; }
:is(#ep-thankyou, #ep-customer) .ep-order-time { white-space: nowrap; }
:is(#ep-thankyou, #ep-customer) .ep-order-address, :is(#ep-thankyou, #ep-customer) .ep-order-start { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ep-border); }
:is(#ep-thankyou, #ep-customer) address { margin: 0; color: var(--ep-text); font-style: normal; font-size: 16px; line-height: 1.6; }
:is(#ep-thankyou, #ep-customer) .ep-order-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
:is(#ep-thankyou, #ep-customer) .ep-order-panel-head h2 { margin: 0; }
:is(#ep-thankyou, #ep-customer) .ep-order-status { display: inline-block; padding: 4px 10px; background: var(--ep-surface); border-radius: 6px; color: var(--ep-muted); font-size: 14px; font-weight: 500; }
:is(#ep-thankyou, #ep-customer) .ep-order-status--paid { background: var(--ep-green-light); color: var(--ep-green); }
:is(#ep-thankyou, #ep-customer) .ep-order-facts { display: grid; gap: 12px; }
:is(#ep-thankyou, #ep-customer) .ep-order-facts > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); align-items: baseline; gap: 12px; }
:is(#ep-thankyou, #ep-customer) .ep-order-facts dt { color: var(--ep-muted); font-weight: 400; }
:is(#ep-thankyou, #ep-customer) .ep-order-facts dd { min-width: 0; font-weight: 500; text-align: right; }
:is(#ep-thankyou, #ep-customer) .ep-order-identification { margin-bottom: 20px; font-size: 14px; }
:is(#ep-thankyou, #ep-customer) .ep-order-item { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 12px; padding: 18px 0; border-top: 1px solid var(--ep-border-light); }
:is(#ep-thankyou, #ep-customer) .ep-order-item > div > strong { display: inline-block; line-height: 1.5; }
:is(#ep-thankyou, #ep-customer) .ep-order-price { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
:is(#ep-thankyou, #ep-customer) .ep-order-item .wc-item-meta { margin-top: 8px; list-style: none; font-size: 14px; line-height: 1.6; }
:is(#ep-thankyou, #ep-customer) .ep-order-item .wc-item-meta li { padding: 0; margin: 0 0 4px; }
:is(#ep-thankyou, #ep-customer) .ep-order-item .wc-item-meta p { display: inline; font-size: inherit; }
:is(#ep-thankyou, #ep-customer) .ep-order-item .wc-item-meta strong { float: none; margin-right: 4px; }
:is(#ep-thankyou, #ep-customer) .ep-order-totals { padding-top: 18px; border-top: 1px solid var(--ep-border); font-size: 14px; }
:is(#ep-thankyou, #ep-customer) .ep-order-totals .ep-order-grand-total { margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--ep-border); font-size: 16px; }
:is(#ep-thankyou, #ep-customer) .ep-order-grand-total dt { color: var(--ep-text); font-weight: 600; }
:is(#ep-thankyou, #ep-customer) .ep-order-grand-total dd > .amount { white-space: nowrap; color: var(--ep-green); font-size: 24px; font-weight: 600; }
:is(#ep-thankyou, #ep-customer) .includes_tax { display: block; margin-top: 4px; color: var(--ep-muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
:is(#ep-thankyou, #ep-customer) .ep-order-contact { margin: 16px 4px 0; color: var(--ep-muted); font-size: 14px; }
:is(#ep-thankyou, #ep-customer) .ep-order-gateway:not(:empty), :is(#ep-thankyou, #ep-customer) .ep-order-integrations:not(:empty) { margin-top: 20px; }
:is(#ep-thankyou, #ep-customer) .ep-order-gateway h2, :is(#ep-thankyou, #ep-customer) .ep-order-integrations h2 { margin: 18px 0 10px; font-size: 18px; }
:is(#ep-thankyou, #ep-customer) .woocommerce-bacs-bank-details { margin-top: 18px; }
:is(#ep-thankyou, #ep-customer) .woocommerce-bacs-bank-details h3 { margin: 12px 0 8px; }
:is(#ep-thankyou, #ep-customer) .wc-bacs-bank-details { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
:is(#ep-thankyou, #ep-customer) .wc-bacs-bank-details::before, :is(#ep-thankyou, #ep-customer) .wc-bacs-bank-details::after { content: none; }
:is(#ep-thankyou, #ep-customer) .wc-bacs-bank-details li { float: none; margin: 0; padding: 0; border: 0; font-size: 14px; line-height: 1.6; }
:is(#ep-thankyou, #ep-customer) .wc-bacs-bank-details li strong { display: block; font-size: 16px; }
:is(#ep-thankyou, #ep-customer) .ep-order-gateway :is(table,img), :is(#ep-thankyou, #ep-customer) .ep-order-integrations :is(table,img) { max-width: 100%; }
@media (max-width: 1000px) { :is(#ep-thankyou, #ep-customer) .ep-order-layout { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 640px) {
  body:is(.ep-thankyou-page, .ep-customer-page) > .container { padding-right: 12px; padding-left: 12px; }
  body:is(.ep-thankyou-page, .ep-customer-page) .page_content { padding-top: 18px; padding-bottom: 28px; }
  :is(#ep-thankyou, #ep-customer) h1 { font-size: 28px; }
  :is(#ep-thankyou, #ep-customer) h2 { margin-bottom: 14px; font-size: 20px; }
  :is(#ep-thankyou, #ep-customer) .ep-order-heading { margin-bottom: 20px; }
  :is(#ep-thankyou, #ep-customer) .ep-order-layout, :is(#ep-thankyou, #ep-customer) .ep-order-main { gap: 14px; }
  :is(#ep-thankyou, #ep-customer) .ep-order-panel { padding: 18px 14px; border-radius: 14px; }
  body:is(.ep-thankyou-page, .ep-customer-page) :is(#ep-thankyou, #ep-customer) :is(a,button).ep-order-button { width: 100%; min-height: 48px; margin-top: 18px; padding: 12px 16px; }
  :is(#ep-thankyou, #ep-customer) .ep-order-documents { margin-top: 20px; padding-top: 18px; }
  :is(#ep-thankyou, #ep-customer) .ep-order-deadline { margin-top: 16px; padding: 12px; }
  :is(#ep-thankyou, #ep-customer) .ep-order-estimate > strong { font-size: 20px; }
  :is(#ep-thankyou, #ep-customer) .ep-order-item { padding: 14px 0; }
}
