/* MF Fire Dealer Store — custom storefront layer */
:root {
  --mf-orange: #ef7622;
  --mf-orange-dark: #d85f10;
  --mf-ink: #191919;
  --mf-charcoal: #222221;
  --mf-paper: #f4f3f0;
  --mf-white: #ffffff;
  --mf-line: #d9d7d1;
  --mf-muted: #706e68;
}

html { scroll-behavior: smooth; }
body { background: var(--mf-paper); color: var(--mf-ink); }

/* Keep the functional Zoho header, but make it feel like MF Fire. */
.theme-header-topbar {
  background: #171716 !important;
  color: #fff !important;
  padding-block: 8px !important;
}
.theme-header-topbar a,
.theme-header-topbar .theme-portal-content a,
.theme-header-topbar .theme-topbar-info a { color: #fff !important; }
.theme-header-topbar .theme-portal-content:last-child { border-color: rgba(255,255,255,.35) !important; }
.theme-header {
  background: rgba(255,255,255,.98) !important;
  border-bottom: 1px solid #e7e5df;
}
.theme-header .zpcontainer { max-width: 1440px !important; }
.theme-header .theme-logo-parent img { max-height: 50px !important; width: auto !important; }
.theme-header .theme-site-name,
.theme-header .theme-site-caption { display: none !important; }
.theme-header .theme-menu a,
.theme-header .theme-site-name { font-weight: 700 !important; }
.theme-header .theme-menu a:hover,
.theme-header .theme-menu-selected > a { color: var(--mf-orange) !important; }
.theme-mini-cart-count,
.theme-mini-quote-count { background: var(--mf-orange) !important; color: #fff !important; }

/* Native catalog and product pages */
.theme-product-box-container,
.theme-product-detail-container,
.theme-filters-container,
.theme-sidebar-area {
  border-color: var(--mf-line) !important;
}
.theme-product-box-container {
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.theme-product-box-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}
.theme-product-name,
.theme-product-name a { color: var(--mf-ink) !important; font-weight: 700 !important; }
.theme-product-price,
.theme-product-pricing,
.theme-min-rate { color: var(--mf-ink) !important; }
.zpbutton-type-primary,
[data-zs-add-to-cart],
.theme-go-home-button {
  background: var(--mf-orange) !important;
  border-color: var(--mf-orange) !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
}
.zpbutton-type-primary:hover,
[data-zs-add-to-cart]:hover { background: var(--mf-orange-dark) !important; }
input:focus, select:focus, textarea:focus { border-color: var(--mf-orange) !important; }

/* Hide the default fashion homepage sections only after the dealer home is mounted. */
body.mf-dealer-home-active .mf-original-home-section { display: none !important; }

#mf-dealer-home,
#mf-dealer-home * { box-sizing: border-box; }
#mf-dealer-home { margin: 0; background: var(--mf-paper); color: var(--mf-ink); font-family: Arial, "Helvetica Neue", sans-serif; }
#mf-dealer-home a { color: inherit; text-decoration: none; }
.mf-shell { width: min(100%, 1600px); margin: 0 auto; }
.mf-eyebrow { margin: 0 0 13px; color: var(--mf-orange); font-size: 11px; line-height: 1.2; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.mf-eyebrow-light { color: #ff9a52; }
.mf-arrow { font-size: 19px; line-height: 1; }
.mf-button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; font-size: 13px; font-weight: 800; letter-spacing: .02em; transition: transform .2s, background .2s; }
.mf-button:hover { transform: translateY(-2px); }
.mf-button-primary { background: var(--mf-orange); color: #fff !important; }
.mf-button-primary:hover { background: var(--mf-orange-dark); }
.mf-button-secondary { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.52); color: #fff !important; }

.mf-hero { min-height: 640px; position: relative; display: flex; align-items: center; overflow: hidden; background: #181817; color: #fff; }
.mf-hero::before { content: ""; position: absolute; inset: 0; background: url("https://mffire.com/app/uploads/2023/12/Chimney-Cricket-1.jpg") center 52% / cover no-repeat; transform: scale(1.015); }
.mf-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(12,12,11,.94),rgba(12,12,11,.76) 37%,rgba(12,12,11,.18) 72%,rgba(12,12,11,.08)); }
.mf-hero-content { width: min(900px,calc(100% - 48px)); margin-left: clamp(24px,8vw,120px); padding: 88px 0 120px; position: relative; z-index: 2; }
.mf-hero h1 { margin: 0; max-width: 880px; color: #fff; font-size: clamp(48px,5.2vw,76px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.mf-hero-copy { max-width: 590px; margin: 25px 0 0; color: #e1dfda; font-size: 18px; line-height: 1.65; }
.mf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.mf-hero-note { position: absolute; right: 0; bottom: 0; z-index: 3; width: min(450px,100%); padding: 22px 30px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 6px 24px; background: var(--mf-paper); color: var(--mf-ink); font-size: 12px; }
.mf-hero-note span { grid-row: span 2; align-self: center; color: var(--mf-muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.mf-hero-note a { font-weight: 700; }

.mf-account-strip { padding: 44px clamp(24px,5vw,76px); display: grid; grid-template-columns: .75fr 2.25fr; gap: 38px; background: #fff; border-bottom: 1px solid var(--mf-line); }
.mf-account-intro h2,
.mf-section-heading h2,
.mf-resources h2 { margin: 0; color: var(--mf-ink); font-size: clamp(28px,3vw,42px); line-height: 1.08; letter-spacing: -.04em; }
.mf-quick-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--mf-line); }
.mf-quick-link { min-height: 88px; padding: 17px; display: grid; grid-template-columns: 35px 1fr auto; gap: 10px; align-items: center; border-right: 1px solid var(--mf-line); background: #fff; }
.mf-quick-link:last-child { border-right: 0; }
.mf-quick-link:hover { background: #f8f7f4; }
.mf-quick-icon { width: 31px; height: 31px; display: grid; place-items: center; color: var(--mf-orange); font-size: 19px; }
.mf-quick-link b,.mf-quick-link small { display: block; }
.mf-quick-link b { font-size: 13px; }
.mf-quick-link small { margin-top: 4px; color: var(--mf-muted); font-size: 11px; }

.mf-products { padding: 92px clamp(24px,6vw,92px) 108px; }
.mf-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.mf-section-heading > a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid #9d9a93; font-size: 12px; font-weight: 800; }
.mf-category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.mf-category-card { min-height: 410px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s; }
.mf-category-card:hover { transform: translateY(-6px); }
.mf-category-dark { background: #1c1c1b; color: #fff !important; }
.mf-category-orange { background: var(--mf-orange); color: #fff !important; }
.mf-category-light { background: #fff; border: 1px solid var(--mf-line); }
.mf-category-stone { background: #d9d5cd; }
.mf-category-top { display: flex; justify-content: space-between; align-items: start; }
.mf-category-number { font-size: 11px; font-weight: 800; letter-spacing: .14em; opacity: .68; }
.mf-category-symbol { font-size: 28px; line-height: 1; }
.mf-category-card p { margin: 0 0 8px; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.mf-category-card h3 { margin: 0 0 13px; color: inherit; font-size: 31px; line-height: 1.1; letter-spacing: -.04em; }
.mf-category-card .mf-category-detail { font-size: 14px; line-height: 1.55; opacity: .76; }
.mf-category-action { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid currentColor; font-size: 12px; font-weight: 800; }

.mf-maps { min-height: 620px; display: grid; grid-template-columns: 1fr 1fr; background: #1d1d1c; color: #fff; overflow: hidden; }
.mf-maps-copy { padding: clamp(55px,7vw,110px); align-self: center; }
.mf-maps-copy h2 { margin: 0; color: #fff; font-size: clamp(55px,7vw,100px); letter-spacing: -.07em; line-height: .9; }
.mf-maps-copy > p:not(.mf-eyebrow) { max-width: 560px; margin: 27px 0; color: #d0cec8; font-size: 17px; line-height: 1.65; }
.mf-maps-points { display: grid; gap: 11px; margin: 28px 0 35px; }
.mf-maps-points span { padding-left: 20px; position: relative; color: #f0eee9; font-size: 13px; }
.mf-maps-points span::before { content: ""; width: 6px; height: 6px; position: absolute; left: 0; top: 5px; background: var(--mf-orange); }
.mf-maps-image { min-height: 620px; padding: 9% 9% 0; display: flex; align-items: end; justify-content: center; background: radial-gradient(circle at 50% 55%,#4d4b46,#292827 45%,#191918 72%); }
.mf-maps-image img { width: min(600px,100%); max-height: 590px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 35px rgba(0,0,0,.4)); }

.mf-resources { padding: 90px clamp(24px,7vw,110px); display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(50px,8vw,130px); background: var(--mf-orange); color: #fff; }
.mf-resources .mf-eyebrow { color: #2a211b; }
.mf-resources h2 { color: #fff; }
.mf-resource-links { display: grid; }
.mf-resource-links a { min-height: 62px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.48); color: #fff !important; font-size: 15px; font-weight: 700; transition: padding .2s; }
.mf-resource-links a:hover { padding-left: 8px; }

.mf-support { padding: 42px clamp(24px,7vw,110px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #151514; color: #fff; }
.mf-support h2 { margin: 0 0 7px; color: #fff; font-size: clamp(23px,3vw,34px); }
.mf-support p { margin: 0; color: #aaa8a2; font-size: 14px; }
.mf-support-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; }
.mf-support-links a { color: #fff !important; font-weight: 700; }

@media (max-width: 1100px) {
  .mf-account-strip { grid-template-columns: 1fr; }
  .mf-quick-grid { grid-template-columns: repeat(2,1fr); }
  .mf-quick-link:nth-child(2) { border-right: 0; }
  .mf-quick-link:nth-child(-n+2) { border-bottom: 1px solid var(--mf-line); }
  .mf-category-grid { grid-template-columns: repeat(2,1fr); }
  .mf-category-card { min-height: 340px; }
}

@media (max-width: 760px) {
  .theme-header .theme-logo-parent img { max-height: 40px !important; }
  .mf-hero { min-height: 640px; align-items: end; }
  .mf-hero::before { background-position: 52% center; }
  .mf-hero::after { background: linear-gradient(0deg,rgba(12,12,11,.95) 10%,rgba(12,12,11,.56) 67%,rgba(12,12,11,.18)); }
  .mf-hero-content { width: auto; margin: 0; padding: 140px 22px 150px; }
  .mf-hero h1 { font-size: 48px; }
  .mf-hero-copy { font-size: 16px; }
  .mf-hero-note { grid-template-columns: 1fr 1fr; padding: 18px 22px; }
  .mf-hero-note span { grid-column: 1/-1; grid-row: auto; }
  .mf-account-strip { padding: 42px 20px; }
  .mf-quick-grid { grid-template-columns: 1fr; }
  .mf-quick-link { border-right: 0; border-bottom: 1px solid var(--mf-line) !important; }
  .mf-quick-link:last-child { border-bottom: 0 !important; }
  .mf-products { padding: 70px 20px 80px; }
  .mf-section-heading { align-items: start; flex-direction: column; }
  .mf-category-grid { grid-template-columns: 1fr; }
  .mf-category-card { min-height: 310px; }
  .mf-maps { grid-template-columns: 1fr; }
  .mf-maps-copy { padding: 70px 24px 45px; }
  .mf-maps-image { min-height: 440px; }
  .mf-resources { grid-template-columns: 1fr; padding: 70px 24px; }
  .mf-support { align-items: flex-start; flex-direction: column; }
  .mf-support-links { justify-content: flex-start; }
}
/* Remove default Zoho Commerce theme footer */
[data-footer-type="site_footer"] {
    display: none !important;
}

/* Rename MF Fire account-page home link to Home */
.zpmo-brand-header .zpmo-brand-name {
    font-size: 0 !important;
}

.zpmo-brand-header .zpmo-brand-name::after {
    content: "Home";
    font-size: 16px;
}