/* Handicraft — light full-width theme for metal wall art, planters & pots */

body.theme-handicraft {
  /* Moradabad Handicrafts palette */
  --hc-ink: #1E242B;
  --hc-muted: #5B6570;
  --hc-bg: #FAF9F6;
  --hc-mist: #F1EEE7;
  --hc-card: #FFFFFF;
  --hc-line: #E6E2DA;
  --hc-sage: #1E242B;
  --hc-sage-deep: #1E242B;
  --hc-metal: #C59B27;
  --hc-metal-soft: rgba(197, 155, 39, 0.18);
  --hc-leaf: #8A9A7B;
  --hc-header: #FFFFFF;
  --hc-top: #F3F0EA;
  --mh-gold: #C59B27;
  --mh-charcoal: #1E242B;
  --mh-bg: #FAF9F6;
  --hc-radius: 0.55rem;
  --hc-shadow: 0 14px 40px rgba(62, 79, 65, 0.08);
  /* Full-width layout with consistent slight padding on every page */
  --hc-gutter: clamp(1.75rem, 4vw, 3rem);
  --hc-page-y: clamp(1.5rem, 3vw, 2.5rem);

  background:
    radial-gradient(1100px 420px at 8% -12%, rgba(125, 155, 120, 0.16), transparent 55%),
    radial-gradient(900px 380px at 92% 0%, rgba(168, 137, 92, 0.12), transparent 50%),
    var(--color-bg, var(--hc-bg));
  color: var(--color-text, var(--hc-ink));
}

html.theme-dark body.theme-handicraft {
  --hc-ink: #EDEAE4;
  --hc-muted: #A8A29A;
  --hc-bg: #141512;
  --hc-mist: #1C1E1A;
  --hc-card: #1C1E1A;
  --hc-line: #2E322C;
  --hc-sage: #A3B89E;
  /* Keep sage-deep light in dark mode — used for nav/brand text */
  --hc-sage-deep: #EDEAE4;
  --hc-metal: #CDB589;
  --hc-metal-soft: rgba(205, 181, 137, 0.2);
  --hc-leaf: #9BB894;
  --hc-header: #1C1E1A;
  --hc-top: #121410;
  --mh-gold: #CDB589;
  --mh-charcoal: #EDEAE4;
  --mh-bg: #141512;
  --hc-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  background:
    radial-gradient(900px 380px at 10% -10%, rgba(125, 155, 120, 0.12), transparent 55%),
    var(--color-bg, var(--hc-bg));
}

/* Dark mode: keep menu bar readable (site.css dark rules are overridden by theme) */
html.theme-dark body.theme-handicraft .hc-header,
html.theme-dark body.theme-handicraft .hc-shell .site-header {
  background: var(--hc-header);
  border-bottom-color: var(--hc-line);
  color: var(--hc-ink);
}
html.theme-dark body.theme-handicraft .hc-nav-bar.nav-bar {
  background: var(--hc-mist);
  border-top-color: var(--hc-line);
  border-bottom-color: var(--hc-line);
}
html.theme-dark body.theme-handicraft .hc-nav-bar .primary-nav a {
  color: var(--hc-ink);
}
html.theme-dark body.theme-handicraft .hc-nav-bar .primary-nav a:hover,
html.theme-dark body.theme-handicraft .hc-nav-bar .primary-nav a.active {
  color: var(--hc-metal);
  border-bottom-color: var(--hc-metal);
}
html.theme-dark body.theme-handicraft .hc-nav-bar .primary-nav .sub-menu {
  background: var(--hc-card);
  border-color: var(--hc-line);
}
html.theme-dark body.theme-handicraft .hc-nav-bar .primary-nav .sub-menu a {
  color: var(--hc-ink);
}
html.theme-dark body.theme-handicraft .hc-nav-bar .site-search input[type="search"] {
  background: var(--hc-card);
  border-color: var(--hc-line);
  color: var(--hc-ink);
}
html.theme-dark body.theme-handicraft .hc-header .nav-toggle {
  color: var(--hc-ink);
  border-color: var(--hc-line);
  background: var(--hc-card);
}
html.theme-dark body.theme-handicraft .mh-trust-card,
html.theme-dark body.theme-handicraft .mh-why-card,
html.theme-dark body.theme-handicraft .block-icon-text-cards .block-icon-text-item {
  background: var(--hc-card);
  border-color: var(--hc-line);
}

/* —— Full width shell: same slight padding on ALL pages —— */
body.theme-handicraft .wrap,
body.theme-handicraft .hc-topbar-inner,
body.theme-handicraft .hc-header-bar,
body.theme-handicraft .hc-nav-inner,
body.theme-handicraft .hc-footer > .wrap {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--hc-gutter);
  box-sizing: border-box;
}

/* Main shells: home, posts, pages, catalog, product, contact, search */
body.theme-handicraft main.wrap,
body.theme-handicraft .wrap.layout-1col,
body.theme-handicraft .wrap.layout-2col,
body.theme-handicraft .wrap.news-home,
body.theme-handicraft .wrap.home-blocks,
body.theme-handicraft .wrap.page-news-full {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding-inline: var(--hc-gutter);
  padding-block: var(--hc-page-y) clamp(2.5rem, 5vw, 3.5rem);
}

body.theme-handicraft .layout-1col .content,
body.theme-handicraft .layout-2col .content,
body.theme-handicraft .page-news-full .news-full-content,
body.theme-handicraft .catalog-page,
body.theme-handicraft .catalog-product,
body.theme-handicraft .catalog-category-page,
body.theme-handicraft article.single,
body.theme-handicraft .home-blocks .content {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

body.theme-handicraft .layout-2col {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
body.theme-handicraft .layout-2col.sidebar-left {
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
}

/* Inner content breathing room (forms, product, cards) */
body.theme-handicraft .content.catalog-page,
body.theme-handicraft .content.catalog-category-page,
body.theme-handicraft article.catalog-product,
body.theme-handicraft article.single,
body.theme-handicraft .site-form-card,
body.theme-handicraft .site-form-card-wide {
  box-sizing: border-box;
}
body.theme-handicraft .site-form-card,
body.theme-handicraft .site-form-card-wide {
  max-width: none;
  width: 100%;
}

body.theme-handicraft .product-grid,
body.theme-handicraft .post-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
@media (min-width: 1400px) {
  body.theme-handicraft .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  }
}

/* —— Soft top strip —— */
body.theme-handicraft .top-social {
  display: none !important;
}

.hc-topbar {
  background: var(--color-top-bar, var(--hc-top));
  color: var(--hc-muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--hc-line);
}
.hc-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.35rem;
  padding: 0.4rem 0;
  flex-wrap: wrap;
}
.hc-topbar-left,
.hc-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}
.hc-topbar a {
  color: var(--hc-sage-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hc-topbar a:hover {
  color: var(--hc-metal);
  border-bottom-color: var(--hc-metal);
}
.hc-topbar .hc-kicker {
  color: var(--hc-muted);
  max-width: min(52rem, 72vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-topbar .theme-toggle {
  color: var(--hc-sage-deep);
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

/* —— Light brand header —— */
.hc-shell .site-header,
body.theme-handicraft .hc-header {
  background: var(--color-header, var(--hc-header));
  border-bottom: 1px solid var(--hc-line);
  color: var(--hc-ink);
  box-shadow: 0 8px 28px rgba(42, 41, 38, 0.04);
}
.hc-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0 1rem;
}
.hc-header .site-brand {
  color: var(--hc-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.hc-header .site-title {
  font-family: var(--font-logo, var(--font-heading), Georgia, serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--hc-sage-deep);
  line-height: 1.15;
}
.hc-header .site-logo {
  max-height: 3rem;
  width: auto;
  filter: none;
}
.hc-header .nav-toggle {
  color: var(--hc-sage-deep);
  border-color: var(--hc-line);
  background: var(--hc-card);
}
.hc-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: var(--mh-gold, var(--hc-metal));
  color: #1E242B !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px var(--hc-metal-soft);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.hc-header-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .hc-header-cta { display: none; }
}

/* —— Nav (light) —— */
.hc-nav-bar.nav-bar {
  background: var(--hc-mist);
  border-top: 1px solid var(--hc-line);
  border-bottom: 1px solid var(--hc-line);
}
.hc-nav-inner.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0;
}
body.theme-handicraft .hc-nav-bar .primary-nav a {
  color: var(--hc-sage-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.95rem 0.65rem;
  border-bottom: 2px solid transparent;
}
body.theme-handicraft .hc-nav-bar .primary-nav a:hover,
body.theme-handicraft .hc-nav-bar .primary-nav a.active {
  color: var(--hc-metal);
  border-bottom-color: var(--hc-metal);
  background: transparent;
}
body.theme-handicraft .hc-nav-bar .primary-nav .sub-menu {
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  box-shadow: var(--hc-shadow);
  border-radius: var(--hc-radius);
}
body.theme-handicraft .hc-nav-bar .primary-nav .sub-menu a {
  color: var(--hc-ink);
  text-transform: none;
  letter-spacing: 0.02em;
  border-bottom: none;
  padding: 0.55rem 0.9rem;
}
body.theme-handicraft .hc-nav-bar .primary-nav .sub-menu a:hover,
body.theme-handicraft .hc-nav-bar .primary-nav .sub-menu a.active {
  color: var(--hc-sage);
  background: var(--hc-metal-soft);
}
body.theme-handicraft .hc-nav-bar .site-search input[type="search"] {
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  color: var(--hc-ink);
  border-radius: 999px;
  min-width: min(16rem, 28vw);
}
body.theme-handicraft .hc-nav-bar .site-search input[type="search"]::placeholder {
  color: var(--hc-muted);
}
body.theme-handicraft .hc-nav-bar .site-search button {
  background: var(--hc-sage);
  color: #fff;
  border: none;
  border-radius: 999px;
}

/* —— Typography & surfaces —— */
body.theme-handicraft .post-title,
body.theme-handicraft .post-title a,
body.theme-handicraft .news-hero-title,
body.theme-handicraft .single h1,
body.theme-handicraft .catalog-head h1,
body.theme-handicraft .block-title,
body.theme-handicraft .category-hero-inner h1 {
  font-family: var(--font-heading, Georgia, serif);
  letter-spacing: -0.025em;
  color: var(--color-text, var(--hc-ink));
}
body.theme-handicraft .category-hero-inner h1 {
  color: #fff;
}
body.theme-handicraft .post-card,
body.theme-handicraft .widget,
body.theme-handicraft .single,
body.theme-handicraft .news-hero,
body.theme-handicraft .news-card,
body.theme-handicraft .empty {
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  box-shadow: none;
  border-radius: var(--hc-radius);
}
body.theme-handicraft .post-card:hover,
body.theme-handicraft .news-card:hover {
  border-color: var(--hc-metal);
  box-shadow: var(--hc-shadow);
}
body.theme-handicraft .sidebar .widget h3 {
  font-family: var(--font-heading, Georgia, serif);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--hc-metal);
  padding-bottom: 0.4rem;
  color: var(--hc-sage-deep);
}
body.theme-handicraft .btn-more,
body.theme-handicraft .btn,
body.theme-handicraft button.btn,
body.theme-handicraft a.btn {
  background: var(--color-primary, var(--hc-sage));
  color: #fff !important;
  border: none;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-weight: 600;
  padding-inline: 1.15rem;
}
body.theme-handicraft .btn:hover,
body.theme-handicraft a.btn:hover {
  filter: brightness(1.06);
}
body.theme-handicraft .btn.secondary,
body.theme-handicraft .btn-secondary {
  background: transparent;
  color: var(--color-primary, var(--hc-sage)) !important;
  border: 1px solid var(--hc-line);
}
body.theme-handicraft .btn-whatsapp {
  background: #3F8F6B;
  color: #fff !important;
}
body.theme-handicraft a {
  color: var(--color-link, var(--hc-sage));
}
body.theme-handicraft .meta,
body.theme-handicraft .excerpt {
  color: var(--hc-muted);
}

/* —— Catalog —— */
body.theme-handicraft .catalog-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hc-line);
}
body.theme-handicraft .catalog-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin: 0 0 0.35rem;
  color: var(--hc-sage-deep);
}
body.theme-handicraft .catalog-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
}
body.theme-handicraft .catalog-cat-nav a {
  border: 1px solid var(--hc-line);
  background: var(--hc-card);
  color: var(--hc-ink);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
body.theme-handicraft .catalog-cat-nav a.is-active,
body.theme-handicraft .catalog-cat-nav a:hover {
  background: var(--color-primary, var(--hc-sage));
  border-color: var(--color-primary, var(--hc-sage));
  color: #fff;
}
body.theme-handicraft .catalog-cat-nav-below {
  justify-content: center;
  margin: 0 0 1.75rem;
}

body.theme-handicraft .category-hero {
  border-radius: var(--hc-radius);
  margin: var(--hc-gutter) var(--hc-gutter) 0;
  min-height: clamp(16rem, 42vw, 28rem);
  width: auto;
  max-width: none;
  overflow: hidden;
  box-sizing: border-box;
}
body.theme-handicraft .category-hero + main.wrap {
  padding-top: 1.25rem;
}
/* Category hero text uses same gutter as all pages */
body.theme-handicraft .category-hero-inner.wrap,
body.theme-handicraft .wrap.category-hero-inner {
  padding-inline: var(--hc-gutter);
}
body.theme-handicraft .category-hero-scrim {
  background:
    linear-gradient(115deg, rgba(62, 79, 65, 0.72) 0%, rgba(42, 41, 38, 0.35) 45%, rgba(168, 137, 92, 0.4) 100%);
}
body.theme-handicraft .category-hero.no-media {
  background:
    linear-gradient(125deg, #3E4F41 0%, #5F7260 42%, #A8895C 100%);
}
body.theme-handicraft .category-hero-inner {
  max-width: none;
  width: 100%;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
body.theme-handicraft .category-hero-crumb {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
body.theme-handicraft .category-hero-desc {
  max-width: 42rem;
  margin-inline: auto;
}
body.theme-handicraft .category-hero-inner h1 {
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

body.theme-handicraft .product-card {
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  border-radius: calc(var(--hc-radius) + 0.15rem);
  box-shadow: none;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
body.theme-handicraft .product-card:hover {
  border-color: var(--hc-metal);
  box-shadow: var(--hc-shadow);
  transform: translateY(-3px);
}
body.theme-handicraft .product-card .product-thumb {
  background: linear-gradient(180deg, var(--hc-mist), #F9F8F5);
  aspect-ratio: 1 / 1;
}
body.theme-handicraft .product-card h2,
body.theme-handicraft .product-card h3 {
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  color: var(--hc-sage-deep);
}
body.theme-handicraft .product-card .price,
body.theme-handicraft .product-price-lg {
  color: var(--hc-metal);
  font-weight: 700;
}

body.theme-handicraft .product-hero {
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
body.theme-handicraft .product-gallery-main,
body.theme-handicraft .product-gallery-thumb {
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  background: var(--hc-card);
}
body.theme-handicraft .product-gallery-thumb.is-active,
body.theme-handicraft .product-gallery-thumb:hover {
  border-color: var(--hc-metal);
  box-shadow: 0 0 0 1px var(--hc-metal);
}
body.theme-handicraft .catalog-product .breadcrumb {
  color: var(--hc-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
body.theme-handicraft .catalog-product .breadcrumb a {
  color: var(--hc-muted);
}
body.theme-handicraft .catalog-product .breadcrumb a:hover {
  color: var(--hc-metal);
}

/* —— Forms / RFQ —— */
body.theme-handicraft .site-form-card,
body.theme-handicraft .quote-ajax-form,
body.theme-handicraft .site-form {
  background: var(--hc-card);
  border: 1px solid var(--hc-line);
  border-radius: calc(var(--hc-radius) + 0.15rem);
}
body.theme-handicraft .site-form-card {
  max-width: none;
  width: 100%;
  padding: 1.5rem;
  box-shadow: var(--hc-shadow);
}
body.theme-handicraft .site-form-card-wide {
  max-width: none;
}
body.theme-handicraft .site-form-field label span,
body.theme-handicraft .site-form label span {
  color: var(--hc-muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
body.theme-handicraft .site-form input,
body.theme-handicraft .site-form textarea,
body.theme-handicraft .site-form select {
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  background: var(--hc-bg);
  color: var(--hc-ink);
}
body.theme-handicraft .site-form input:focus,
body.theme-handicraft .site-form textarea:focus {
  outline: none;
  border-color: var(--hc-metal);
  box-shadow: 0 0 0 3px var(--hc-metal-soft);
  background: var(--hc-card);
}

/* —— Home blocks —— */
body.theme-handicraft .block {
  margin-bottom: 2.25rem;
}
body.theme-handicraft .block-title {
  border-bottom: 2px solid var(--hc-metal);
  display: inline-block;
  padding-bottom: 0.3rem;
  margin-bottom: 1.1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--hc-sage-deep);
}
body.theme-handicraft .news-ticker {
  background: var(--hc-sage-deep);
  color: #fff;
  border-radius: var(--hc-radius);
}
body.theme-handicraft .news-ticker-label {
  background: var(--hc-metal);
}

/* —— Soft light footer —— */
body.theme-handicraft .site-footer.hc-footer {
  background:
    linear-gradient(180deg, var(--hc-mist) 0%, #E8EBE5 100%);
  color: var(--hc-ink);
  margin-top: 3.5rem;
  padding: 3rem 0 1.75rem;
  border-top: 3px solid var(--hc-metal);
  width: 100%;
}
.hc-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 800px) {
  .hc-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.hc-footer-brand strong {
  display: block;
  font-family: var(--font-logo, var(--font-heading), Georgia, serif);
  font-size: 1.45rem;
  color: var(--hc-sage-deep);
  margin-bottom: 0.45rem;
}
.hc-footer-brand p,
.hc-footer-col p {
  margin: 0;
  line-height: 1.55;
  color: var(--hc-muted);
  font-size: 0.92rem;
}
.hc-footer-col h4 {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hc-metal);
  font-weight: 700;
}
.hc-footer-col a,
.hc-footer-social a {
  color: var(--hc-sage-deep);
  text-decoration: none;
  display: inline-block;
  margin: 0.2rem 0.75rem 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hc-footer-col a:hover,
.hc-footer-social a:hover {
  color: var(--hc-metal);
  border-bottom-color: var(--hc-metal);
}
.hc-footer-cta {
  display: inline-flex;
  margin-top: 0.85rem;
  padding: 0.65rem 1.15rem;
  background: var(--mh-gold, var(--hc-metal));
  color: #1E242B !important;
  border-radius: 999px;
  text-decoration: none !important;
  border: none !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hc-footer-cta:hover {
  filter: brightness(1.05);
}
.hc-footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hc-line);
  font-size: 0.8rem;
  color: var(--hc-muted);
}

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
  body.theme-handicraft .product-card,
  body.theme-handicraft .post-card,
  body.theme-handicraft .hc-header-cta,
  body.theme-handicraft .hc-footer-cta,
  body.theme-handicraft .mh-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
  }
  body.theme-handicraft .category-hero-media {
    transition: transform 8s ease;
  }
  body.theme-handicraft .category-hero:hover .category-hero-media {
    transform: scale(1.04);
  }
}

/* —— Sticky inquiry button —— */
.mh-whatsapp-float {
  position: fixed;
  right: max(1rem, var(--hc-gutter, 1.5rem));
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}
.mh-whatsapp-float:hover { filter: brightness(1.05); }
.mh-whatsapp-float-icon { font-size: 1.1rem; line-height: 1; }

/* —— Moradabad Handicrafts landing (/handicrafts/) —— */
.mh-landing {
  background: var(--mh-bg, #FAF9F6);
  color: var(--mh-charcoal, #1E242B);
  padding-bottom: 2rem;
}
.mh-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: var(--hc-gutter, clamp(1.75rem, 4vw, 3rem));
  box-sizing: border-box;
}
.mh-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.mh-alt { background: var(--hc-mist, #F1EEE7); }
.mh-sec-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.mh-sec-head-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.mh-sec-head h2,
.mh-landing h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  color: var(--mh-charcoal, #1E242B);
  letter-spacing: -0.02em;
}
.mh-landing h3 {
  margin: 0.85rem 0 0.4rem;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.15rem;
  color: var(--mh-charcoal, #1E242B);
}
.mh-sec-head p,
.mh-landing p {
  margin: 0 0 0.85rem;
  color: var(--hc-muted, #5B6570);
  line-height: 1.6;
}
.mh-eyebrow {
  margin: 0 0 0.75rem !important;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mh-gold, #C59B27) !important;
  font-weight: 700;
}
.mh-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem) !important;
  max-width: 36rem;
  color: var(--hc-muted, #5B6570) !important;
}
.mh-hero-grid,
.mh-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.mh-split-reverse { direction: rtl; }
.mh-split-reverse > * { direction: ltr; }
.mh-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.08;
  color: var(--mh-charcoal, #1E242B);
  letter-spacing: -0.03em;
}
.mh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}
.mh-actions-center { justify-content: center; }
.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid transparent;
}
.mh-btn-gold {
  background: var(--mh-gold, #C59B27);
  color: #1E242B !important;
  box-shadow: 0 10px 24px var(--hc-metal-soft);
}
.mh-btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.mh-btn-ghost {
  background: transparent;
  color: var(--mh-charcoal, #1E242B) !important;
  border-color: var(--hc-line);
}
.mh-btn-on-dark {
  color: #fff !important;
  border-color: rgba(255,255,255,0.35);
}
.mh-text-link {
  color: var(--mh-gold, #C59B27) !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.mh-text-link:hover { border-bottom-color: var(--mh-gold, #C59B27); }

/* Fast CSS placeholders (no external image requests) */
.mh-ph {
  display: block;
  width: 100%;
  border-radius: var(--hc-radius, 0.55rem);
  background:
    linear-gradient(135deg, #EDE8DF 0%, #D9D2C5 48%, #C59B27 160%);
  position: relative;
  overflow: hidden;
}
.mh-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  opacity: 0.55;
}
.mh-ph-hero { aspect-ratio: 4 / 3; min-height: 16rem; }
.mh-ph-card { aspect-ratio: 16 / 11; }
.mh-ph-square { aspect-ratio: 1 / 1; }
.mh-ph-about { aspect-ratio: 5 / 4; min-height: 14rem; }

.mh-trust { padding-block: 1.75rem; border-block: 1px solid var(--hc-line); background: #fff; }
.mh-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.mh-trust-label {
  font-size: 0.95rem !important;
  margin-bottom: 0.35rem !important;
}
.mh-trust-item p { margin: 0 !important; font-size: 0.9rem; }

.mh-card-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.mh-card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mh-card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mh-card,
.mh-figure {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: calc(var(--hc-radius, 0.55rem) + 0.1rem);
  padding: 0.85rem;
  margin: 0;
  box-sizing: border-box;
}
.mh-card-tight { padding: 0.65rem; }
.mh-card-plain {
  padding: 1.25rem 1.15rem;
  background: #fff;
}
.mh-meta { font-size: 0.85rem !important; margin: 0 !important; }
.mh-figure figcaption { padding: 0.35rem 0.15rem 0.15rem; }
.mh-figure h3 { margin: 0.35rem 0 0; font-size: 1rem; }

.mh-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: mhstep;
}
.mh-steps li {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  padding: 1.15rem 1rem 1.2rem;
  counter-increment: mhstep;
  position: relative;
}
.mh-steps li::before {
  content: counter(mhstep, decimal-leading-zero);
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mh-gold, #C59B27);
  margin-bottom: 0.45rem;
}
.mh-checklist {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.mh-checklist li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  color: var(--hc-muted);
}
.mh-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mh-gold, #C59B27);
  font-weight: 700;
}

.mh-cta { padding-bottom: clamp(3rem, 7vw, 5rem); }
.mh-cta-box {
  background: var(--mh-charcoal, #1E242B);
  color: #fff;
  border-radius: calc(var(--hc-radius) + 0.25rem);
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
}
.mh-cta-box h2 { color: #fff !important; }
.mh-cta-box p { color: rgba(255,255,255,0.78) !important; max-width: 36rem; margin-inline: auto; }

@media (max-width: 980px) {
  .mh-hero-grid,
  .mh-split,
  .mh-split-reverse,
  .mh-trust-grid,
  .mh-card-grid-3,
  .mh-card-grid-4,
  .mh-steps {
    grid-template-columns: 1fr 1fr;
  }
  .mh-split-reverse { direction: ltr; }
}
@media (max-width: 640px) {
  .mh-hero-grid,
  .mh-split,
  .mh-trust-grid,
  .mh-card-grid-3,
  .mh-card-grid-4,
  .mh-steps {
    grid-template-columns: 1fr;
  }
  .mh-whatsapp-float-label { display: none; }
  .mh-whatsapp-float { padding: 0.85rem; }
}

/* —— Homepage blocks (Admin → Homepage) —— */
body.theme-handicraft .mh-home-blocks {
  padding-block: 1.25rem 3rem;
}
body.theme-handicraft .mh-home-content .blocks {
  gap: clamp(1.25rem, 3vw, 2rem);
}
body.theme-handicraft .mh-home-blocks .block-heading {
  font-family: var(--font-heading, Georgia, serif);
  color: var(--mh-charcoal, #1E242B);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.35rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--mh-gold, #C59B27);
  display: inline-block;
}
body.theme-handicraft .mh-home-blocks .block-image-text {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  padding: 1rem;
  box-shadow: var(--hc-shadow);
  align-items: center;
}
body.theme-handicraft .mh-home-blocks .block-gallery {
  border-radius: var(--hc-radius);
  overflow: hidden;
}
body.theme-handicraft .mh-home-blocks .block-image-slider.is-full-width {
  border-radius: 0;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
body.theme-handicraft .mh-home-blocks .block-image-slider:not(.is-full-width) {
  border-radius: var(--hc-radius);
  overflow: hidden;
}
body.theme-handicraft .block-image-slider.is-full-width .img-slide img {
  min-height: clamp(14rem, 42vw, 28rem);
  max-height: none;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
@media (max-width: 767px) {
  body.theme-handicraft .block-image-slider.is-full-width .img-slide img {
    aspect-ratio: 4 / 5;
    min-height: 18rem;
  }
}
body.theme-handicraft .mh-home-blocks .block-list {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  padding: 1rem 1.25rem 1rem 2rem;
}
body.theme-handicraft .mh-home-blocks .block-list li {
  margin: 0.45rem 0;
  color: var(--hc-muted);
}
body.theme-handicraft .mh-home-blocks .block-divider {
  border-top-color: var(--hc-line);
}

/* Icon glyphs */
.mh-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 0.35rem;
  border-radius: 999px;
  background: var(--hc-metal-soft);
  color: var(--mh-gold, #C59B27);
  font-style: normal;
  vertical-align: -0.2rem;
  line-height: 1;
}
.mh-ico::before { font-size: 0.85rem; font-weight: 700; }
.mh-ico-pin::before { content: "📍"; }
.mh-ico-wall::before { content: "◈"; }
.mh-ico-plant::before { content: "☘"; }
.mh-ico-pot::before { content: "❁"; }
.mh-ico-anvil::before { content: "⚒"; }
.mh-ico-box::before { content: "▣"; }
.mh-ico-gear::before { content: "⚙"; }
.mh-ico-globe::before { content: "🌐"; }
.mh-ico-tag::before { content: "🏷"; }
.mh-ico-check::before { content: "✓"; }
.mh-ico-spark::before { content: "✦"; }

.mh-hero-kicker {
  margin: 0 0 0.5rem !important;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mh-gold, #C59B27) !important;
  font-weight: 700;
}
.mh-hero-title {
  margin: 0 0 0.75rem !important;
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem) !important;
  line-height: 1.08;
  color: var(--mh-charcoal, #1E242B) !important;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.mh-hero-lead {
  max-width: 40rem;
  font-size: 1.08rem !important;
  color: var(--hc-muted) !important;
}
.mh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.1rem 0 0.25rem !important;
}
.mh-sec-intro {
  margin-top: -0.35rem !important;
  color: var(--hc-muted) !important;
}

.mh-trust-row,
.mh-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.mh-why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mh-trust-card,
.mh-why-card {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-radius);
  padding: 1.1rem 1rem;
  box-shadow: var(--hc-shadow);
}
.mh-trust-card .mh-ico,
.mh-why-card .mh-ico {
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.55rem;
  margin-right: 0;
}
.mh-trust-card .mh-ico::before,
.mh-why-card .mh-ico::before { font-size: 1rem; }
.mh-trust-card strong,
.mh-why-card h3 {
  display: block;
  color: var(--mh-charcoal, #1E242B);
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.mh-trust-card p,
.mh-why-card p {
  margin: 0 !important;
  font-size: 0.9rem;
  color: var(--hc-muted);
}

body.theme-handicraft .block-cta-dark {
  background: var(--mh-charcoal, #1E242B);
}
body.theme-handicraft .block-cta-dark .block-cta-btn-primary,
body.theme-handicraft .block-cta-light .block-cta-btn-primary {
  background: var(--mh-gold, #C59B27);
  color: #1E242B !important;
}
body.theme-handicraft .mh-home-blocks .block-cta {
  border-radius: calc(var(--hc-radius, 0.55rem) + 0.2rem);
}
body.theme-handicraft .block-contact-info {
  border-color: var(--hc-line);
  box-shadow: var(--hc-shadow);
}
body.theme-handicraft .block-contact-company {
  color: var(--mh-gold, #C59B27);
}
body.theme-handicraft .block-contact-title,
body.theme-handicraft .block-contact-form-title {
  color: var(--mh-charcoal, #1E242B);
}
body.theme-handicraft .block-contact-ico {
  background: var(--hc-metal-soft);
  color: var(--mh-gold, #C59B27);
}

@media (max-width: 900px) {
  .mh-trust-row,
  .mh-why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .mh-trust-row,
  .mh-why-grid { grid-template-columns: 1fr; }
}

