/*
Theme Name: HI Modern
Theme URI: https://www.home-interiors.in/
Author: Home-Interiors
Description: Fast, SEO-friendly magazine theme for Kerala home designs, house plans and interiors. Built for Home-Interiors.in.
Version: 1.0.8
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hi-modern
*/

:root {
	--green: #14532d;
	--green-2: #1a6b3c;
	--green-3: #0f3d24;
	--mint: #8fd19e;
	--ink: #16211b;
	--text: #3b463f;
	--muted: #6b746e;
	--line: #e6e8e3;
	--bg: #ffffff;
	--soft: #f6f6f2;
	--card: #ffffff;
	--radius: 14px;
	--shadow: 0 2px 10px rgba(20, 40, 28, .07);
	--shadow-h: 0 10px 28px rgba(20, 40, 28, .14);
	--serif: "DM Serif Display", Georgia, "Times New Roman", serif;
	--sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green-2); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.ico { flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #fff; border: 2px solid var(--green); padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .2s, transform .2s; }
.btn:hover { background: var(--green-3); border-color: var(--green-3); color: #fff; }
.btn-outline { background: #fff; color: var(--green); }
.btn-outline:hover { background: var(--soft); color: var(--green); }
.btn-outline.saved { background: #fdf0f0; color: #b42318; border-color: #f3c9c5; }
.btn-light { background: #fff; color: var(--green); border-color: #fff; }
.btn-light:hover { background: var(--mint); border-color: var(--mint); color: var(--green-3); }
.btn.block { width: 100%; }
.btn-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; white-space: nowrap; }
.btn-pill:hover { border-color: var(--green-2); color: var(--green); }
.btn-pill.ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); color: #fff; }
.btn-pill.ghost:hover { background: #fff; color: var(--green); }
.arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.arrow:hover { border-color: var(--green-2); color: var(--green); }
.arrow.sm { width: 30px; height: 30px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { flex: none; }
.brand .custom-logo { max-height: 56px; width: auto; }
.brand-link { display: flex; align-items: center; gap: 10px; color: var(--green); }
.brand-link:hover { color: var(--green); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 27px; color: var(--ink); letter-spacing: -.01em; }
.brand-tag { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.brand-link.light, .brand-link.light .brand-name { color: #fff; }
.brand-link.light .brand-tag { color: rgba(255,255,255,.7); }
.primary-nav { flex: 1; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a { display: block; padding: 24px 12px; font-size: 15px; font-weight: 500; color: var(--ink); position: relative; }
.primary-nav .menu > li.current-menu-item > a::after, .primary-nav .menu > li > a:hover::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 16px; height: 2px; background: var(--green-2); border-radius: 2px; }
.primary-nav .menu > li.menu-item-has-children > a { padding-right: 26px; }
.primary-nav .menu > li > a { white-space: nowrap; }
.primary-nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-h); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: 14.5px; }
.primary-nav .sub-menu a:hover { background: var(--soft); color: var(--green); }
.header-search { flex: 0 1 330px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; background: #fff; color: var(--muted); }
.header-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 14px; padding: 8px 0; background: transparent; color: var(--ink); }
.header-search button, .search-form button { border: 0; background: var(--green); color: #fff; border-radius: 999px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 470px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--green-3); }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 70% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,15,.88) 0%, rgba(8,24,15,.66) 38%, rgba(8,24,15,.12) 68%, rgba(8,24,15,0) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; }
.kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.kicker.dark { color: var(--muted); }
.hero-title { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.08; max-width: 620px; margin-bottom: 18px; }
.hero-title span { display: block; color: var(--mint); }
.hero-sub { font-size: 18px; max-width: 520px; color: rgba(255,255,255,.92); }
.hero-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; max-width: 580px; margin: 26px 0 18px; color: var(--muted); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; padding: 12px 0; color: var(--ink); background: transparent; }
.hero-search button { border: 0; background: var(--green-2); color: #fff; font-weight: 600; padding: 13px 34px; border-radius: 999px; }
.hero-search button:hover { background: var(--green); }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.popular span { font-weight: 600; margin-right: 4px; }
.popular a { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 5px 14px; border-radius: 999px; font-size: 13px; }
.popular a:hover { background: #fff; color: var(--green); }

/* ---------- Category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; margin-top: 26px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 10px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }
.tile.t1 { background: #eef6ef; } .tile.t2 { background: #fbf3ea; } .tile.t3 { background: #eef3f8; } .tile.t4 { background: #fdf1e8; }
.tile-ico { color: var(--green); margin-bottom: 4px; }
.tile.t2 .tile-ico, .tile.t4 .tile-ico { color: #b86a2b; }
.tile.t3 .tile-ico { color: #1f5d86; }
.tile-name { color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.tile-sub { color: var(--muted); font-size: 12px; display: inline-flex; gap: 4px; align-items: center; }

/* ---------- Sections ---------- */
.section { padding-top: 48px; padding-bottom: 8px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); margin: 0; }
.sec-sub { margin: 4px 0 0; color: var(--muted); }
.sec-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.sec-head.light .sec-title { color: #fff; }
.sec-head.light .sec-sub { color: rgba(255,255,255,.85); }
.mini-title { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; color: var(--green); }
.big-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.thumb-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #b9c4bc; }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-family: var(--sans); font-size: 15.5px; font-weight: 600; line-height: 1.4; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--ink); }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title a:hover { color: var(--green); }
.card-specs { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.card-specs li { display: inline-flex; align-items: center; gap: 5px; }
.card-specs li.full { flex-basis: 100%; }
.card-meta { font-size: 13px; color: var(--muted); margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.card-link { margin-top: auto; color: var(--green-2); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Plans band ---------- */
.plans-band { background: linear-gradient(90deg, #f4f4ef 0%, #fafaf7 100%); margin-top: 48px; padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans-grid { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: center; }
.plans-intro p { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink); font-weight: 500; }
.chip:hover { border-color: var(--green-2); color: var(--green); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.card-plan .card-media { aspect-ratio: 4 / 3; background: #fff; }
.card-plan .card-media img { object-fit: cover; }

/* ---------- Interiors band ---------- */
.interior-band { margin-top: 48px; padding: 36px 0 40px; background: linear-gradient(120deg, #3a2a1c 0%, #5b4430 60%, #2f2418 100%); }
.int-card { display: block; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .2s; }
.int-card:hover { transform: translateY(-3px); }
.int-media { display: block; aspect-ratio: 4 / 3; background: #e9e4dc; overflow: hidden; }
.int-media img { width: 100%; height: 100%; object-fit: cover; }
.int-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: 14px; }
.round { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---------- Browse + about ---------- */
.browse-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; background: var(--soft); border-radius: var(--radius); padding: 24px; }
.browse-grid .chips { margin: 0; }
.about-seo { padding-top: 40px; padding-bottom: 48px; }
.about-seo h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.about-seo p { color: var(--muted); max-width: 980px; }
.widget-row { margin: 28px auto; }

/* ---------- Footer ---------- */
.site-footer { background: #10281c; color: rgba(255,255,255,.78); margin-top: 20px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .9fr 1.5fr .9fr 1.3fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.site-footer .btn-light { color: var(--green); }
.site-footer .btn-light:hover { color: var(--green-3); }
.f-brand p { margin-top: 14px; }
.f-title { color: #fff; font-weight: 600; font-size: 16px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.two-col { columns: 2; column-gap: 20px; }
.socials { display: flex; gap: 10px; margin-top: 16px !important; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { background: #fff; color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 18px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 18px; }
.footer-bottom li { margin: 0; }

/* ---------- Archive ---------- */
.archive-hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 18px 0 28px; }
.archive-title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); margin: 10px 0 6px; }
.archive-title small { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.archive-desc { color: var(--muted); max-width: 900px; }
.archive-desc p:last-child { margin: 0; }
.search-form { display: flex; align-items: center; gap: 8px; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 16px; color: var(--muted); margin: 14px 0; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; padding: 9px 0; background: transparent; }
.search-form button { width: auto; padding: 0 20px; font-weight: 600; }
.pagination { margin: 36px 0 20px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); font-weight: 500; background: #fff; }
.page-numbers.current { background: var(--green); border-color: var(--green); color: #fff; }
a.page-numbers:hover { border-color: var(--green-2); color: var(--green); }
.page-numbers.dots { border: 0; }
.empty { text-align: center; padding: 40px 0; }
.empty .search-form { margin: 18px auto; }
.big-404 { font-family: var(--serif); font-size: 110px; line-height: 1; color: var(--green); margin: 0; }
.page-wrap { max-width: 900px; padding-top: 28px; padding-bottom: 40px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.crumbs .sep, .crumbs .separator { margin: 0 4px; color: #b5bbb6; }
.crumbs p { margin: 0; }
.crumbs .last { color: var(--ink); }

/* ---------- Single ---------- */
.single-top { padding-top: 16px; }
.single-main, .single-aside { min-width: 0; }
.single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding-top: 6px; }
.entry-title { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.12; margin: 10px 0 12px; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.entry-meta span { display: inline-flex; align-items: center; gap: 6px; }
.entry-meta .avatar { border-radius: 50%; width: 28px; height: 28px; }
.entry-meta a { color: var(--ink); font-weight: 500; }

.gallery { margin-bottom: 26px; }
.gallery-main { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs-wrap { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.thumbs { list-style: none; margin: 0; padding: 2px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; flex: 1; scroll-snap-type: x mandatory; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs li { flex: 0 0 calc((100% - 40px) / 5); scroll-snap-align: start; }
.thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--soft); aspect-ratio: 3 / 2; }
.thumbs button.active { border-color: var(--green-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 24px; box-shadow: var(--shadow); }
.box-title { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 14px; }

.entry-content { font-size: 17px; line-height: 1.8; color: #2f3a33; overflow-wrap: break-word; }
.entry-content h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 1.6em 0 .6em; }
.entry-content h3 { font-size: 21px; margin: 1.5em 0 .5em; }
.entry-content h4 { font-size: 18px; margin: 1.4em 0 .5em; }
.entry-content img { border-radius: 12px; margin: 1.2em auto; }
.entry-content figure { margin: 1.4em 0; }
.entry-content figcaption { text-align: center; font-size: 14px; color: var(--muted); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--green-2); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.entry-content blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--green-2); background: var(--soft); border-radius: 0 10px 10px 0; }
.entry-content iframe { width: 100%; border-radius: 12px; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignleft { float: left; margin: .4em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.4em; }
.entry-content > *:last-child { margin-bottom: 0; }
.wp-block-image img { border-radius: 12px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { font-weight: 500; color: var(--muted); width: 50%; }
.spec-table td { font-weight: 600; color: var(--ink); }
.spec-table tr:nth-child(odd) { background: #fafaf7; }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.designer { background: #fbf8f1; }
.designer-grid { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 22px; align-items: center; }
.designer-id { display: flex; align-items: center; gap: 14px; }
.avatar-ph { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--serif); font-size: 30px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.d-name { font-weight: 700; font-size: 17px; margin: 0; }
.d-name a { color: var(--ink); }
.d-count { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.d-contacts { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.d-contacts li { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--green); }
.d-contacts span { color: var(--muted); min-width: 74px; }
.d-contacts a { color: var(--ink); font-weight: 500; word-break: break-all; }
.d-contacts .d-desc { color: var(--text); display: block; }
.d-cta { display: flex; flex-direction: column; gap: 8px; }

.tags { font-size: 14px; margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tags a { background: var(--soft); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; color: var(--ink); }

.single-aside { position: sticky; top: 96px; }
.admin-bar .single-aside { top: 128px; }
.share { display: flex; gap: 8px; justify-content: flex-end; margin: 10px 0 16px; }
.share a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.share a:hover { opacity: .88; color: #fff; }
.s-fb { background: #1877f2; } .s-x { background: #111; } .s-pin { background: #e60023; } .s-wa { background: #25d366; }
.quick { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 8px; background: #fff; box-shadow: var(--shadow); }
.quick-title { font-weight: 700; color: var(--ink); font-size: 17px; margin-bottom: 10px; }
.quick ul { list-style: none; margin: 0; padding: 0; }
.quick li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.quick li:first-child { border-top: 0; }
.q-ico { width: 40px; height: 40px; border-radius: 10px; background: #eef6ef; color: var(--green); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.q-txt { display: flex; flex-direction: column; line-height: 1.3; }
.q-label { font-size: 12.5px; color: var(--muted); }
.q-txt strong { color: var(--ink); font-size: 15px; }
.q-txt small { color: var(--muted); font-size: 12px; }
.aside-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.aside-widgets { margin-top: 20px; }
.widget { margin-bottom: 20px; }
.widget-title { font-weight: 700; color: var(--ink); }

.similar { padding-bottom: 20px; }
.comments .comment-list { list-style: none; padding: 0; }
.comments .comment-body { border-bottom: 1px solid var(--line); padding: 14px 0; }
.comments .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; }
.page-links { margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.header-search { flex-basis: 240px; }
	.primary-nav .menu > li > a { padding-left: 9px; padding-right: 9px; }
	.cat-tiles { grid-template-columns: repeat(4, 1fr); }
	.scroller { grid-auto-columns: calc((100% - 60px) / 4); }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1.5fr 1fr; }
	.f-cta { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
	.nav-toggle { display: inline-flex; }
	.header-inner { gap: 12px; min-height: 66px; flex-wrap: wrap; }
	.primary-nav { display: none; flex-basis: 100%; order: 5; }
	.nav-open .primary-nav { display: block; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
	.primary-nav .menu > li > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a::after { display: none; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.header-search { order: 6; flex-basis: 100%; margin-bottom: 10px; }
	.nav-open .header-search { display: flex; }
	.single-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.single-main { display: contents; }
	.single-main > *, .single-aside { min-width: 0; order: 4; }
	.single-main > .entry-head { order: 1; }
	.single-main > .gallery { order: 2; }
	.single-aside { position: static; order: 3; margin-bottom: 24px; }
	.share { justify-content: flex-start; margin-top: 0; }
	.quick ul { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 16px; }
	.quick li:nth-child(2) { border-top: 0; }
	.aside-cta { flex-direction: row; }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-6 { grid-template-columns: repeat(3, 1fr); }
	.plans-grid { grid-template-columns: 1fr; }
	.designer-grid { grid-template-columns: 1fr; }
	.d-cta { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; position: relative; }
	.header-search { display: none; }
	.hero { min-height: 0; }
	.hero::after { background: linear-gradient(180deg, rgba(8,24,15,.35) 0%, rgba(8,24,15,.6) 45%, rgba(8,24,15,.85) 100%); }
	.hero-bg img { object-position: 60% center; }
	.hero-inner { padding-top: 40px; padding-bottom: 40px; }
	.hero-sub { font-size: 16px; }
	.hero-search button { padding: 12px 20px; }
	.cat-tiles { grid-template-columns: repeat(4, 1fr); gap: 10px; }
	.tile { padding: 14px 6px 12px; }
	.tile-name { font-size: 12.5px; }
	.tile-sub { display: none; }
	.scroller { grid-auto-columns: 72%; gap: 14px; }
	.sec-head { align-items: flex-start; flex-direction: column; }
	.sec-head .arrow { display: none; }
	.browse-grid { grid-template-columns: 1fr; padding: 18px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
	.f-brand, .f-col-2, .f-cta { grid-column: 1 / -1; }
	.box { padding: 18px; }
	.entry-content { font-size: 16.5px; }
	.thumbs li { flex-basis: calc((100% - 30px) / 4); }
}
@media (max-width: 520px) {
	.wrap { padding-left: 16px; padding-right: 16px; }
	.brand-name { font-size: 23px; }
	.brand-tag { font-size: 8.5px; }
	.hero-search { padding-left: 14px; }
	.hero-search .ico { display: none; }
	.grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.grid-4 .card-body { padding: 10px 11px 12px; }
	.grid-4 .card-title { font-size: 14px; }
	.grid-4 .card-specs { font-size: 12px; }
	.grid-6 { grid-template-columns: 1fr 1fr; }
	.quick ul { grid-template-columns: 1fr 1fr; column-gap: 10px; }
	.quick { padding: 14px 14px 6px; }
	.q-ico { width: 32px; height: 32px; border-radius: 8px; }
	.quick li { gap: 8px; }
	.q-txt strong { font-size: 14px; }
	.aside-cta { flex-direction: column; }
	.entry-content .alignleft, .entry-content .alignright { float: none; margin: 1em auto; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
