/* ============================================================
   Eshopbd Pro UI — হেডার, বাটন সিস্টেম, লিস্ট রিসেট, নোটিস,
   কার্ট ড্রয়ার, অর্ডার-রিসিভড, শপ, ফুটার পেমেন্ট ব্যাজ
   ============================================================ */
:root { --topbar-bg:#0F172A; --navbar-bg:#503D22; --radius:10px; }

/* ---------- ১. অপ্রয়োজনীয় লিস্ট স্টাইল রিসেট ---------- */
.woocommerce ul, .woocommerce ol, .woocommerce-page ul.products,
.footer ul, .nav ul, .top-bar ul, .header ul, .widget ul, .mobile-bottom-nav ul,
ul.products, ul.order_details, ul.wc_payment_methods, ul.payment_methods,
ul.woocommerce-shipping-methods, ul#shipping_method, ul.woocommerce-error,
.woocommerce-order-overview, .woocommerce-MyAccount-navigation ul,
.woocommerce-mini-cart, .product_list_widget, ul.page-numbers, .flex-control-nav,
ul.slides, .woocommerce-tabs ul.tabs, .wc-block-components-notice-banner ul {
  list-style: none; margin-left: 0; padding-left: 0;
}
.woocommerce-tabs .panel ul, .woocommerce-Tabs-panel ul, .entry-content ul, .product-description ul {
  list-style: disc; padding-left: 22px;
}
.woocommerce-Tabs-panel ol, .entry-content ol { list-style: decimal; padding-left: 22px; }
.woocommerce ul.products li.product::marker, li::marker { color: inherit; }

/* ---------- ২. বাটন সিস্টেম (সব পেজে একই প্রফেশনাল স্টাইল) ---------- */
body .button, body a.button, body button.button, body input.button, body input[type="submit"].button,
body .woocommerce a.button, body .woocommerce button.button, body .woocommerce input.button,
body .woocommerce #respond input#submit, body .wc-forward, body .checkout-button,
body #place_order, body .woocommerce-Button, body .woocommerce-button, body .wc-backward,
body .return-to-shop a, body .single_add_to_cart_button, body .woocommerce-form-login__submit,
body .woocommerce-form-register__submit, body .woocommerce-form-coupon button,
body .btn-price-apply, body button[name="apply_coupon"], body button[name="update_cart"],
body .cart-empty-box a.btn, body .order-actions a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; min-height: 46px; border: 2px solid var(--primary);
  border-radius: var(--radius); background: var(--primary); color: #fff !important;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: all .2s ease; box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
body .button:hover, body a.button:hover, body button.button:hover, body .wc-forward:hover,
body .checkout-button:hover, body #place_order:hover, body .single_add_to_cart_button:hover,
body .woocommerce a.button:hover, body .woocommerce button.button:hover, body .woocommerce input.button:hover,
body .btn-price-apply:hover, body .order-actions a:hover {
  transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.15); filter: brightness(1.06);
}
body .button:disabled, body .button.disabled, body button.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
body .btn-outline, body a.button.btn-outline, body .woocommerce a.button.btn-outline,
body button[name="update_cart"], body .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout) {
  background: #fff; color: var(--primary) !important; border-color: var(--primary);
}
body .btn-buy, body .woocommerce div.product form.cart .btn-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 12px 24px; border: 2px solid #25D366; border-radius: var(--radius);
  background: #25D366; color: #fff !important; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .2s;
}
body .btn-buy:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(37,211,102,.35); }
body .btn-whatsapp, body a.button.btn-whatsapp { background: #25D366; border-color: #25D366; }
body #place_order { width: 100%; font-size: 16px; padding: 15px 24px; }
body .wc-proceed-to-checkout a, body .checkout-button { width: 100%; }

/* ---------- ৩. নোটিস (Add to cart, error, info) ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: 0 0 20px; padding: 14px 20px; border-radius: 12px; font-size: 14px;
  background: #ecfdf5; color: #065f46; border-left: 4px solid #10b981; list-style: none;
}
.woocommerce-info { background: #eff6ff; color: #1e40af; border-left-color: #3b82f6; }
.woocommerce-error { background: #fef2f2; color: #991b1b; border-left-color: #ef4444; flex-direction: column; align-items: flex-start; }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 38px; padding: 8px 18px; font-size: 13px; }

/* ---------- ৪. হেডার (টপবার + মেইন + মেনু বার) ---------- */
.top-bar { background: var(--topbar-bg); color: #e2e8f0; font-size: 13px; padding: 8px 0; }
.top-bar a, .top-bar .info-item, .top-bar i { color: #e2e8f0; }
.top-bar a:hover { color: #fff; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.top-bar-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-links { display: flex; gap: 18px; }

.header.header-pro { background: #fff; box-shadow: 0 4px 18px rgba(15,23,42,.08); }
.header-pro .header-inner { padding: 16px 20px; gap: 28px; }
.header-pro .logo { flex-shrink: 0; }
.header-pro .logo img.site-logo-img, .header-pro .logo img { max-height: 64px; object-fit: contain; }
.header-pro .search-box-desktop { flex: 1; max-width: none; margin: 0; }
.header-pro .search-box input { border-radius: 30px 0 0 30px; }
.header-pro .header-actions { gap: 10px; flex-shrink: 0; }
.header-pro .icon-btn, .header-pro .lang-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #f1f5f9; color: var(--dark); transition: .2s; position: relative;
}
.header-pro .lang-btn { width: auto; padding: 0 16px; border-radius: 30px; gap: 6px; font-weight: 600; border: none; cursor: pointer; }
.header-pro .icon-btn:hover, .header-pro .lang-btn:hover { background: var(--primary); color: #fff; }
.header-navbar { background: var(--navbar-bg); }
.header-navbar .container { display: flex; align-items: center; }
.header-navbar .nav { width: 100%; }
.header-navbar .nav .main-menu, .header-navbar .nav ul { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.header-navbar .nav a { color: #fff; padding: 13px 16px; display: block; font-weight: 500; font-size: 15px; }
.header-navbar .nav a:hover, .header-navbar .nav .current-menu-item > a { background: rgba(255,255,255,.14); color: #fff; }
.header-navbar .nav ul ul { background: #fff; }
.header-navbar .nav ul ul a { color: var(--dark); }
.header-navbar .nav ul ul a:hover { background: #f1f5f9; color: var(--primary); }
@media (max-width: 992px) {
  .header-navbar { background: transparent; }
  .header-navbar .container { padding: 0; }
  .header-navbar .nav a { color: var(--dark); padding: 10px 0; }
  .header-navbar .nav a:hover { background: none; color: var(--primary); }
  .header-pro .header-inner { gap: 12px; padding: 12px 16px; }
}

/* ---------- ৫. ফুটার ---------- */
.footer-logo img { max-width: 100%; height: auto; }
.payment-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px;
  background: var(--pay-color, #444); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .2px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.pay-badge i { font-size: 13px; }

/* ---------- ৬. ফ্ল্যাশ সেল কাউন্টডাউন ---------- */
.countdown { display: flex; gap: 10px; }
.countdown > div { min-width: 62px; text-align: center; background: rgba(255,255,255,.18); border-radius: 10px; padding: 8px 6px; }
.countdown > div span { display: block; font-size: 24px; font-weight: 700; line-height: 1.1; }
.countdown > div small { font-size: 11px; opacity: .9; }
@media (max-width: 600px) { .countdown > div { min-width: 52px; } .countdown > div span { font-size: 19px; } }

/* ---------- ৭. কার্ট ড্রয়ার ---------- */
.cart-drawer-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.55); opacity: 0; visibility: hidden; transition: .3s; z-index: 9998; }
.cart-drawer-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 92vw; height: 100%; background: #fff;
  z-index: 9999; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.2); transition: right .35s ease;
}
.cart-drawer.open { right: 0; }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.cart-drawer-head h3 { font-size: 18px; margin: 0; display: flex; gap: 10px; align-items: center; }
.cart-drawer-close { background: #f1f5f9; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.cart-drawer .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.mini-cart-items { flex: 1; overflow-y: auto; padding: 10px 20px; }
.mini-cart-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mini-cart-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.mini-cart-info { flex: 1; min-width: 0; }
.mini-cart-name { display: block; font-weight: 600; font-size: 14px; color: var(--dark); }
.mini-cart-qty { color: var(--gray); font-size: 13px; margin-top: 4px; }
.mini-cart-remove { color: #dc3545; }
.mini-cart-footer { padding: 16px 20px 22px; border-top: 1px solid var(--border); background: #f8fafc; }
.mini-cart-total { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 14px; }
.mini-cart-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-cart-buttons .button { padding: 12px 10px; font-size: 14px; }
.mini-cart-empty { text-align: center; padding: 60px 20px; color: var(--gray); }
.mini-cart-empty i { font-size: 54px; color: #ddd; }

/* ---------- ৮. অর্ডার রিসিভড ---------- */
.order-received-page { max-width: 900px; margin: 0 auto; }
.order-status-card { text-align: center; padding: 40px 24px; border-radius: 18px; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.07); margin-bottom: 24px; }
.order-status-card i { font-size: 64px; margin-bottom: 14px; }
.order-status-card.success i { color: #10b981; }
.order-status-card.failed i { color: #ef4444; }
.order-status-card h2 { font-size: 26px; color: var(--dark); margin-bottom: 8px; }
.order-status-card p { color: var(--gray); }
.order-overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.ov-item { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 4px 16px rgba(0,0,0,.06); border-top: 3px solid var(--primary); }
.ov-item small { display: block; color: var(--gray); margin-bottom: 4px; }
.ov-item strong { font-size: 16px; color: var(--dark); word-break: break-word; }
.order-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.woocommerce-order-details, .woocommerce-customer-details {
  background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 5px 20px rgba(0,0,0,.06); margin-bottom: 22px;
}
.woocommerce-order-details h2, .woocommerce-customer-details h2, .woocommerce-column__title { font-size: 20px; margin-bottom: 16px; color: var(--dark); }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.woocommerce table.shop_table thead th { background: #f8fafc; font-weight: 600; }
.woocommerce table.shop_table tfoot th { font-weight: 600; }
.woocommerce table.shop_table tfoot tr:last-child td, .woocommerce table.shop_table tfoot tr:last-child th { color: var(--primary); font-size: 16px; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.8; padding: 14px 16px; background: #f8fafc; border-radius: 12px; }
.woocommerce-customer-details .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .woocommerce-customer-details .col2-set { grid-template-columns: 1fr; } }

/* ---------- ৯. চেকআউট পেমেন্ট + ট্রাস্ট ---------- */
.checkout-payment-box .pay-title { margin: 22px 0 12px; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.pay-options li.wc_payment_method { margin-bottom: 10px; border: 2px solid var(--border); border-radius: 12px; padding: 0; overflow: hidden; }
.pay-options li.wc_payment_method label { display: inline; padding: 14px 6px; cursor: pointer; font-weight: 600; }
.pay-options li.wc_payment_method > input { margin: 0 6px 0 14px; accent-color: var(--primary); }
.pay-options li.wc_payment_method .payment_box { background: #f8fafc; padding: 12px 16px; font-size: 13px; color: var(--gray); border-top: 1px dashed var(--border); }
.pay-options li.wc_payment_method .payment_box p { margin: 0 0 6px; }
.pay-options li.wc_payment_method .payment_box input[type="text"], .pay-options li.wc_payment_method .payment_box input[type="tel"] { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--gray); }
.trust-row i { color: var(--primary); margin-right: 4px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; margin: 12px 0; }

/* ---------- ১০. শপ পেজ ---------- */
.cat-pills { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 6px; scrollbar-width: thin; }
.cat-pill { flex-shrink: 0; padding: 8px 18px; border-radius: 30px; background: #fff; border: 1px solid var(--border); color: var(--dark); font-size: 14px; font-weight: 500; text-decoration: none; transition: .2s; }
.cat-pill:hover, .cat-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-search { position: relative; margin-bottom: 18px; }
.filter-search input { width: 100%; padding: 11px 42px 11px 16px; border: 1px solid var(--border); border-radius: 30px; outline: none; font-family: inherit; }
.filter-search input:focus { border-color: var(--primary); }
.filter-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--primary); color: #fff; cursor: pointer; }
.shop-main .product-card { transition: transform .25s, box-shadow .25s; }
.shop-main .product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }

/* ---------- ১১. কার্ট পেজ ফাইনাল টাচ ---------- */
.cart-table .cart-row { transition: background .2s; }
.cart-table .cart-row:hover { background: #fafafa; }
.cart-summary { position: sticky; top: 100px; }
.cart-summary .trust-row { margin-top: 18px; }
.qty-box .qty, .qty-box input[type="number"] { -moz-appearance: textfield; }

/* ============================================================
   রাউন্ড ২ — কোয়ান্টিটি বাটন, সার্চবক্স, হিরো/ফ্ল্যাশ স্লাইডার,
   রিভিউ, চেকআউট, অপ্রয়োজনীয় hidden ইনপুট, ব্লগ পোস্ট
   ============================================================ */

/* ---------- ১২. কোয়ান্টিটি +/- বাটন (সবজায়গায়: কার্ট, প্রোডাক্ট, চেকআউট) ---------- */
.woocommerce div.product .quantity,
.woocommerce table.cart .quantity,
.cart-row .quantity,
.quantity {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.quantity .qty-minus,
.quantity .qty-plus {
  width: 38px;
  height: 42px;
  flex-shrink: 0;
  border: none;
  background: #f8fafc;
  color: var(--dark);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .15s;
  line-height: 1;
}
.quantity .qty-minus:hover,
.quantity .qty-plus:hover { background: var(--primary); color: #fff; }
.quantity input.qty {
  width: 52px;
  height: 42px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  -moz-appearance: textfield;
}
.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-row .quantity { height: 42px; }

/* ---------- ১৩. হেডার সার্চবক্স ফিক্স ---------- */
.header-pro .search-box-desktop { display: flex; flex: 1 1 auto; max-width: 560px; margin: 0 20px; }
.header-pro .search-box { width: 100%; }
.header-pro .search-box input { width: 100%; flex: 1 1 auto; min-width: 0; }
.search-box { width: 100%; }
.search-box input { flex: 1 1 auto; min-width: 0; width: 100%; }
.live-search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff;
  border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.15); z-index: 60;
  max-height: 420px; overflow-y: auto; display: none;
}
.live-search-dropdown.show { display: block; }

/* ---------- ১৪. হিরো স্লাইড ছবি ---------- */
.slide-img { display: flex; align-items: center; justify-content: center; min-height: 0; }
.slide-img img { max-height: 420px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 992px) { .slide-img img { max-height: 300px; } }

/* ---------- ১৫. প্রোডাক্ট স্লাইডার (ফ্ল্যাশ সেল ইত্যাদি) — ৪র্থ কার্ড আর কাটবে না ---------- */
.product-slider-wrap { overflow: visible; }
.product-slider {
  scroll-snap-type: x mandatory;
  padding: 10px 4px 16px;
}
.product-slider .product-card,
.flash-sale .product-slider .product-card {
  scroll-snap-align: start;
}
@media (min-width: 993px) {
  .product-slider-wrap { max-width: 1240px; padding: 0 60px; }
  .product-slider { gap: 22px; }
  .product-slider .product-card { min-width: calc(25% - 17px); max-width: calc(25% - 17px); }
}
.slider-arrow.small { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; }
.slider-arrow.small.prev { left: 6px; }
.slider-arrow.small.next { right: 6px; }

/* ---------- ১৬. রিভিউ সেকশন — পূর্ণাঙ্গ পলিশ ---------- */
.reviews-section .section-head { margin-bottom: 20px; }
.review-card {
  min-width: 340px;
  max-width: 340px;
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 8px 28px rgba(0,0,0,.07);
  scroll-snap-align: start;
  position: relative;
  border: 1px solid #f1f1f1;
}
.review-card .stars { color: #ffb020; margin-bottom: 14px; font-size: 14px; letter-spacing: 2px; }
.review-card > p { color: var(--text); line-height: 1.75; margin-bottom: 20px; min-height: 84px; font-size: 14.5px; }
.reviewer img, .reviewer .no-avatar {
  width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.reviews-slider { scroll-snap-type: x mandatory; }
@media (max-width: 600px) { .review-card { min-width: 86vw; max-width: 86vw; padding: 24px 20px; } }

/* ---------- ১৭. চেকআউট বাড়তি ফিল্ড পলিশ ---------- */
.form-box-extra .woocommerce-shipping-fields > h3 { margin-bottom: 16px; }
.form-box-extra .shipping_address { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.woocommerce-additional-fields textarea,
.woocommerce-form__label-for-checkbox { width: 100%; }
.woocommerce-additional-fields textarea { min-height: 90px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; }
.woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.woocommerce-form__input-checkbox { accent-color: var(--primary); width: 16px; height: 16px; }
#ship-to-different-address { margin: 10px 0 16px; }
#ship-to-different-address label { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }

/* ---------- ১৮. অপ্রয়োজনীয় / hidden ইনপুট লুকানো ---------- */
.wc-order-attribution-inputs,
input[name^="wc_order_attribution_"],
.woocommerce-input-wrapper input[type="hidden"],
form.checkout input[type="hidden"]:not([name="woocommerce-process-checkout-nonce"]) + br,
.blockUI.blockOverlay { }
.wc-order-attribution-inputs { display: none !important; }

/* ---------- ১৯. মিনি কার্ট বাটন — নিশ্চিতভাবে আলাদা রঙ ---------- */
.cart-drawer .mini-cart-buttons a.button {
  border-width: 2px !important;
}
.cart-drawer .mini-cart-buttons a.wc-forward:not(.checkout) {
  background: #fff !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
}
.cart-drawer .mini-cart-buttons a.checkout {
  background: var(--primary) !important;
  color: #fff !important;
  border: 2px solid var(--primary) !important;
}

/* ---------- ২০. ব্লগ পোস্ট — শেয়ার বাটন + রিলেটেড পোস্ট ---------- */
.post-share-row { display: flex; align-items: center; gap: 10px; margin: 26px 0; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--gray); }
.share-btn {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #f1f5f9; color: var(--dark); border: none; cursor: pointer; text-decoration: none; transition: .2s;
}
.share-btn:hover { transform: translateY(-2px); }
.share-btn.fb:hover { background: #1877f2; color: #fff; }
.share-btn.wa:hover { background: #25D366; color: #fff; }
.share-btn.tw:hover { background: #000; color: #fff; }
.share-btn.copy:hover { background: var(--primary); color: #fff; }

.single-post-author { display: flex; gap: 16px; align-items: center; background: #f8fafc; padding: 20px; border-radius: 14px; margin: 24px 0; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.single-post-author h4 { margin-bottom: 4px; color: var(--dark); }
.single-post-author p { color: var(--gray); font-size: 13.5px; margin: 0; }

.related-posts-block { max-width: 820px; margin: 40px auto 0; }
.related-posts-block h3 { font-size: 20px; margin-bottom: 16px; color: var(--dark); }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-post-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); text-decoration: none; display: block; transition: .2s; }
.related-post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.1); }
.related-post-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.related-post-noimg { width: 100%; height: 130px; background: var(--light); display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 30px; }
.related-post-card h4 { font-size: 14px; color: var(--dark); padding: 12px 14px 4px; line-height: 1.4; }
.related-post-card span { display: block; font-size: 12px; color: var(--gray); padding: 0 14px 14px; }
@media (max-width: 700px) { .related-posts-grid { grid-template-columns: 1fr; } }
