/* ParsiDate theme — non-utility CSS (animations, reveal, faq, logo hover). */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:#3858e9;color:#fff}
input[type="date"]{color-scheme:light}

.reveal{opacity:0;transform:translateY(30px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}

.faq-q{cursor:pointer;background:transparent;border:0;font-family:inherit}
.faq-item.open{border-color:rgba(56,88,233,.4);background:rgba(56,88,233,.02)}
.faq-q[aria-expanded="true"] .faq-arrow{transform:rotate(180deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .42s cubic-bezier(.4,0,.2,1)}

.logo-cell img{filter:grayscale(1);opacity:.62;transition:filter .3s ease,opacity .3s ease;max-height:42px;width:auto;object-fit:contain}
.logo-cell:hover img{filter:grayscale(0);opacity:1}
.logo-cell:hover{border-color:rgba(56,88,233,.4)}

/* WordPress core alignment + content typography inside .entry-content */
.entry-content{color:#3a3a3a;font-size:16px;line-height:2.05}
.entry-content h2{font-weight:800;font-size:26px;color:#1e1e1e;margin:1.6em 0 .6em}
.entry-content h3{font-weight:800;font-size:20px;color:#1e1e1e;margin:1.4em 0 .5em}
.entry-content p{margin:0 0 1.1em}
.entry-content a{color:#3858e9;text-decoration:underline;text-underline-offset:3px}
.entry-content a:hover{color:#2a45c4}
.entry-content ul,.entry-content ol{margin:0 0 1.2em;padding-inline-start:1.4em}
.entry-content li{margin:.3em 0}
.entry-content blockquote{border-inline-start:3px solid #3858e9;background:#f6f6f6;padding:1em 1.2em;border-radius:14px;margin:1.4em 0;color:#1e1e1e}
.entry-content img,.entry-content .wp-block-image img{border-radius:16px;height:auto;max-width:100%}
.entry-content pre{background:#1e1e1e;color:#f6f6f6;padding:1.1em;border-radius:16px;overflow:auto;direction:ltr;text-align:left}
.entry-content code{background:#f0f0f2;padding:.15em .4em;border-radius:6px;font-family:ui-monospace,monospace}
.entry-content pre code{background:transparent;padding:0}
.alignleft{float:right;margin:0 0 1em 1.5em}
.alignright{float:left;margin:0 1.5em 1em 0}
.aligncenter{display:block;margin-inline:auto}
.wp-caption-text,.wp-element-caption{font-size:13px;color:#767676;text-align:center;margin-top:.5em}

/* Comments */
.comment-list{list-style:none;margin:0;padding:0}
.comment-list ol{list-style:none}
.parsidate-pagination a,.parsidate-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border:1px solid #e5e5e5;border-radius:12px;font-weight:700;color:#1e1e1e;text-decoration:none;transition:.2s}
.parsidate-pagination a:hover{border-color:#3858e9;color:#3858e9}
.parsidate-pagination .current{background:#3858e9;border-color:#3858e9;color:#fff}

/* WooCommerce header cart button (sitewide — nav is on every page) */
:root{
	--pd-brand:#3858e9;
	--pd-brand-dark:#2a45c4;
	--pd-ink:#1e1e1e;
	--pd-body:#555555;
	--pd-line:#e5e5e5;
	--pd-surface:#f6f6f6;
}
.pd-cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--pd-surface);
	border: 1px solid var(--pd-line);
	color: var(--pd-ink);
	text-decoration: none;
	transition: .2s;
	flex-shrink: 0;
}

.pd-cart-link:hover {
	border-color: var(--pd-brand);
	color: var(--pd-brand);
}

.pd-cart-count {
	position: absolute;
	inset-block-start: -6px;
	inset-inline-start: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--pd-brand);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.pd-cart-count.is-empty {
	display: none;
}

.pd-cart-link--mobile {
	width: 100%;
	justify-content: flex-start;
	gap: 10px;
	height: auto;
	padding: 12px 14px;
	background: transparent;
	border: 0;
	font-weight: 500;
	font-size: 15px;
	color: var(--pd-body);
}

.pd-cart-link--mobile .pd-cart-count {
	position: static;
	inset: auto;
	margin-inline-start: auto;
}

.pd-cart-link--mobile .pd-cart-count.is-empty {
	display: none;
}
