/* teylo.store – právne dokumenty a formuláre (fonty Cormorant + Lato, farby teylo.) */
.tl-doc, .tl-form-wrap { --tl-ink: #000; --tl-accent: #c05530; --tl-sand: #f5f1e8; --tl-line: #e6e1d6; font-family: Lato, sans-serif; color: var(--tl-ink); max-width: 860px; margin: 0 auto; }
.tl-doc { font-size: 16px; line-height: 1.6; }
.tl-doc h1 { font-family: Cormorant, serif; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 10px 0 16px; }
.tl-doc h2 { font-family: Cormorant, serif; font-size: clamp(22px, 2.6vw, 30px); margin: 34px 0 10px; scroll-margin-top: 110px; }
.tl-doc h3 { font-family: Cormorant, serif; font-size: 21px; margin: 24px 0 8px; scroll-margin-top: 110px; }
.tl-doc p, .tl-doc li { overflow-wrap: anywhere; }
.tl-doc ul, .tl-doc ol { margin-left: 1.3em; }
.tl-doc a { color: var(--tl-accent); text-decoration: underline; }
.tl-table { overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
.tl-table table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.tl-table th, .tl-table td { border-bottom: 1px solid var(--tl-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.tl-table thead th { background: var(--tl-sand); font-weight: 700; }
.tl-missing { background: #ffe2dc; color: #a12; padding: 0 4px; font-weight: 700; }
.tl-box { background: var(--tl-sand); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; }
.tl-error { background: #fdecea; border: 1px solid #f3b3aa; }
.tl-done { background: #fff; border: 1px solid var(--tl-line); }
.tl-cta { margin: 0 0 12px; }
.tl-doc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.tl-btn { border-radius: 999px !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 6px 6px 0 !important; }
.tl-btn--primary { background: var(--tl-ink, #000) !important; color: #fff !important; border-color: #000 !important; }
.tl-btn--primary:hover { background: #c05530 !important; border-color: #c05530 !important; }
.tl-btn--ghost { background: #fff !important; color: #000 !important; border: 1px solid #000 !important; }

/* formuláre */
.tl-form .tl-field { margin: 0 0 16px; border: 0; padding: 0; }
.tl-form label, .tl-form legend { display: block; font-weight: 700; font-size: 14px; margin: 0 0 4px; }
.tl-form fieldset legend { margin-bottom: 6px; }
.tl-form input[type=text], .tl-form input[type=email], .tl-form input[type=tel], .tl-form input[type=date], .tl-form textarea, .tl-form select { width: 100%; max-width: 100%; border: 1px solid #cfc7b8; border-radius: 10px; box-shadow: none; font-size: 16px; }
.tl-form [aria-invalid=true] { border-color: #c0392b; }
.tl-form .tl-radio { font-weight: 400; display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.tl-form .tl-radio input { margin: 0; }
.tl-req { color: #c05530; }
.tl-hint { display: block; font-size: 13px; color: #555; margin: 2px 0 6px; }
.tl-err { display: block; color: #b0261a; font-size: 13px; margin-top: 4px; }
.tl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tl-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tl-steps { display: flex; gap: 8px; font-size: 13px; margin: 0 0 16px; }
.tl-steps span { padding: 5px 12px; border-radius: 999px; background: var(--tl-sand); color: #555; }
.tl-steps span.is-on { background: #000; color: #fff; }
.tl-review { width: 100%; border-collapse: collapse; font-size: 14px; }
.tl-review th { text-align: left; width: 40%; padding: 6px 8px 6px 0; vertical-align: top; }
.tl-review td { padding: 6px 0; }
.tl-statement { margin-top: 12px; }
.tl-h { font-family: Cormorant, serif; }
.tl-note { font-size: 14px; color: #444; }

/* oznámenie EÚ o zákonnej záruke */
.tl-eu-notice { margin: 0 0 16px; }
.tl-eu-notice img { display: block; width: 100%; height: auto; border: 1px solid #e6e1d6; }
.tl-eu-notice--checkout { max-width: 320px; }
.tl-eu-notice--doc { max-width: 560px; }
.tl-eu-notice figcaption { font-size: 12px; margin-top: 6px; color: #444; }

/* pokladňa a košík */
.tl-order-info { background: #f5f1e8; border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; font-size: 14px; line-height: 1.5; }
.tl-delivery-row td { font-size: 13px; line-height: 1.45; }

@media (max-width: 600px) {
	.tl-grid2 { grid-template-columns: 1fr; }
	.tl-review th { width: 45%; }
}

/* tlač: iba dokument / potvrdenie */
@media print {
	body.tl-printing header, body.tl-printing footer, body.tl-printing #header, body.tl-printing #footer, body.tl-printing .tl-doc-actions, body.tl-printing .tl-actions, body.tl-printing .tl-cta, body.tl-printing #wpadminbar, body.tl-printing .cmplz-cookiebanner { display: none !important; }
	.tl-doc a { color: #000; }
}
