/* Pragati info pages (group "info"): about, contact, FAQ, policies, 404, maintenance,
   blog list + blog post, seller list + shop page, compare.
   This file is loaded on every page (css/pg-pages/ auto-loader), so every rule is scoped under
   .pg-info, the wrapper class those pages put on <section class="pg-page pg-info pg-info-...">.
   Builds on the page kit in pragati-shop.css (.pg-panel, .pg-btn, .pg-chip, .pg-empty, .pg-prose...). */

/* ---------- shared layout ---------- */
/* <body> is a fixed-height flex column (theme), so a .pg-page with min-height would shrink and slide under the footer */
.pg-page.pg-info { flex: 1 0 auto; }
/* the footer's 48px top margin would show as a white strip under the cream page */
.pg-page.pg-info + .pg-footer { margin-top: 0; }
.pg-info .pg-panel.pg-panel-flush { padding: 0; }
.pg-info .pg-info-narrow { max-width: 860px; margin-right: auto; margin-left: auto; }
.pg-info .pg-page-head > div { min-width: 0; }
.pg-info .pg-page-sub { max-width: 640px; line-height: 1.5; }
.pg-info .pg-info-section-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--pg-espresso); }
.pg-info .pg-info-section-title small { font-size: 15px; font-weight: 500; color: var(--pg-muted); }
.pg-info .pg-info-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* help-page tabs: one chip per info page, current page highlighted, scrolls sideways on phones */
.pg-info .pg-info-tabs { display: flex; gap: 8px; margin: -2px 0 16px; padding: 2px 0 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pg-info .pg-info-tabs::-webkit-scrollbar { display: none; }
.pg-info .pg-info-tabs .pg-chip { flex: 0 0 auto; min-height: 36px; font-size: 14px; }
.pg-info .pg-info-tabs .pg-chip.is-active, .pg-info .pg-info-tabs .pg-chip.is-active:hover { color: #fff !important; }

/* ---------- article (about, policies, admin "Contact Us" text, blog post) ---------- */
.pg-info .pg-info-article { padding: 28px 32px; }
.pg-info .pg-info-article > :first-child { margin-top: 0 !important; }
.pg-info .pg-info-article > :last-child { margin-bottom: 0 !important; }
.pg-info .pg-prose { font-size: 15.5px; line-height: 1.75; overflow-wrap: break-word; }
.pg-info .pg-prose h1, .pg-info .pg-prose h2, .pg-info .pg-prose h3,
.pg-info .pg-prose h4, .pg-info .pg-prose h5, .pg-info .pg-prose h6 { margin: 1.5em 0 .55em; font-weight: 700; line-height: 1.35; color: var(--pg-espresso); }
.pg-info .pg-prose h1 { font-size: 24px; }
.pg-info .pg-prose h2 { font-size: 21px; }
.pg-info .pg-prose h3 { font-size: 18px; }
.pg-info .pg-prose h4, .pg-info .pg-prose h5, .pg-info .pg-prose h6 { font-size: 16px; }
.pg-info .pg-prose p { margin: 0 0 1em; }
.pg-info .pg-prose ul, .pg-info .pg-prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.pg-info .pg-prose li { margin: .35em 0; padding-left: .15em; }
.pg-info .pg-prose li::marker { font-weight: 700; color: var(--pg-mocha); }
.pg-info .pg-prose strong, .pg-info .pg-prose b { font-weight: 700; color: var(--pg-espresso); }
.pg-info .pg-prose a { overflow-wrap: anywhere; }
.pg-info .pg-prose hr { margin: 1.6em 0; border: 0; border-top: 1px solid var(--pg-line); opacity: 1; }
.pg-info .pg-prose blockquote { margin: 1.2em 0; padding: 12px 16px; background: var(--pg-cream); border-left: 3px solid var(--pg-gold); border-radius: 0 8px 8px 0; }
.pg-info .pg-prose table { display: block; max-width: 100%; overflow-x: auto; }
.pg-info .pg-prose iframe, .pg-info .pg-prose video { max-width: 100%; }
.pg-info .pg-prose [style*="font-family"] { font-family: inherit !important; }
/* set by info.js: empty spacer paragraphs and a first heading that only repeats the page title */
.pg-info .pg-prose .pg-blank, .pg-info .pg-prose .pg-dup-title { display: none !important; }

/* empty / status card (404, maintenance, empty policy, no blogs...) */
.pg-info .pg-info-state { padding: 16px; }
.pg-info .pg-info-state .pg-empty { max-width: 520px; padding: 40px 8px; }
.pg-info .pg-empty-icon i { line-height: 1; }

/* "still need help" strip under articles */
.pg-info .pg-info-help { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 20px; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); }
.pg-info .pg-info-help-icon { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; font-size: 22px; color: var(--pg-mocha); background: var(--pg-gold-soft); border-radius: 50%; }
.pg-info .pg-info-help-text { flex: 1 1 auto; min-width: 0; }
.pg-info .pg-info-help-title { margin: 0; font-size: 16px; font-weight: 700; color: var(--pg-espresso); }
.pg-info .pg-info-help-sub { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--pg-muted); }
.pg-info .pg-info-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- about ---------- */
.pg-info .pg-info-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pg-info .pg-info-feature { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); }
.pg-info .pg-info-feature-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 22px; color: var(--pg-mocha); background: var(--pg-gold-soft); border-radius: 50%; }
.pg-info .pg-info-feature-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--pg-espresso); }
.pg-info .pg-info-feature-text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--pg-muted); }
.pg-info .pg-info-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 22px 24px; background: var(--pg-gold-soft); border: 1px solid var(--pg-gold-light); border-radius: var(--pg-radius); }
.pg-info .pg-info-cta-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--pg-espresso); }
.pg-info .pg-info-cta-text { margin: 4px 0 0; font-size: 14px; color: var(--pg-text); }

/* ---------- contact ---------- */
.pg-info .pg-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto 1fr; grid-template-areas: "form details" "form map"; align-items: start; gap: 20px; }
.pg-info .pg-contact-main { grid-area: form; }
.pg-info .pg-contact-details { grid-area: details; }
.pg-info .pg-contact-mapcard { grid-area: map; }
.pg-info .pg-contact-main.pg-panel, .pg-info .pg-contact-details.pg-panel, .pg-info .pg-contact-mapcard.pg-panel { margin-top: 0; }
.pg-info .pg-contact-form .pg-btn { min-width: 200px; }
.pg-info .pg-contact-form textarea.form-control { min-height: 140px; resize: vertical; }
.pg-info .pg-contact-form .form-control:invalid:focus { box-shadow: none; }
.pg-info .pg-contact-list { margin: 0; padding: 0; list-style: none; }
.pg-info .pg-contact-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; }
.pg-info .pg-contact-item:first-child { padding-top: 0; }
.pg-info .pg-contact-item:last-child { padding-bottom: 0; }
.pg-info .pg-contact-item + .pg-contact-item { border-top: 1px solid var(--pg-line); }
.pg-info .pg-contact-icon { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; font-size: 20px; color: var(--pg-mocha); background: var(--pg-gold-soft); border-radius: 50%; }
.pg-info .pg-contact-body { min-width: 0; }
.pg-info .pg-contact-label { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--pg-muted); }
.pg-info .pg-contact-value { margin: 0; font-size: 15px; font-weight: 600; font-style: normal; line-height: 1.45; color: var(--pg-espresso); overflow-wrap: anywhere; }
.pg-info .pg-contact-value a { color: var(--pg-mocha) !important; text-decoration: none; }
.pg-info .pg-contact-value a:hover { color: var(--pg-espresso) !important; text-decoration: underline; }
.pg-info .pg-contact-details .pg-btn { margin-top: 16px; }
.pg-info .pg-contact-mapcard { overflow: hidden; }
.pg-info .pg-contact-mapcard .pg-panel-head { margin: 0; padding: 16px 20px 12px; }
.pg-info .pg-contact-map iframe { display: block; width: 100% !important; height: 240px !important; border: 0; }

/* ---------- FAQ ---------- */
.pg-info .pg-faq-search { position: relative; margin-bottom: 14px; }
.pg-info .pg-faq-search > i { position: absolute; top: 50%; left: 14px; font-size: 18px; color: var(--pg-muted); transform: translateY(-50%); pointer-events: none; }
.pg-info .pg-faq-search .pg-input { padding-left: 42px; }
.pg-info .pg-faq { display: grid; gap: 10px; }
.pg-info .pg-faq-item { overflow: hidden; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); transition: border-color .15s, box-shadow .15s; }
.pg-info .pg-faq-item:has(.collapse.show), .pg-info .pg-faq-item:has(.collapsing) { border-color: var(--pg-gold-light); box-shadow: var(--pg-shadow); }
.pg-info .pg-faq-head { margin: 0; font-size: inherit; line-height: inherit; }
.pg-info .pg-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 17px 20px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--pg-espresso); text-align: left; background: #fff; border: 0; box-shadow: none; }
.pg-info .pg-faq-q:hover { background: var(--pg-cream); }
.pg-info .pg-faq-q:focus { outline: 0; }
.pg-info .pg-faq-q:focus-visible { box-shadow: inset 0 0 0 2px rgba(212, 160, 23, .6); }
.pg-info .pg-faq-q:not(.collapsed) { color: var(--pg-mocha); }
.pg-info .pg-faq-q .pg-faq-icon { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-size: 20px; color: var(--pg-mocha); background: var(--pg-gold-soft); border-radius: 50%; transition: transform .2s; }
.pg-info .pg-faq-q:not(.collapsed) .pg-faq-icon { transform: rotate(180deg); }
.pg-info .pg-faq-a { padding: 0 20px 18px; font-size: 15px; line-height: 1.7; color: var(--pg-text); }
.pg-info .pg-faq-a p { margin: 0; }

/* ---------- listing toolbar (blogs, sellers) ---------- */
.pg-info .pg-info-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; padding: 14px 16px; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); }
.pg-info .pg-info-search { position: relative; flex: 1 1 300px; min-width: 0; }
.pg-info .pg-info-search .pg-input { padding-left: 44px; padding-right: 14px; }
.pg-info .pg-info-search .pg-input::-webkit-search-cancel-button { cursor: pointer; }
.pg-info .pg-info-search-btn { position: absolute; top: 50%; left: 6px; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; font-size: 19px; color: var(--pg-mocha); background: transparent; border: 0; border-radius: 50%; transform: translateY(-50%); }
.pg-info .pg-info-search-btn:hover { background: var(--pg-gold-soft); }
.pg-info .pg-info-field { flex: 0 1 260px; min-width: 0; }
.pg-info .pg-info-field .form-select.pg-input { padding-right: 38px; background-position: right 14px center; cursor: pointer; }
.pg-info .pg-info-perpage { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--pg-muted); white-space: nowrap; }
.pg-info .pg-info-perpage .dropdown-toggle { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 76px; min-height: 46px; padding: 0 12px 0 14px; font-size: 15px; font-weight: 600; color: var(--pg-text) !important; text-decoration: none; background: #fff; border: 1px solid #DCCFBD; border-radius: var(--pg-radius-sm); }
.pg-info .pg-info-perpage .dropdown-toggle:hover, .pg-info .pg-info-perpage .dropdown-toggle[aria-expanded="true"] { border-color: var(--pg-gold); }
.pg-info .pg-info-perpage .dropdown-toggle::after { display: inline-block; width: auto; height: auto; margin: 0; font-size: 16px; line-height: 1; vertical-align: middle; color: var(--pg-mocha); border: 0; }
.pg-info .pg-info-perpage .dropdown-menu { min-width: 84px; padding: 6px; background: #fff; border: 1px solid var(--pg-line); border-radius: 10px; box-shadow: var(--pg-shadow); }
.pg-info .pg-info-perpage .dropdown-item { padding: 7px 12px; font-size: 14px; color: var(--pg-text); border-radius: 6px; }
.pg-info .pg-info-perpage .dropdown-item:hover, .pg-info .pg-info-perpage .dropdown-item:focus { color: var(--pg-mocha); background: var(--pg-cream); }
.pg-info .pg-info-perpage .dropdown-item.active { color: #fff; background: var(--pg-mocha); }
.pg-info .pg-info-views { display: flex; gap: 6px; }
.pg-info .pg-info-views a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; font-size: 20px; color: var(--pg-muted) !important; text-decoration: none; background: #fff; border: 1px solid #DCCFBD; border-radius: var(--pg-radius-sm); }
.pg-info .pg-info-views a:hover { color: var(--pg-mocha) !important; border-color: var(--pg-mocha); }
.pg-info .pg-info-views a.active { color: #fff !important; background: var(--pg-mocha); border-color: var(--pg-mocha); }
.pg-info .pg-info-result-note { margin: -6px 0 14px; font-size: 14px; color: var(--pg-muted); }
.pg-info .pg-info-result-note a { margin-left: 6px; }
/* select2 (blog category) inside the toolbar; its dropdown is appended to <body> after the page */
.pg-info .pg-info-toolbar .select2-container { width: 100% !important; }
.pg-info .pg-info-toolbar .select2-container .select2-selection { min-height: 46px; background: #fff; border: 1px solid #DCCFBD; border-radius: var(--pg-radius-sm); box-shadow: none; }
.pg-info .pg-info-toolbar .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 14px; padding-right: 34px; line-height: 44px; color: var(--pg-text); }
.pg-info .pg-info-toolbar .select2-container .select2-selection--single .select2-selection__arrow { top: 0; right: 8px; height: 44px; }
.pg-info .pg-info-toolbar .select2-container .select2-selection--single .select2-selection__arrow b { border-top-color: var(--pg-mocha); }
.pg-info .pg-info-toolbar .select2-container--focus .select2-selection, .pg-info .pg-info-toolbar .select2-container--open .select2-selection { border-color: var(--pg-gold) !important; box-shadow: 0 0 0 3px rgba(212, 160, 23, .22) !important; }
.pg-info-blogs ~ .select2-container .select2-dropdown { border-color: var(--pg-gold-light); border-radius: var(--pg-radius-sm); box-shadow: var(--pg-shadow); }
.pg-info-blogs ~ .select2-container .select2-results__option--highlighted,
.pg-info-blogs ~ .select2-container .select2-results__option--highlighted[aria-selected] { color: var(--pg-espresso) !important; background: var(--pg-gold-soft) !important; }
.pg-info-blogs ~ .select2-container .select2-results__option[aria-selected="true"] { color: #fff; background: var(--pg-mocha); }

/* pagination (CodeIgniter links) */
.pg-info .pg-info-pagination { margin-top: 26px; }
.pg-info .pg-info-pagination .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; background: transparent; border-radius: 0; box-shadow: none; }
.pg-info .pg-info-pagination .page-link { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; margin: 0; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--pg-mocha); background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius-sm) !important; box-shadow: none; }
.pg-info .pg-info-pagination .page-link:hover { color: var(--pg-mocha); background: var(--pg-cream); border-color: var(--pg-mocha); }
.pg-info .pg-info-pagination .page-item.active .page-link { color: #fff; background: var(--pg-mocha); border-color: var(--pg-mocha); }

/* ---------- blog list ---------- */
.pg-info .pg-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pg-info .pg-blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); transition: box-shadow .2s, transform .2s; }
.pg-info .pg-blog-card:hover { box-shadow: 0 10px 24px rgba(43, 33, 24, .12); transform: translateY(-2px); }
.pg-info .pg-blog-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pg-cream); }
.pg-info .pg-blog-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pg-info .pg-blog-card:hover .pg-blog-cover img { transform: scale(1.03); }
.pg-info .pg-blog-cover .pg-blog-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 42px; color: var(--pg-gold); }
.pg-info .pg-blog-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.pg-info .pg-blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 13px; color: var(--pg-muted); }
.pg-info .pg-blog-meta i { font-size: 15px; color: var(--pg-mocha); }
.pg-info .pg-blog-tag { padding: 2px 10px; font-size: 12px; font-weight: 700; color: var(--pg-mocha); background: var(--pg-gold-soft); border-radius: 999px; }
.pg-info .pg-blog-title { display: -webkit-box; margin: 0; overflow: hidden; font-size: 17px; font-weight: 700; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pg-info .pg-blog-title a { color: var(--pg-espresso) !important; text-decoration: none; }
.pg-info .pg-blog-title a:hover { color: var(--pg-mocha) !important; }
.pg-info .pg-blog-excerpt { display: -webkit-box; margin: 0; overflow: hidden; font-size: 14px; line-height: 1.6; color: var(--pg-muted); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.pg-info .pg-blog-more { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 4px; font-size: 14px; }

/* ---------- blog post ---------- */
.pg-info .pg-info-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 14px; }
.pg-info .pg-post-cover { margin: 0; overflow: hidden; background: var(--pg-cream); }
.pg-info .pg-post-cover img { display: block; width: 100%; height: auto !important; max-height: 480px; object-fit: cover; }
.pg-info .pg-post-body { padding: 26px 32px 32px; }
.pg-info .pg-post-title { margin: 8px 0 16px; font-size: 28px; font-weight: 700; line-height: 1.3; color: var(--pg-espresso); }

/* ---------- sellers: shop cards (listing) ---------- */
.pg-info .pg-shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-info .pg-shop-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 18px; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); transition: border-color .2s, box-shadow .2s; }
.pg-info .pg-shop-card:hover { border-color: var(--pg-gold-light); box-shadow: var(--pg-shadow); }
.pg-info .pg-shop-card-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pg-info .pg-shop-avatar { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; overflow: hidden; font-size: 26px; font-weight: 700; color: var(--pg-mocha) !important; text-decoration: none; text-transform: uppercase; background: var(--pg-gold-soft); border: 1px solid var(--pg-line); border-radius: 50%; }
.pg-info .pg-shop-avatar img { width: 100%; height: 100%; padding: 3px; object-fit: contain; background: #fff; }
.pg-info .pg-shop-card-info { flex: 1 1 auto; min-width: 0; }
.pg-info .pg-shop-card-info .pg-shop-stats { margin-top: 8px; }
.pg-info .pg-shop-card-name { margin: 0; overflow: hidden; font-size: 17px; font-weight: 700; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.pg-info .pg-shop-card-name a { color: var(--pg-espresso) !important; text-decoration: none; }
.pg-info .pg-shop-card-name a:hover { color: var(--pg-mocha) !important; }
.pg-info .pg-shop-card-sub { margin: 3px 0 0; font-size: 13px; color: var(--pg-muted); }
.pg-info .pg-shop-stats { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px 0; margin: 0; padding: 0; list-style: none; }
.pg-info .pg-shop-stats li { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 0 18px; }
.pg-info .pg-shop-stats li:first-child { padding-left: 0; }
.pg-info .pg-shop-stats li + li { border-left: 1px solid var(--pg-line); }
.pg-info .pg-shop-stats strong { font-size: 16px; font-weight: 700; line-height: 22px; color: var(--pg-espresso); }
.pg-info .pg-shop-stats small { font-size: 12.5px; color: var(--pg-muted); }
/* supplier rating chip (Meesho "Sold By" style): mocha text on cream */
.pg-info .pg-shop-rate { display: inline-flex; align-items: center; gap: 3px; padding: 1px 9px; font-size: 13px; font-weight: 700; line-height: 20px; color: var(--pg-mocha); background: var(--pg-cream); border: 1px solid var(--pg-gold-light); border-radius: 12px; }
.pg-info .pg-shop-rate i { font-size: 11px; color: var(--pg-gold); }
.pg-info .pg-shop-new { display: inline-flex; align-items: center; padding: 1px 10px; font-size: 12px; font-weight: 700; line-height: 20px; color: var(--pg-mocha); background: var(--pg-gold-soft); border-radius: 12px; }
.pg-info .pg-shop-card-desc { display: -webkit-box; margin: 0; overflow: hidden; font-size: 14px; line-height: 1.55; color: var(--pg-muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pg-info .pg-shop-card-actions { display: flex; gap: 10px; margin-top: auto; }
.pg-info .pg-shop-card-actions .pg-btn { flex: 1 1 auto; }
/* list view (?type=list): one row per shop */
@media (min-width: 768px) {
    .pg-info .pg-shop-grid.is-list { grid-template-columns: minmax(0, 1fr); }
    .pg-info .pg-shop-grid.is-list .pg-shop-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
    .pg-info .pg-shop-grid.is-list .pg-shop-card-top { flex: 0 1 380px; }
    .pg-info .pg-shop-grid.is-list .pg-shop-card-desc { flex: 1 1 200px; order: 3; }
    .pg-info .pg-shop-grid.is-list .pg-shop-card-actions { flex: 0 0 auto; order: 4; margin: 0 0 0 auto; }
}

/* ---------- sellers: shop page ---------- */
.pg-info .pg-shop-head { display: flex; align-items: center; gap: 22px; padding: 24px; }
.pg-info .pg-shop-head .pg-shop-avatar { width: 96px; height: 96px; font-size: 38px; }
.pg-info .pg-shop-head .pg-shop-avatar img { padding: 4px; }
.pg-info .pg-shop-head-main { flex: 1 1 auto; min-width: 0; }
.pg-info .pg-shop-title { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.25; color: var(--pg-espresso); overflow-wrap: anywhere; }
.pg-info .pg-shop-head .pg-shop-card-sub { margin-top: 4px; font-size: 14px; }
.pg-info .pg-shop-head .pg-shop-stats { margin-top: 14px; }
.pg-info .pg-shop-head-actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.pg-info .pg-shop-about { margin-top: 16px; }
.pg-info .pg-shop-about-text { margin: 0; font-size: 15px; line-height: 1.7; color: var(--pg-text); }
.pg-info .pg-shop-products-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 26px 0 14px; }

/* ---------- compare (table is built by custom.js display_compare() inside #compare-items) ---------- */
.pg-info.pg-info-compare #compare-items { gap: 12px; }
.pg-info.pg-info-compare #compare-items > .align-self-end { margin: 0 !important; }
.pg-info .compare-removal .btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--pg-mocha) !important; background: #fff !important; border: 1px solid var(--pg-mocha) !important; border-radius: var(--pg-radius-sm); box-shadow: none !important; }
.pg-info .compare-removal .btn:hover, .pg-info .compare-removal .btn:focus { color: #fff !important; background: var(--pg-mocha) !important; }
.pg-info.pg-info-compare #compare-items > .overflow-auto { max-width: 100%; background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); -webkit-overflow-scrolling: touch; }
.pg-info .compare-table { width: 100%; margin: 0; border: 0 !important; border-collapse: separate; border-spacing: 0; }
.pg-info .compare-table th, .pg-info .compare-table td { padding: 14px 16px; font-size: 14px; line-height: 1.55; color: var(--pg-text); text-align: left !important; vertical-align: top; border: 0 !important; border-bottom: 1px solid var(--pg-line) !important; }
.pg-info .compare-table tr:last-child > th, .pg-info .compare-table tr:last-child > td { border-bottom: 0 !important; }
.pg-info .compare-table td { min-width: 220px; }
.pg-info .compare-table td + td { border-left: 1px solid var(--pg-line) !important; }
.pg-info .compare-table .compare-field { position: sticky; left: 0; z-index: 2; width: 170px; min-width: 120px; font-size: 12px !important; font-weight: 700; letter-spacing: .04em; color: var(--pg-muted) !important; text-transform: uppercase; background: var(--pg-cream); border-right: 1px solid var(--pg-line) !important; }
.pg-info .compare-table .compare_item > .p-5 { position: relative; padding: 0 !important; }
.pg-info .compare-table .compare_item > .p-5 > .text-right { position: absolute; top: 8px; right: 8px; z-index: 3; }
.pg-info .compare-table .compare_item > .p-5 > br { display: none; }
.pg-info .compare-table .remove-compare-item { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0 !important; color: var(--pg-muted); cursor: pointer; background: rgba(255, 255, 255, .95); border-radius: 50%; box-shadow: 0 2px 8px rgba(43, 33, 24, .16); }
.pg-info .compare-table .remove-compare-item:hover { color: var(--pg-espresso); background: var(--pg-gold-soft); }
.pg-info .compare-table .remove-compare-item .fa { font-size: 15px; color: inherit !important; }
.pg-info .compare-table .product-grid { padding: 0 !important; text-align: left; border: 0 !important; }
.pg-info .compare-table .compare-img { display: flex; align-items: center; justify-content: center; width: 100%; height: auto !important; aspect-ratio: 4 / 5; max-height: 260px; overflow: hidden; background: var(--pg-cream); border-radius: 10px !important; }
.pg-info .compare-table .compare-img a { display: block; width: 100%; height: 100%; }
.pg-info .compare-table .compare-img img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
.pg-info .compare-table .product-rating-small { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 10px 0 0 !important; padding: 0 !important; font-size: 12px; color: var(--pg-muted); }
.pg-info .compare-table .product-rating-small .my-auto { margin: 0 !important; }
.pg-info .compare-table .data-product-title { margin: 8px 0 4px; font-size: 15px; font-weight: 500; line-height: 1.4; word-spacing: normal; }
.pg-info .compare-table .data-product-title a { color: var(--pg-text) !important; text-decoration: none; }
.pg-info .compare-table .data-product-title a:hover { color: var(--pg-mocha) !important; }
.pg-info .compare-table .price { display: block; margin: 0 0 12px !important; font-size: 18px; font-weight: 700; color: var(--pg-espresso) !important; text-align: left !important; }
.pg-info .compare-table .price small { font-size: 18px !important; font-weight: 700; color: inherit; }
.pg-info .compare-table .add_to_cart { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 42px; padding: 0 14px; font-size: 14px; font-weight: 600; color: #fff !important; text-decoration: none; background: var(--pg-mocha) !important; border: 1px solid var(--pg-mocha) !important; border-radius: var(--pg-radius-sm) !important; box-shadow: none !important; }
.pg-info .compare-table .add_to_cart:hover, .pg-info .compare-table .add_to_cart:focus { color: #fff !important; background: var(--pg-espresso) !important; border-color: var(--pg-espresso) !important; }
.pg-info .compare-table .rating-container .filled-stars { color: var(--pg-gold); -webkit-text-stroke: 0; text-shadow: none; }

/* ---------- 404 + maintenance ---------- */
.pg-info .pg-info-404-code { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 4px; font-size: 92px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--pg-espresso); }
.pg-info .pg-info-404-code span { display: inline-flex; align-items: center; justify-content: center; width: 86px; height: 86px; font-size: 40px; color: var(--pg-mocha); background: var(--pg-gold-soft); border: 3px solid var(--pg-gold); border-radius: 50%; }
.pg-info .pg-info-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pg-info .pg-info-chips-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--pg-muted); text-align: center; text-transform: uppercase; }
.pg-info .pg-info-404-cats { padding: 22px 8px 8px; border-top: 1px solid var(--pg-line); }
.pg-info .pg-info-contactline { margin-top: 6px; font-size: 14px; color: var(--pg-muted); }

/* ---------- tablets ---------- */
@media (max-width: 991.98px) {
    .pg-info .pg-contact-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "details" "form" "map"; gap: 16px; }
    .pg-info .pg-info-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pg-info .pg-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .pg-info .pg-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pg-info .pg-info-field { flex: 1 1 200px; }
}

/* contact details side by side while the contact grid is a single column (tablets, large phones) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .pg-info .pg-contact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
    .pg-info .pg-contact-item, .pg-info .pg-contact-item:first-child, .pg-info .pg-contact-item:last-child { padding: 0; }
    .pg-info .pg-contact-item + .pg-contact-item { border-top: 0; }
}

/* ---------- phones ---------- */
@media (max-width: 767.98px) {
    .pg-info .pg-info-article { padding: 20px 18px; }
    .pg-info .pg-prose { font-size: 15px; line-height: 1.7; }
    .pg-info .pg-prose h1 { font-size: 21px; }
    .pg-info .pg-prose h2 { font-size: 19px; }
    .pg-info .pg-prose h3 { font-size: 17px; }
    .pg-info .pg-info-tabs { margin-right: calc(var(--bs-gutter-x, 1.5rem) * -.5); padding-right: 12px; }
    .pg-info .pg-info-help { flex-wrap: wrap; padding: 16px; }
    .pg-info .pg-info-help-actions { width: 100%; }
    .pg-info .pg-info-help-actions .pg-btn { flex: 1 1 0; }
    .pg-info .pg-info-cta { flex-direction: column; align-items: flex-start; padding: 18px; }
    .pg-info .pg-info-cta .pg-btn { width: 100%; }
    .pg-info .pg-contact-form .pg-btn { width: 100%; }
    .pg-info .pg-contact-map iframe { height: 220px !important; }
    .pg-info .pg-faq-q { padding: 15px 16px; font-size: 15px; }
    .pg-info .pg-faq-a { padding: 0 16px 16px; font-size: 14.5px; }
    .pg-info .pg-info-toolbar { gap: 10px; padding: 12px; }
    .pg-info .pg-info-search { flex: 1 1 100%; }
    .pg-info .pg-info-field { flex: 1 1 0; }
    .pg-info .pg-info-perpage > span { display: none; }
    .pg-info .pg-info-perpage .dropdown-toggle { min-width: 70px; }
    .pg-info .pg-info-views { display: none; }
    .pg-info .pg-blog-grid { grid-template-columns: minmax(0, 1fr); }
    .pg-info .pg-post-body { padding: 18px 18px 22px; }
    .pg-info .pg-post-title { font-size: 22px; }
    .pg-info .pg-shop-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .pg-info .pg-shop-card { padding: 16px; }
    .pg-info .pg-shop-head { flex-wrap: wrap; gap: 14px; padding: 16px; }
    .pg-info .pg-shop-head .pg-shop-avatar { width: 64px; height: 64px; font-size: 26px; }
    .pg-info .pg-shop-head-main { display: contents; }
    .pg-info .pg-shop-title { flex: 1 1 0; min-width: 0; font-size: 20px; }
    .pg-info .pg-shop-head .pg-shop-stats { flex: 1 1 100%; flex-wrap: nowrap; margin-top: 0; padding: 12px 0 0; border-top: 1px solid var(--pg-line); }
    .pg-info .pg-shop-head .pg-shop-stats li { flex: 1 1 0; min-width: 0; }
    .pg-info .pg-shop-stats li { padding: 0 14px; }
    .pg-info .pg-shop-head-actions { flex: 1 1 100%; flex-direction: row; }
    .pg-info .pg-shop-head-actions .pg-btn { flex: 1 1 0; }
    .pg-info .pg-shop-products-head { margin-top: 20px; }
    .pg-info .compare-table th, .pg-info .compare-table td { padding: 12px; }
    .pg-info .compare-table td { min-width: 180px; }
    .pg-info .compare-table .compare-field { width: 104px; min-width: 104px; font-size: 11px !important; }
    .pg-info .pg-info-404-code { font-size: 72px; }
    .pg-info .pg-info-404-code span { width: 68px; height: 68px; font-size: 32px; }
    .pg-info .pg-info-state .pg-empty { padding: 28px 4px; }
    .pg-info .pg-info-actions .pg-btn { flex: 1 1 0; }
}
