:root {
  --mrct-brand: #006344;
  --mrct-brand-dark: #004b34;
  --mrct-accent: #ffd54a;
  --mrct-ink: #172c3c;
  --mrct-muted: #526575;
  --mrct-border: #d9e4e9;
  --mrct-surface: #fff;
  --mrct-bg: #f5f8fa;
  --mrct-radius: 16px;
  --mrct-space: 24px;
  --mrct-body-font: "Roboto", "Noto Sans Bengali", "Nirmala UI", system-ui, sans-serif;
  --mrct-heading-font: "Inter", "Noto Sans Bengali", "Nirmala UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body.mrct-site { margin: 0; color: var(--mrct-ink); background: var(--mrct-bg); font: 400 16px/1.7 var(--mrct-body-font); }
.mrct-site h1, .mrct-site h2, .mrct-site h3, .mrct-site h4 { font-family: var(--mrct-heading-font); line-height: 1.35; overflow-wrap: anywhere; }
.mrct-site h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
.mrct-site h2, .mrct-site h3 { font-weight: 600; }
.mrct-site a { color: var(--mrct-brand); text-underline-offset: 3px; }
.mrct-site img { max-width: 100%; height: auto; }
.mrct-site :focus-visible { outline: 3px solid #2164c0; outline-offset: 4px; }
.mrct-container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.mrct-header { background: var(--mrct-surface); border-bottom: 1px solid var(--mrct-border); }
.mrct-announcement { background: var(--mrct-brand-dark); color: #fff; font-size: .875rem; text-align: center; padding: 8px 0; overflow-wrap: anywhere; }
.mrct-header-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(200px, 2fr) auto; align-items: center; gap: 24px; padding-block: 22px; }
.mrct-brand { font-family: var(--mrct-heading-font); font-size: 1.4rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.mrct-brand a { text-decoration: none; }
.mrct-brand img { width: auto; max-width: 220px; max-height: 64px; vertical-align: middle; }
.mrct-header-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: .875rem; }
.mrct-header-actions a { text-decoration: none; }
.mrct-search, .mrct-header-search .woocommerce-product-search { display: flex; gap: 8px; }
.mrct-search input, .mrct-header-search input[type="search"] { min-width: 0; flex: 1; width: 100%; }
.mrct-site input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .mrct-site select, .mrct-site textarea { font: inherit; color: var(--mrct-ink); background: #fff; border: 1px solid var(--mrct-border); border-radius: 8px; padding: 10px 12px; max-width: 100%; }
.mrct-site button, .mrct-site input[type="submit"], .mrct-site .mrct-button { font: 600 .9rem/1.5 var(--mrct-body-font); cursor: pointer; border: 1px solid transparent; border-radius: 8px; padding: 12px 18px; background: var(--mrct-brand); color: #fff; display: inline-block; text-decoration: none; }
.mrct-site button:hover, .mrct-site .mrct-button:hover { background: var(--mrct-brand-dark); }
.mrct-site button[disabled] { opacity: .6; cursor: not-allowed; }
.mrct-site [hidden] { display: none !important; }
.mrct-nav-bar { background: var(--mrct-brand); }
.mrct-menu { display: flex; gap: 8px 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.mrct-menu > li { position: relative; }
.mrct-menu a { display: block; padding: 13px 0; color: #fff; text-decoration: none; }
.mrct-menu a:hover { text-decoration: underline; }
.mrct-menu .sub-menu { display: none; position: absolute; inset-inline-start: 0; top: 100%; z-index: 20; min-width: 220px; max-width: min(320px, 90vw); list-style: none; padding: 8px 16px; margin: 0; background: var(--mrct-brand-dark); box-shadow: 0 12px 24px #102c3426; }
.mrct-menu li:hover > .sub-menu, .mrct-menu li:focus-within > .sub-menu { display: block; }
.mrct-nav-bar :focus-visible { outline-color: var(--mrct-accent); }
.mrct-main { min-height: 45vh; padding-block: 40px 64px; }
.mrct-panel { padding: clamp(20px, 3vw, 36px); margin-bottom: 24px; background: var(--mrct-surface); border: 1px solid var(--mrct-border); border-radius: var(--mrct-radius); }
.mrct-panel > :first-child { margin-top: 0; }
.mrct-panel > :last-child { margin-bottom: 0; }
.mrct-entry-content { overflow-wrap: anywhere; }
.mrct-entry-content::after { content: ""; display: block; clear: both; }
.mrct-entry-content pre { overflow: auto; }
.mrct-entry-content iframe { max-width: 100%; }
.mrct-entry-content .alignwide { width: 100%; }
.mrct-entry-content .alignleft { float: left; margin: 0 24px 16px 0; }
.mrct-entry-content .alignright { float: right; margin: 0 0 16px 24px; }
.mrct-entry-content .aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .875rem; color: var(--mrct-muted); }
.sticky { border-inline-start: 4px solid var(--mrct-brand); }
.bypostauthor { border-inline-start: 2px solid var(--mrct-border); }
.mrct-footer { padding-block: 40px 20px; background: #102633; color: #e3edf1; }
.mrct-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mrct-footer h2 { font-size: 1.25rem; margin-top: 0; }
.mrct-footer a { color: #e3edf1; }
.mrct-footer ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.mrct-footer li { margin-bottom: 10px; }
.mrct-copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid #ffffff26; font-size: .875rem; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; white-space: nowrap; }
.mrct-skip-link { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); z-index: 100000; padding: 12px 20px; background: #fff; }
.mrct-skip-link:focus { transform: none; }
/* No blanket hero text rules: notices retain their own readable foreground. */
.mrct-site .woocommerce-error, .mrct-site .woocommerce-info, .mrct-site .woocommerce-message { color: var(--mrct-ink); background: #fff; }
.mrct-site .woocommerce ul.products li.product { background: #fff; padding: 16px; border: 1px solid var(--mrct-border); border-radius: 12px; }
.mrct-site .woocommerce ul.products li.product .price { color: var(--mrct-brand); }
.mrct-site .woocommerce table.shop_table { background: #fff; }
@media (max-width: 900px) {
  .mrct-header-row { grid-template-columns: 1fr auto; gap: 16px; }
  .mrct-header-search { grid-column: 1 / -1; grid-row: 2; }
  .mrct-header-actions { justify-content: flex-end; }
  .mrct-site .mrct-menu-toggle:not([hidden]) { display: block; margin-block: 6px; border-color: #ffffff60; }
  .mrct-navigation.is-enhanced #mrct-primary-menu { display: none; }
  .mrct-navigation.is-enhanced.is-open #mrct-primary-menu { display: block; }
  .mrct-menu { display: block; padding-block: 8px; }
  .mrct-menu .sub-menu { display: block; position: static; box-shadow: none; max-width: 100%; min-width: 0; padding-block: 0; }
}
@media (max-width: 540px) {
  .mrct-container { width: calc(100% - 28px); }
  .mrct-header-row { grid-template-columns: 1fr; }
  .mrct-header-search { grid-column: 1; }
  .mrct-header-actions { justify-content: flex-start; }
  .mrct-brand img { max-width: 180px; }
  .mrct-main { padding-block: 24px 40px; }
  .mrct-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .mrct-site { scroll-behavior: auto; } }
