/* Pranašystės.lt – content components. Colours use CSS variables so themes/Elementor can override them. */
:root {
	--prn-accent: #4b3d7a;
	--prn-gold: #c9a55c;
	--prn-tip-bg: #f3eef9;
	--prn-warn-bg: #fdf3e7;
	--prn-warn: #9a5a1e;
	--prn-radius: 10px;
}
.prn-box { display: flex; gap: .75rem; padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: var(--prn-radius); border-left: 4px solid var(--prn-accent); background: var(--prn-tip-bg); }
.prn-box > div > p:last-child { margin-bottom: 0; }
.prn-box-label { font-weight: 700; white-space: nowrap; color: var(--prn-accent); }
.prn-warn { border-left-color: var(--prn-warn); background: var(--prn-warn-bg); }
.prn-warn .prn-box-label { color: var(--prn-warn); }
.prn-steps ol { counter-reset: prn-step; list-style: none; padding-left: 0; }
.prn-steps li { counter-increment: prn-step; position: relative; padding: .4rem 0 .4rem 2.75rem; }
.prn-steps li::before { content: counter(prn-step); position: absolute; left: 0; top: .3rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--prn-accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.prn-answer { padding: 1rem 1.25rem; margin: 0 0 1.5rem; border: 1px solid var(--prn-gold); border-radius: var(--prn-radius); background: #fbf7ee; }
.prn-faq details { border-bottom: 1px solid #e6e0d4; padding: .75rem 0; }
.prn-faq summary { cursor: pointer; font-weight: 600; }
.prn-related ul { padding-left: 1.1rem; }
.prn-tool { padding: 1.25rem; margin: 1.5rem 0; border-radius: var(--prn-radius); background: #fbf7ee; border: 1px solid var(--prn-gold); display: grid; gap: .75rem; }
.prn-tool label { display: grid; gap: .25rem; font-weight: 600; }
.prn-tool input, .prn-tool select { padding: .5rem; font: inherit; max-width: 22rem; }
.prn-tool .prn-inline, .prn-form .prn-inline { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.prn-btn { justify-self: start; padding: .6rem 1.25rem; border: 0; border-radius: 999px; background: var(--prn-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.prn-btn:hover, .prn-btn:focus-visible { filter: brightness(1.15); }
.prn-tool-result:empty { display: none; }
.prn-tool-result { padding: 1rem; border-radius: var(--prn-radius); background: #fff; }
.prn-big { font-size: 2.5rem; font-weight: 700; color: var(--prn-accent); line-height: 1; }
.prn-card-draw img { max-width: 220px; border-radius: 8px; display: block; margin: .5rem 0; }
.prn-card-draw.prn-rev img { transform: rotate(180deg); }
.prn-note { font-size: .9rem; opacity: .8; margin: 0; }
.prn-form label { display: grid; gap: .25rem; }
.prn-form input[type=text], .prn-form input[type=email], .prn-form textarea { width: 100%; max-width: 32rem; padding: .5rem; font: inherit; }
.prn-hp { position: absolute; left: -9999px; }
.prn-notice { padding: .75rem 1rem; background: var(--prn-tip-bg); border-radius: var(--prn-radius); }
.prn-missing { background: #ffe58a; padding: 0 .25rem; }

/* Featured products */
.prn-featured { margin: 1.6em 0 2em; }
.prn-featured-title { margin-top: 0; }
.prn-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.prn-product { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2d9c8; border-radius: 10px; overflow: hidden; margin: 0; }
.prn-product-link { position: relative; display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.prn-product-img img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #f3ede2; }
.prn-product-noimg { display: block; aspect-ratio: 1; background: #1e2440 radial-gradient(circle at 62% 40%, transparent 17%, #c9a55c 17.5%, #c9a55c 21%, transparent 21.5%); }
.prn-product-noimg::after { content: ""; }
.prn-product-title { display: block; padding: 10px 12px 2px; font-weight: 700; line-height: 1.3; color: var(--prn-accent, #4b3d7a); }
.prn-product-price { display: block; padding: 2px 12px 10px; font-family: system-ui, sans-serif; font-size: .95rem; }
.prn-product-price del { opacity: .6; margin-right: 4px; }
.prn-product-price ins { text-decoration: none; font-weight: 700; }
.prn-product .prn-btn { margin: 0 12px 12px; text-align: center; text-decoration: none; }
.prn-product .added_to_cart { display: block; text-align: center; margin: -6px 12px 12px; font: 14px system-ui, sans-serif; }
.prn-badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--prn-gold, #c9a55c); color: #1e2440; font: 600 12px/1 system-ui, sans-serif; padding: 5px 8px; border-radius: 20px; }
.prn-badge-out { background: #ddd; }
.prn-featured-more { margin-top: 12px; font-family: system-ui, sans-serif; }
.prn-admin-hint { background: #fff8e1; border: 1px dashed #c9a55c; padding: 10px 14px; border-radius: 8px; font: 14px system-ui, sans-serif; }
@media (max-width: 480px) { .prn-products { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
