/* =========================================
   WordPress specific styles
   ========================================= */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.alignleft { float: left; margin: 0 20px 12px 0; } .alignright { float: right; margin: 0 0 12px 20px; } .aligncenter { margin: 0 auto 12px; }
.wp-caption-text { font-size: 13px; color: var(--muted); }

/* Menus from wp_nav_menu */
.nav .current-menu-item > a, .nav .current_page_item > a, .nav .current-menu-ancestor > a { color: var(--primary); }
.nav .current-menu-item > a::after, .nav .current_page_item > a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--primary); }
.footer ul.menu li, .footer ul li { padding: 5px 0; }
.footer-contact li { align-items: flex-start; }

/* Header search */
.header { position: sticky; }
.search-drop { display: none; border-top: 1px solid var(--border); background: #fff; padding: 14px 0; }
.search-drop.open { display: block; }
.search-drop .search-box { max-width: 560px; margin: 0 auto; }
.search-box input[type=search] { -webkit-appearance: none; }
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 0; } }

/* Banner */
.page-banner.compact { padding: 26px 0; }
.page-banner.compact .breadcrumb { margin: 0; }
.breadcrumb span { margin: 0 6px; }

/* Hero placeholder (when no hero image is set in Customizer) */
.hero-placeholder { position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--accent-light), #fff); box-shadow: var(--shadow-lg); }
.hero-circle { width: 78%; aspect-ratio: 1/1; border-radius: 50%; background: #fff; border: 10px solid var(--accent); display: flex; align-items: center; justify-content: center; padding: 12%; box-shadow: 0 20px 50px rgba(46,125,50,.15); }
.hero-circle img { width: 100%; height: auto; object-fit: contain; }
.hero-chip { position: absolute; background: #fff; padding: 10px 16px; border-radius: 30px; font-weight: 600; color: var(--dark); box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; font-size: 14px; }
.hero-chip i { color: var(--primary); }
.chip-1 { top: 10%; left: 6%; } .chip-2 { bottom: 14%; left: 2%; } .chip-3 { top: 40%; right: 2%; }
.chip-2 i { color: var(--accent); }

.promo-icons { display: flex; gap: 22px; justify-content: center; font-size: 64px; color: var(--accent); }
.testimonial .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--dark); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.newsletter-ok { color: var(--accent) !important; font-weight: 600; }

/* About */
.about-placeholder { aspect-ratio: 7/6; background: linear-gradient(145deg, var(--accent-light), var(--primary-light)); display: flex; align-items: center; justify-content: center; padding: 15%; }
.about-text p { color: var(--muted); margin-bottom: 16px; }

/* Contact */
.alert-error { background: #fee2e2; color: #991b1b; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card a:hover { color: var(--primary); }

/* Shop sidebar lists */
.cat-list li a { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 6px; font-size: 14px; }
.cat-list li a span { color: var(--muted); font-size: 13px; }
.cat-list li a:hover, .cat-list li a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.cat-list .rating { color: var(--warning); }

/* Entry content (pages, posts) */
.entry-content > * + * { margin-top: 14px; }
.entry-content h2 { font-size: 26px; margin-top: 30px; }
.entry-content h3 { font-size: 21px; margin-top: 24px; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content ul { list-style: disc; } .entry-content ol { list-style: decimal; }
.entry-content a { color: var(--primary); text-decoration: underline; }
.entry-content img { height: auto; border-radius: 10px; }
.entry-content blockquote { border-left: 4px solid var(--accent); background: var(--accent-light); padding: 14px 18px; border-radius: 8px; }
.legal-content a { color: var(--primary); }
.container.narrow { max-width: 820px; }
.single-thumb { margin: 20px 0; border-radius: 14px; overflow: hidden; }

/* Blog list */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .25s; }
.post-card:hover { box-shadow: var(--shadow-lg); }
.post-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb-ph { display: flex; height: 100%; align-items: center; justify-content: center; font-size: 36px; color: var(--border); }
.post-body { padding: 18px; }
.post-body h3 { font-size: 18px; margin: 6px 0 8px; }
.post-body p { color: var(--muted); font-size: 14px; }
.read-more { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; color: var(--primary); font-weight: 600; font-size: 14px; }
.pagination-wrap .nav-links, .woocommerce nav.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination-wrap .page-numbers { min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.pagination-wrap .page-numbers.current, .pagination-wrap a.page-numbers:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.post-navigation { margin-top: 32px; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 16px; }
.post-navigation a { color: var(--primary); font-weight: 600; }
.big-404 { font-size: 96px; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.empty-state .search-form { max-width: 420px; margin: 20px auto 0; display: flex; gap: 8px; }
.empty-state .search-field { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; }
.empty-state .search-submit { padding: 10px 16px; border: 0; border-radius: 8px; background: var(--primary); color: #fff; cursor: pointer; }
.empty-state .btn + .btn { margin-left: 8px; }

/* Comments */
.comments-area { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; }
.comment-form .submit { background: var(--primary); color: #fff; border: 0; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; }

@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .nav { overflow-y: auto; }
  .nav .current-menu-item > a::after { display: none; }
  .hero-placeholder { max-width: 440px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } .promo-icons { font-size: 44px; } .hero-chip { font-size: 12px; padding: 7px 12px; } }
