/*
Theme Name: EsarTech Digital Marketplace
Theme URI: https://esartech.com/
Author: EsarTech
Description: A Bengali-first digital marketplace and tutorial theme adapted from the supplied Blogger design. WooCommerce-ready.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: esartech
*/
:root{--blue:#004ac6;--blue2:#2563eb;--ink:#0d1c2f;--muted:#596579;--bg:#f8f9ff;--soft:#eff4ff;--line:#dce5f5;--white:#fff;--red:#c92b39;--green:#087f5b}
body{font-family:'Hind Siliguri','Inter',sans-serif;color:var(--ink)}
button,input,select,textarea{font:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:focus-visible{outline:3px solid #7aa6ff;outline-offset:3px}
.wp-block-image img{border-radius:12px}
.alignwide{max-width:1180px;margin-left:auto;margin-right:auto}
.alignfull{width:100%;max-width:100%}
.site-main{min-height:45vh}
.entry-content{color:var(--ink)}
.entry-content a{color:var(--blue);text-decoration:underline}
.entry-content h1,.entry-content h2,.entry-content h3{line-height:1.3}
.entry-title{font-family:'Plus Jakarta Sans','Hind Siliguri',sans-serif}
.post-body-content{overflow-wrap:anywhere}
.post-body-content iframe{max-width:100%}
.post-body-content img{border-radius:12px}
.post-meta{color:var(--muted);font-size:13px;margin:8px 0 16px}
.post-card .post-thumb{display:block}
.post-card .post-thumb img{display:block}
.post-card .post-body{gap:5px}
.post-card h3{font-size:18px;line-height:1.4}
.post-card p{margin:0;color:var(--muted)}
.post-card .price{font-weight:800;color:var(--blue);margin-top:8px}
.post-btn{display:inline-flex;justify-content:center;margin-top:10px;background:var(--blue2);color:white;padding:9px 12px;border-radius:8px;font-weight:700}
.woocommerce ul.products{margin:0!important}
.woocommerce ul.products li.product{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px!important;overflow:hidden}
.woocommerce ul.products li.product a img{border-radius:9px}
.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--blue2);color:#fff;border-radius:8px}
.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--blue);color:#fff}
.woocommerce div.product div.images img{border-radius:14px}
.woocommerce-message,.woocommerce-info{border-top-color:var(--blue2)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--blue2)}
@media(max-width:560px){.entry-content{font-size:15px}}

/* WordPress navigation and template adaptations */
.links ul,.footer ul{list-style:none;margin:0;padding:0}
.links ul{display:flex;align-items:center;gap:4px}
.links li{margin:0;padding:0}
.links a{white-space:nowrap}
.brand .custom-logo-link{display:flex;align-items:center}
.brand .custom-logo{width:auto;max-width:210px;max-height:44px;object-fit:contain}
.brand-name{display:block}
.mobile-menu{display:none;border:0;background:transparent;color:var(--ink);padding:7px;cursor:pointer}
.mobile-menu .material-symbols-outlined{font-size:26px}
.footer ul li{margin:0 0 6px}
.footer-logo-link{display:flex;align-items:center;gap:9px}
.footer-brand-name{font:800 17px 'Plus Jakarta Sans','Hind Siliguri',sans-serif}
.footer .btn{margin-top:8px}
.single-wrap{max-width:850px}
.single-post{background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(20px,5vw,48px)}
.single-post .entry-title{font-size:clamp(30px,5vw,44px);line-height:1.2;margin:9px 0}
.single-featured-image{margin:0 0 24px}
.single-featured-image img{display:block;width:100%;height:auto;border-radius:14px}
.entry-content{line-height:1.85}
.entry-content p{margin:0 0 1.2em}
.entry-content h2{margin-top:1.5em}
.post-tags{margin-top:24px}
.post-tags a{display:inline-block;margin:0 6px 6px 0;padding:5px 10px;background:var(--soft);border-radius:99px}
.navigation.pagination{margin-top:26px}
.nav-links{display:flex;gap:8px;flex-wrap:wrap}
.page-numbers{padding:8px 13px;border:1px solid var(--line);background:#fff;border-radius:8px}
.page-numbers.current{background:var(--blue2);color:#fff}
.archive-description{color:var(--muted);max-width:520px}
.preview-thumb{position:relative;z-index:0}
.preview-thumb:before,.preview-thumb:after{z-index:-1}
.preview-content-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.preview-content-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #0d1c2f14}
.content-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.preview-copy h3{font-family:'Hind Siliguri','Inter',sans-serif}
.newsletter{text-align:center}
.newsletter .wrap{max-width:760px}
.newsletter h2{font-family:'Plus Jakarta Sans','Hind Siliguri',sans-serif}
.newsletter p{color:var(--muted)}
.post-thumb .material-symbols-outlined{font-size:44px}
@media(max-width:900px){
  .links{display:none}
  .links.show{display:flex}
  .links ul{align-items:stretch;flex-direction:column;width:100%}
  .links li{width:100%}
  .links a{width:100%}
  .mobile-menu{display:inline-flex;align-items:center;justify-content:center}
  .content-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .links.show{top:64px}
  .content-preview-grid{grid-template-columns:1fr}
  .preview-thumb{height:155px}
  .single-post{padding:20px}
  .nav-actions{gap:4px}
  .footer-grid{grid-template-columns:1fr}
  .search-form input{width:95px}
}
.service-card{position:relative}
.service-card .service-image{width:100%;height:130px;object-fit:cover;border-radius:10px;margin:8px 0}
.service-link{display:inline-flex;color:var(--blue);font-weight:700;font-size:13px;margin-top:7px}
.home-extra-section .section-head h2{margin:6px 0}
.home-extra-section .home-section-content{max-width:100%;}
.home-extra-section .home-section-content>*:first-child{margin-top:0}
.home-extra-section .home-section-content>*:last-child{margin-bottom:0}
.extra-section-image{margin:0 0 22px}
.extra-section-image img{display:block;width:100%;height:auto;max-height:460px;object-fit:cover;border-radius:14px}
.home-extra-section .btn{margin-top:18px}
