/* ==========================================================================
   Marudhar Art — brand layer on top of style.css
   Loaded after style.css by both the HTML demo and the WordPress theme.
   ========================================================================== */

:root {
  --accent: #5f7a14;
  --accent-dark: #4a6010;
  --brand: #8fae1b;
  --gold: #b88a44;
}

/* ---------- Logo ---------- */
.logo img { height: 40px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text small { font-family: var(--font-body); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-top: 4px; }
.site-footer .logo img { background: #fff; border-radius: 10px; padding: 5px; height: 46px; }
.site-footer .logo__text small { color: rgba(243, 234, 220, .6); }
.header-cta { display: inline-flex; }
.main-nav .current-menu-item > a, .main-nav a.is-active { color: var(--accent); }
.wp-nav ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Product card (catalogue / enquiry) ---------- */
.product-card__media img { object-fit: cover; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--ink-mute); }
.product-card__meta span { padding: 3px 9px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); }
.price__unit { font-size: 13px; color: var(--ink-mute); font-weight: 500; }
.quick-add { text-decoration: none; }

/* ---------- Product page ---------- */
.pdp-info .price__unit { font-size: 15px; }
.moq-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent-dark); background: #eef2df; border-radius: var(--radius-pill); padding: 6px 14px; margin: 10px 0 14px; }
.key-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 22px; }
.key-specs div { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); padding: 12px 14px; }
.key-specs small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; margin-bottom: 2px; }
.key-specs strong { font-size: 15px; font-weight: 600; }
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pdp-actions .btn--accent { grid-column: span 2; }
.pdp-badges div:nth-child(1)::before { content: "🌳"; }
.pdp-badges div:nth-child(2)::before { content: "✋"; }
.pdp-badges div:nth-child(3)::before { content: "📐"; }

/* Specifications + additional information: always open, no click or tap needed */
.pspec { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: clamp(40px, 6vw, 72px); }
.pspec-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.pspec-card + .pspec-card { margin-top: clamp(20px, 3vw, 28px); }
.pspec-card h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 14px; }
.pspec-card h3 { font-size: 19px; margin: 26px 0 10px; }
.pspec-card .spec-table th { width: 44%; }
.pspec-card .spec-table tr:last-child th, .pspec-card .spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr.is-key th { color: var(--ink); }
.spec-table tr.is-key td { font-weight: 600; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.feature-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-soft); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: #eef2df; color: var(--accent-dark); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag-list a, .tag-list span { font-size: 12.5px; padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--ink-soft); background: var(--bg); }
.tag-list a:hover { border-color: var(--accent); color: var(--accent); }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 12px; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.info-list li:last-child { border-bottom: 0; }
.info-list span { color: var(--ink-mute); font-weight: 600; }
.info-list strong { text-align: right; font-weight: 600; }

/* Product samples (under Product specifications) */
.samples { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.samples__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.samples__head h3 { margin: 0; }
.samples__head p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.samples__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.samples__grid button { padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); aspect-ratio: 1; position: relative; }
.samples__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.samples__grid button:hover img { transform: scale(1.06); }
.samples__grid button::after { content: "⤢"; position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 253, 249, .92); display: grid; place-items: center; font-size: 13px; opacity: 0; transition: opacity .25s; }
.samples__grid button:hover::after { opacity: 1; }

/* ---------- Google reviews ---------- */
.greviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.greviews__head h2 { font-size: clamp(30px, 4.2vw, 52px); margin: 0; }
.greviews__summary { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
.greviews__g { width: 34px; height: 34px; flex-shrink: 0; }
.greviews__summary strong { font-family: var(--font-display); font-size: 34px; font-weight: 400; line-height: 1; }
.greviews__summary small { display: block; font-size: 12.5px; color: var(--ink-soft); }
.greviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.greview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.greview__top { display: flex; align-items: center; gap: 12px; }
.greview__top img, .greview__top .avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.greview__top strong { display: block; font-size: 14.5px; }
.greview__top small { color: var(--ink-mute); font-size: 12.5px; }
.greview p { margin: 0; color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.greview--placeholder { border-style: dashed; background: transparent; }
.greviews__foot { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.greviews__note { text-align: center; font-size: 12.5px; color: var(--ink-mute); margin-top: 14px; }

/* ---------- Enquiry modal + lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(26, 17, 11, .6); backdrop-filter: blur(3px); }
.modal__panel { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); animation: modalIn .35s var(--ease) both; }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__panel h3 { font-size: 28px; margin-bottom: 4px; padding-right: 40px; }
.modal__panel > p { color: var(--ink-soft); font-size: 14.5px; }
.modal__product { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); margin-bottom: 18px; font-size: 14px; }
.modal__product img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; }
.modal__product:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--ink-mute); margin: 12px 0 0; text-align: center; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; }
.form-msg.is-ok { display: block; background: #e7efe2; color: var(--success); }
.form-msg.is-err { display: block; background: #f7e3df; color: var(--danger); }
.lightbox { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; background: rgba(20, 13, 9, .9); padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: var(--radius-sm); background: #fff; }
.lightbox button { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .92); font-size: 18px; }
.lightbox [data-lb-close] { top: 18px; right: 18px; }
.lightbox [data-lb-prev] { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox [data-lb-next] { right: 18px; top: 50%; transform: translateY(-50%); }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- About ---------- */
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.album { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.album figure { margin: 0; }
.album img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.album figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.cat-grid--wide { grid-template-columns: repeat(6, 1fr); row-gap: 28px; }
.hero-media__img img { object-fit: cover; }
.wp-pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.wp-pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: var(--radius-pill); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.wp-pagination .page-numbers.current, .wp-pagination .page-numbers:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bottom-nav a, .bottom-nav button { text-decoration: none; }

@media (max-width: 1000px) {
  .pspec { grid-template-columns: 1fr; }
  .greviews__grid { grid-template-columns: 1fr 1fr; }
  .album { grid-template-columns: 1fr 1fr; }
  .cat-grid--wide { grid-template-columns: repeat(3, 1fr); }
  .header-cta { display: none; }
}
@media (max-width: 640px) {
  .feature-list, .fact-grid, .greviews__grid { grid-template-columns: 1fr; }
  .samples__grid { grid-template-columns: repeat(3, 1fr); }
  .key-specs { grid-template-columns: 1fr 1fr; }
  .cat-grid--wide { grid-template-columns: repeat(2, 1fr); }
  .info-list li { flex-direction: column; gap: 2px; }
  .info-list strong { text-align: left; }
}
