@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');

/* MaaCart Forest & Sage design layer — intentionally loaded after legacy styles. */
:root {
  --maacart-primary: #142816;
  --maacart-primary-hover: #2C4E2F;
  --maacart-bg: #EFEFEA;
  --maacart-surface: #FFFFFF;
  --maacart-text-main: #222222;
  --maacart-text-muted: #666666;
  --maacart-border: #DCDCE5;
  --maacart-accent: #C7AD73;
  --maacart-font-heading: 'Playfair Display', Georgia, serif;
  --maacart-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --maacart-radius-md: 8px;
  --maacart-transition: all .28s ease;
  --ink: #222222;
  --muted: #666666;
  --paper: #EFEFEA;
  --violet: #142816;
  --violet-dark: #2C4E2F;
  --orange: #C7AD73;
  --line: #DCDCE5;
  --navy: #142816;
  --shadow: 0 18px 44px rgba(20, 40, 22, .08);
  --mc-cream: #EFEFEA;
  --mc-cream-deep: #E7E9E1;
  --mc-surface: #FFFFFF;
  --mc-line: #DCDCE5;
  --mc-fluid-gutter: 24px;
}

html { scroll-behavior: smooth; scroll-padding-top: 142px; background: var(--maacart-bg); }
body { background: var(--maacart-bg); color: var(--maacart-text-main); font-family: var(--maacart-font-body); font-size: 14px; line-height: 1.65; }
::selection { color: #fff; background: var(--maacart-primary-hover); }
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline: 3px solid #C7AD73 !important; outline-offset: 3px; }
.container,
.announcement-bar .container,
.site-header .container,
main .container,
.site-footer .container {
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* Offer ticker and sticky masthead */
.announcement-bar { min-height: 36px; background: #000 !important; color: #fff !important; font-size: 10px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; }
.announcement-inner { min-height: 36px; gap: 10px; justify-content: center; }
.announcement-spark { color: var(--maacart-accent) !important; }
.site-header { position: sticky; top: 0; z-index: 1000; height: auto; min-height: 0; background: rgba(20, 40, 22, .98) !important; border: 0 !important; box-shadow: 0 8px 24px rgba(12, 25, 13, .15) !important; backdrop-filter: blur(16px); }
.nav-wrap { min-height: 78px; height: auto; gap: clamp(16px, 2vw, 30px); }
.brand { color: #fff !important; font-family: var(--maacart-font-heading); font-size: clamp(22px, 1.8vw, 27px); font-weight: 700; letter-spacing: -.6px; gap: 10px; }
.brand-mark { width: 43px; height: 43px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(145deg, #F6F3E9, #D8DCCF) !important; color: var(--maacart-primary) !important; box-shadow: none !important; font-family: var(--maacart-font-heading); font-size: 25px; }
.brand-accent, .brand-light .brand-accent { color: #D9C58F !important; }
.brand small { color: #CAD4C7 !important; font-family: var(--maacart-font-body); font-size: 8px; font-weight: 600; letter-spacing: 1.55px; }
.site-search { flex: 1 1 420px; width: auto; max-width: 680px; min-width: 200px; height: 46px; gap: 10px; padding: 0 5px 0 14px; border: 1px solid #D6D8D0 !important; border-radius: 999px !important; background: #fff !important; box-shadow: none; }
.site-search:focus-within { border-color: #8A9D87 !important; box-shadow: 0 0 0 4px rgba(199, 173, 115, .2) !important; }
.site-search-icon { color: #626D61 !important; font-size: 21px; }
.site-search input { color: #222 !important; font: 500 12px var(--maacart-font-body); }
.site-search input::placeholder { color: #777F76 !important; }
.site-search button { margin: 3px 0; padding: 0 17px; border-radius: 999px; background: var(--maacart-primary) !important; color: #fff; font: 700 11px var(--maacart-font-body); }
.site-search button:hover { background: var(--maacart-primary-hover) !important; }
.nav-actions { gap: clamp(9px, 1.2vw, 18px); color: #fff; font-size: 12px; }
.nav-login, .cart-nav-link, .mobile-nav-toggle, .mobile-search-toggle { color: #fff !important; background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.2) !important; }
.nav-login:hover, .cart-nav-link:hover, .mobile-nav-toggle:hover, .mobile-search-toggle:hover { color: #fff !important; background: rgba(255,255,255,.13) !important; border-color: rgba(217,197,143,.75) !important; }
.nav-login { font-size: 12px; }
.nav-admin-link { color: #E0D3A8; font-weight: 700; }
.nav-actions .btn, .btn { background: var(--maacart-primary) !important; border-color: var(--maacart-primary) !important; color: #fff !important; box-shadow: 0 8px 18px rgba(20,40,22,.12); }
.nav-actions .btn:hover, .btn:hover { background: var(--maacart-primary-hover) !important; border-color: var(--maacart-primary-hover) !important; color: #fff !important; }
.btn { border-radius: 8px; font-family: var(--maacart-font-body); font-weight: 700; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn-outline, .market-view-button { background: #fff !important; border-color: #C9D0C6 !important; color: var(--maacart-primary) !important; box-shadow: none !important; }
.btn-outline:hover, .market-view-button:hover { background: #F2F4EF !important; border-color: #8CA08A !important; color: var(--maacart-primary) !important; }
.cart-nav-link { position: relative; padding: 7px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; }
.cart-count { background: var(--maacart-accent) !important; color: #142816 !important; font-weight: 800; }
.category-nav { background: #FFFFFF !important; border-top: 1px solid #E2E5DF !important; border-bottom: 1px solid #DCDCE5 !important; box-shadow: 0 4px 12px rgba(20,40,22,.035) !important; }
.category-nav-inner { min-height: 47px; height: auto; gap: clamp(7px, 1.1vw, 18px); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.category-nav-inner a, .category-nav-inner a:first-child { min-height: 47px; padding: 0 10px; color: #3F4940 !important; font-size: 11px; font-weight: 600; letter-spacing: .1px; }
.category-nav-inner a:hover, .category-nav-inner a.is-active { color: #142816 !important; }
.category-nav-inner a.is-active:after, .category-nav-inner a:first-child.is-active:after { right: 10px; bottom: 0; left: 10px; height: 2px; background: var(--maacart-accent) !important; }
.category-nav-inner a:first-child.is-active:after { left: 0; }

/* Editorial hero */
.hero { overflow: hidden; background: radial-gradient(ellipse at 76% 42%, rgba(199,173,115,.18), transparent 38%), linear-gradient(115deg, #EFEFEA 0%, #F6F6F1 57%, #E4E8DF 100%) !important; }
.hero-grid { min-height: 490px; padding-top: 48px; padding-bottom: 52px; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 88px); }
.eyebrow { color: var(--maacart-primary) !important; font-family: var(--maacart-font-body); font-size: 10px; font-weight: 800; letter-spacing: 1.55px; }
.eyebrow-dot { background: var(--maacart-accent) !important; box-shadow: 0 0 0 4px rgba(199,173,115,.2) !important; }
.hero h1, .page-hero h1, .detail-hero h1 { color: var(--maacart-primary) !important; font-family: var(--maacart-font-heading) !important; font-size: clamp(42px, 4.2vw, 64px); line-height: 1.1; font-weight: 600; letter-spacing: -1.65px; }
.hero h1 span, .section-heading h2 span, .closing-inner h2 span, .market-trust-heading h2 span { color: var(--maacart-primary-hover) !important; font-style: italic; }
.hero-text { max-width: 560px; color: #5F695F !important; font-size: 15px; line-height: 1.9; }
.hero-actions { gap: 11px; }
.hero-actions .btn { min-height: 46px; padding: 12px 18px; }
.hero-proof-mark { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #DDE4D9 !important; color: var(--maacart-primary) !important; }
.hero-proof p { color: var(--maacart-primary); font-size: 11px; }
.hero-proof small { color: #697467 !important; }
.hero-art { min-width: 0; }
.art-glow { width: min(390px, 100%); height: min(390px, 100%); background: radial-gradient(circle, #D9E0D2 0, rgba(218,225,210,.62) 45%, transparent 72%) !important; }
.art-card-main { border: 1px solid rgba(255,255,255,.8) !important; background: rgba(255,255,255,.9) !important; box-shadow: 0 32px 80px rgba(20,40,22,.13) !important; border-radius: 17px !important; }
.tag-violet { background: #E8ECE4 !important; color: var(--maacart-primary) !important; }
.spark, .mini-star { color: var(--maacart-accent) !important; }
.orbit { border-color: rgba(44,78,47,.24) !important; }
.book-back { background: linear-gradient(145deg, #C7AD73, #E0D3A8) !important; }
.book-front { background: linear-gradient(155deg, #2C4E2F, #142816) !important; }
.book-icon { color: #E2D2A2 !important; }
.art-card-main h3 { color: var(--maacart-primary) !important; font-family: var(--maacart-font-heading); font-size: 19px; font-weight: 600; }
.art-card-main p, .float-chip small { color: #697467 !important; }
.art-progress { background: #E6EAE2 !important; }
.art-progress span { background: linear-gradient(90deg, #2C4E2F, #C7AD73) !important; }
.art-bottom { color: #788174 !important; }
.art-bottom b { color: var(--maacart-primary) !important; }
.float-chip { border-color: #E2E6DD !important; box-shadow: 0 12px 35px rgba(20,40,22,.1) !important; }
.chip-icon { background: #E7ECE3 !important; color: var(--maacart-primary) !important; }
.chip-icon.orange { background: #F0E8D7 !important; color: #856E39 !important; }

/* Sections, categories and product cards */
main { background: var(--maacart-bg) !important; }
.section { padding-top: 64px; padding-bottom: 64px; }
.trust-strip { background: #fff !important; border-color: var(--maacart-border) !important; }
.trust-grid { gap: 15px; padding: 18px 0; }
.trust-grid > div { color: #626B60 !important; font-size: 11px; }
.trust-number { background: #E8EDE4 !important; color: var(--maacart-primary) !important; border-radius: 7px; }
.market-categories-section, .market-featured-products-section, .market-best-sellers-section, .home-courses-clean, .home-services-clean { background: var(--maacart-bg) !important; padding-top: 62px; padding-bottom: 64px; }
.market-featured-products-section, .home-courses-clean { background: #E7E9E1 !important; }
.section-heading { align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2, .closing-inner h2 { color: var(--maacart-primary) !important; font-family: var(--maacart-font-heading) !important; font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; line-height: 1.24; letter-spacing: -.55px; }
.section-heading p { margin-top: 9px; color: #667064 !important; font-size: 12px; line-height: 1.8; }
.text-link { color: var(--maacart-primary) !important; font-size: 11px; font-weight: 800; }
.text-link:hover { color: var(--maacart-primary-hover) !important; }
.market-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.market-category-card { display: grid; grid-template-columns: 62px minmax(0, 1fr) 18px; align-items: center; gap: 14px; min-height: 118px; padding: 18px; border: 1px solid #DFE3DA !important; border-radius: 10px !important; background: #fff !important; box-shadow: 0 4px 18px rgba(20,40,22,.035) !important; }
.market-category-card:hover { transform: translateY(-3px); border-color: #98AA95 !important; box-shadow: 0 14px 28px rgba(20,40,22,.08) !important; }
.market-category-icon { display: grid; place-items: center; flex: 0 0 62px; width: 62px; height: 62px; border: 1px solid rgba(20,40,22,.08); border-radius: 9px !important; background: linear-gradient(145deg, #E8ECE4, #F4F4EF) !important; color: var(--maacart-primary) !important; font: 600 26px var(--maacart-font-heading) !important; }
.market-category-card:nth-child(2n) .market-category-icon { background: linear-gradient(145deg, #E2E9DF, #F5F4ED) !important; color: #2C4E2F !important; }
.market-category-card:nth-child(3n) .market-category-icon { background: linear-gradient(145deg, #F1E9D8, #FAF8F2) !important; color: #806B3A !important; }
.market-category-copy { display: grid; gap: 5px; }
.market-category-copy strong { color: #243126 !important; font-size: 13px; font-weight: 750; line-height: 1.45; }
.market-category-copy small { color: #6B7369 !important; font-size: 10px; line-height: 1.6; }
.market-category-arrow { align-self: center; color: #73816F !important; font-size: 17px; }
.market-product-grid, .market-product-grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
.market-product-card { border: 1px solid #E0E4DC !important; border-radius: 10px !important; background: #fff !important; box-shadow: 0 4px 18px rgba(20,40,22,.045) !important; }
.market-product-card:hover { transform: translateY(-4px); border-color: #A7B7A2 !important; box-shadow: 0 16px 30px rgba(20,40,22,.1) !important; }
.market-product-image { aspect-ratio: 1 / 1; background: linear-gradient(145deg, #F2F3EE, #E7EBE3) !important; color: var(--maacart-primary) !important; }
.market-product-image img { object-fit: contain !important; padding: 12px; transition: transform .3s ease; }
.market-product-fallback-icon { width: 88px; height: 88px; border-radius: 12px !important; background: linear-gradient(145deg, #E6EAE1, #FAF8F0) !important; box-shadow: 0 12px 28px rgba(20,40,22,.08) !important; color: var(--maacart-primary) !important; }
.market-product-fallback-brand { color: #6E796B !important; font-size: 8px; letter-spacing: 1.4px; }
.market-product-badge { top: 12px; left: 12px; border: 1px solid #E1D8BD !important; border-radius: 5px !important; background: #F4F0E4 !important; color: #5C512F !important; font-size: 8px; letter-spacing: .65px; }
.market-product-image-arrow { border: 1px solid #E1E5DD; border-radius: 7px !important; color: var(--maacart-primary) !important; }
.market-product-body { padding: 15px; }
.market-product-meta { gap: 8px; color: #707A6D !important; font-size: 9px; }
.market-file-format { border-color: #DFE4DA !important; border-radius: 5px !important; background: #F3F5F0 !important; color: #4B5949 !important; }
.market-product-body h3 { color: #222D23 !important; font-family: var(--maacart-font-body) !important; font-size: 14px; font-weight: 700; line-height: 1.45; letter-spacing: -.1px; }
.market-product-body h3 a:hover { color: var(--maacart-primary-hover) !important; }
.market-product-body p { min-height: 48px; color: #687166 !important; font-size: 11px; line-height: 1.65; }
.market-product-price-row { border-color: #ECEEE8 !important; }
.market-product-price-row strong { color: #111811 !important; font-size: 16px; font-weight: 800; }
.market-product-price-row del { color: #8B9187 !important; }
.market-product-actions { gap: 8px; }
.market-product-actions .btn { min-height: 38px; border-radius: 7px !important; font-size: 10px; }
.market-home-empty { border-color: #D6DDCF !important; border-radius: 10px !important; background: #fff !important; }
.market-home-empty > span { background: #E8ECE4 !important; color: var(--maacart-primary) !important; }

/* Course, service and trust cards */
.home-course-grid-clean { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-course-grid-clean .home-course-card, .home-course-grid-clean .course-card { border: 1px solid #E0E4DC !important; border-radius: 10px !important; background: #fff !important; box-shadow: 0 5px 18px rgba(20,40,22,.045) !important; }
.home-course-grid-clean .home-course-card:hover, .home-course-grid-clean .course-card:hover { border-color: #A7B7A2 !important; box-shadow: 0 14px 28px rgba(20,40,22,.09) !important; }
.home-course-grid-clean .home-course-body h3, .home-course-grid-clean .course-card-body h3 { color: #263126 !important; }
.home-course-grid-clean .home-course-body > p, .home-course-grid-clean .course-card-body p { color: #687166 !important; }
.home-course-grid-clean .home-course-footer { border-color: #E7EBE4 !important; }
.home-services-clean .service-card { border: 1px solid #DFE4DA !important; border-radius: 10px !important; background: #fff !important; box-shadow: 0 5px 18px rgba(20,40,22,.04) !important; }
.service-icon { background: #E7ECE3 !important; color: var(--maacart-primary) !important; }
.market-why-trust, .market-why-trust-clean { background: #142816 !important; border-color: rgba(255,255,255,.08) !important; padding: 54px 0 60px; }
.market-trust-heading h2 { color: #fff !important; font-family: var(--maacart-font-heading) !important; font-weight: 600; }
.market-trust-heading .eyebrow { color: #D9C58F !important; }
.market-trust-item { border: 1px solid rgba(255,255,255,.13) !important; border-radius: 9px !important; background: rgba(255,255,255,.06) !important; }
.market-trust-item strong { color: #fff !important; font-size: 13px; }
.market-trust-item p { color: #D0D9CE !important; font-size: 11px; }
.market-trust-icon { background: rgba(255,255,255,.1) !important; color: #D9C58F !important; }

/* Catalog pages, product details, cart and learning pages */
.marketplace-page-hero, .cart-page-hero, .market-product-detail-hero, .page-hero, .lesson-page-hero { background: linear-gradient(120deg, #F2F3EE, #E6EAE2 78%, #F5F3EA) !important; }
.marketplace-page-hero h1, .page-hero h1, .detail-hero h1 { color: var(--maacart-primary) !important; font-family: var(--maacart-font-heading) !important; font-weight: 600; letter-spacing: -.8px; }
.marketplace-page-hero > div > p, .page-hero p, .detail-hero p { color: #626D61 !important; }
.breadcrumbs { color: #697367 !important; }
.breadcrumbs a { color: var(--maacart-primary-hover) !important; }
.marketplace-toolbar, .cart-item, .cart-summary, .market-detail-art, .marketplace-search, .marketplace-sort select { border-color: #DCE2D8 !important; background: #fff !important; }
.marketplace-search input, .marketplace-sort select { color: #252D25 !important; }
.market-category-strip { border-color: #DCE2D8 !important; background: #F5F6F1 !important; }
.cart-content-section, .lesson-content-section { background: #EFEFEA !important; }
.cart-item-image { background: #E5EAE1 !important; }
.cart-summary-total { border-color: #E4E8E0 !important; color: #182719 !important; }
.cart-empty-state { background: #fff; border-color: #DCE2D8; }
.market-detail-art, .market-product-detail-card, .cart-summary, .cart-item { border-radius: 10px !important; }
.lesson-media-placeholder, .lesson-audio-panel, .lesson-copy, .curriculum-side { border-color: #DCE2D8 !important; background: #fff !important; }
.lesson-media-placeholder > span, .lesson-media-icon, .lesson-attachment-icon { background: #E7ECE3 !important; color: var(--maacart-primary) !important; }
.lesson-attachment-link { border-color: #DCE2D8 !important; background: #fff !important; }
.lesson-attachment-link:hover { border-color: #9CAC97 !important; background: #F5F6F1 !important; }
.notice { border-color: #B8D1B4 !important; background: #F0F6EE !important; color: #214A24 !important; }
.notice-info { border-color: #D9D0B5 !important; background: #F7F3E8 !important; color: #63552D !important; }

/* Footer */
.site-footer { background: #142816 !important; color: #EFEFEA !important; }
.footer-topline { gap: clamp(32px, 5vw, 76px); padding-top: 52px; padding-bottom: 33px; }
.brand-light .brand-mark { background: #E8ECE4 !important; color: var(--maacart-primary) !important; }
.brand-light small { color: #CBD5C9 !important; }
.footer-brand-column > p { color: #C6D0C3 !important; }
.footer-brand-column .footer-company-name { color: #F0F2EB !important; }
.footer-follow-kicker { color: #D9C58F !important; }
.footer-follow-copy h2 { color: #fff !important; font-family: var(--maacart-font-heading) !important; font-weight: 600; }
.footer-follow-copy p { color: #CAD4C7 !important; }
.footer-social-link, .footer-whatsapp-link { border-color: rgba(255,255,255,.17) !important; background: rgba(255,255,255,.045) !important; color: #F0F2EB !important; }
.footer-social-link:hover, .footer-whatsapp-link:hover { border-color: #D9C58F !important; background: rgba(255,255,255,.09) !important; }
.footer-social-icon, .footer-whatsapp-icon { color: #D9C58F !important; }
.footer-whatsapp-copy small { color: #D9C58F !important; }
.footer-accordion details { border-color: rgba(255,255,255,.13) !important; }
.footer-accordion summary { color: #fff !important; }
.footer-accordion-content a, .footer-accordion-content p { color: #CAD4C7 !important; }
.footer-accordion-content a:hover { color: #E9D8A3 !important; }
.footer-bottom { border-color: rgba(255,255,255,.14) !important; color: #C6D0C3 !important; }
.footer-bottom-tag { color: #E4D6A9 !important; }
.back-to-top { border-color: #DCE2D8 !important; background: #fff !important; color: var(--maacart-primary) !important; }

/* Fixed quick links on phones */
.mobile-bottom-nav { display: none; }
@media (min-width: 681px) and (max-width: 1100px) {
  .container, .announcement-bar .container, .site-header .container, main .container, .site-footer .container { width: calc(100% - 40px) !important; }
  .nav-wrap { gap: 14px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 38px; height: 38px; font-size: 22px; }
  .site-search { min-width: 130px; }
  .nav-actions { gap: 8px; }
  .category-nav-inner { gap: 8px; }
  .market-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market-product-grid, .market-product-grid-home, .home-course-grid-clean { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  :root { --mc-fluid-gutter: 16px; }
  html { scroll-padding-top: 112px; }
  .container, .announcement-bar .container, .site-header .container, main .container, .site-footer .container { width: calc(100% - 32px) !important; max-width: 1280px !important; }
  .announcement-bar { min-height: 32px; font-size: 9px; letter-spacing: .45px; }
  .announcement-inner { min-height: 32px; padding: 4px 0; line-height: 1.35; }
  .site-header { top: 0; }
  .nav-wrap { min-height: 64px; height: auto; grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: 'toggle brand actions'; gap: 6px; }
  .mobile-nav-toggle, .mobile-search-toggle { width: 34px; height: 34px; border-radius: 8px; }
  .nav-wrap > .brand { font-size: 20px; gap: 7px; }
  .nav-wrap > .brand .brand-mark { width: 33px; height: 33px; border-radius: 9px; font-size: 19px; }
  .nav-wrap > .brand small { margin-top: 4px; font-size: 6px; letter-spacing: 1px; }
  .nav-actions { gap: 5px; }
  .nav-login, .cart-nav-link { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border-radius: 8px; }
  .nav-account-icon { display: block; font-size: 16px; }
  .cart-nav-icon, .mobile-bottom-cart-icon { line-height: 1; }
  .cart-nav-label, .nav-account-label, .nav-actions .btn, .nav-admin-link { display: none !important; }
  .cart-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; font-size: 9px; }
  .site-search { top: calc(100% + 6px); left: 0; right: 0; z-index: 1100; width: auto; min-width: 0; height: 43px; border-radius: 10px !important; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
  .site-header.search-open .site-search { display: flex; }
  .site-search button { border-radius: 7px; }
  .category-nav { background: #102112 !important; box-shadow: 0 16px 25px rgba(0,0,0,.18) !important; }
  .category-nav.is-open { display: block; }
  .category-nav-inner { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 6px; padding-bottom: 8px; }
  .category-nav-inner a, .category-nav-inner a:first-child { min-height: 44px; padding: 0 8px; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 12px; }
  .category-nav-inner a.is-active:after, .category-nav-inner a:first-child.is-active:after { bottom: 7px; left: -2px; right: auto; width: 3px; height: 28px; background: var(--maacart-accent) !important; }
  .hero-grid { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 10px; padding-top: 36px; padding-bottom: 25px; }
  .hero h1 { max-width: 15ch; margin-bottom: 14px; font-size: clamp(35px, 9vw, 45px); line-height: 1.12; letter-spacing: -.85px; }
  .hero-text { max-width: 52ch; margin-bottom: 20px; font-size: 13px; line-height: 1.8; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { min-height: 43px; padding: 11px 12px; font-size: 11px; }
  .hero-proof { margin-top: 21px; }
  .hero-art { width: 100%; height: 300px; max-width: 400px; justify-self: center; transform: scale(.83); transform-origin: center top; margin: 0 auto -40px; }
  .art-card-main { width: 295px; min-height: 350px; padding: 19px; }
  .chip-top { right: -7px; top: 34px; }
  .chip-bottom { left: -4px; bottom: 20px; }
  .float-chip { padding: 9px 11px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; padding: 10px 0; }
  .trust-grid > div { justify-content: flex-start; min-height: 42px; padding: 6px 4px; font-size: 9px; }
  .trust-number { flex: 0 0 25px; width: 25px; height: 25px; }
  .section { padding-top: 42px; padding-bottom: 42px; }
  .market-categories-section, .market-featured-products-section, .market-best-sellers-section, .home-courses-clean, .home-services-clean { padding-top: 42px; padding-bottom: 42px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 19px; }
  .section-heading h2, .closing-inner h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.25px; }
  .section-heading p { margin-top: 7px; font-size: 11px; }
  .market-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .market-category-card { grid-template-columns: 42px minmax(0,1fr) 12px; gap: 8px; min-height: 104px; padding: 10px; border-radius: 8px !important; }
  .market-category-icon { width: 42px; height: 42px; border-radius: 7px !important; font-size: 20px !important; }
  .market-category-copy { gap: 4px; }
  .market-category-copy strong { font-size: 10px; line-height: 1.35; }
  .market-category-copy small { font-size: 9px; line-height: 1.4; }
  .market-category-arrow { font-size: 14px; }
  .market-product-grid, .market-product-grid-home { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 10px; }
  .market-product-card { border-radius: 8px !important; }
  .market-product-image img { padding: 7px; }
  .market-product-badge { top: 7px; left: 7px; padding: 4px 5px; font-size: 7px; }
  .market-product-image-arrow { right: 6px; bottom: 6px; width: 24px; height: 24px; }
  .market-product-body { padding: 10px; }
  .market-product-meta { font-size: 8px; }
  .market-file-format { padding: 3px 4px; font-size: 7px; }
  .market-product-body h3 { margin: 7px 0 5px; font-size: 12px; line-height: 1.35; }
  .market-product-body p { min-height: 43px; margin-bottom: 8px; font-size: 9px; line-height: 1.55; }
  .market-product-price-row { padding: 8px 0; }
  .market-product-price-row strong { font-size: 14px; }
  .market-product-price-row del { font-size: 9px; }
  .market-product-actions { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .market-product-actions .btn { min-height: 35px; padding: 8px 6px; font-size: 9px; }
  .market-product-actions .market-view-button { display: none; }
  .home-course-grid-clean { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .home-course-grid-clean .home-course-body { padding: 10px; }
  .home-course-grid-clean .home-course-body h3 { font-size: 12px; }
  .home-course-grid-clean .home-course-body > p { font-size: 9px; }
  .home-course-grid-clean .home-course-cover { height: 130px; }
  .market-trust-grid { grid-template-columns: 1fr; gap: 9px; }
  .market-trust-item { padding: 14px; }
  .market-why-trust, .market-why-trust-clean { padding: 40px 0 44px; }
  .marketplace-page-hero { padding-top: 28px; padding-bottom: 28px; }
  .marketplace-page-hero h1, .page-hero h1, .detail-hero h1 { font-size: clamp(30px, 8vw, 37px); letter-spacing: -.45px; }
  .marketplace-page-hero > div > p { font-size: 12px; }
  .marketplace-toolbar { flex-wrap: wrap; gap: 8px; padding: 9px; }
  .marketplace-search { flex-basis: 100%; min-width: 0; }
  .marketplace-sort { flex: 1 1 100px; min-width: 0; }
  .marketplace-sort select { width: 100%; max-width: 100%; }
  .footer-topline { grid-template-columns: minmax(0,1fr); gap: 26px; padding-top: 38px; }
  .footer-follow { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .footer-follow-actions { justify-content: flex-start; }
  .footer-accordions { grid-template-columns: minmax(0,1fr); gap: 0; }
  .footer-bottom { align-items: flex-start; gap: 10px; flex-direction: column; padding-bottom: 18px; font-size: 10px; }
  .mobile-bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1200; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; padding: 8px 7px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.14); background: rgba(20,40,22,.98); box-shadow: 0 -8px 24px rgba(20,40,22,.15); backdrop-filter: blur(18px); }
  .mobile-bottom-link { position: relative; display: flex; min-width: 0; min-height: 45px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 7px; color: #D7E0D4; text-decoration: none; }
  .mobile-bottom-link > span { font-size: 20px; line-height: 1.1; }
  .mobile-bottom-link small { color: inherit; font-family: var(--maacart-font-body); font-size: 9px; font-weight: 600; line-height: 1.25; }
  .mobile-bottom-link.is-active { background: rgba(255,255,255,.1); color: #E5D4A1; }
  .mobile-bottom-count { position: absolute; top: 1px; left: calc(50% + 4px); display: grid; place-items: center; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 999px; background: #C7AD73; color: #142816; font-size: 9px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .back-to-top { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
@media (max-width: 390px) {
  .container, .announcement-bar .container, .site-header .container, main .container, .site-footer .container { width: calc(100% - 28px) !important; }
  .nav-wrap { width: 100% !important; gap: 5px; grid-template-columns: 31px minmax(0,1fr) auto; }
  .nav-wrap > .brand { font-size: 18px; gap: 5px; }
  .nav-wrap > .brand .brand-mark { width: 30px; height: 30px; font-size: 18px; }
  .nav-wrap > .brand small { font-size: 5.5px; letter-spacing: .85px; }
  .mobile-nav-toggle, .mobile-search-toggle, .nav-login, .cart-nav-link { width: 31px; height: 32px; }
  .market-category-grid { gap: 8px; }
  .market-category-card { grid-template-columns: 36px minmax(0,1fr) 10px; gap: 6px; padding: 8px; }
  .market-category-icon { width: 36px; height: 36px; font-size: 18px !important; }
  .market-category-copy strong { font-size: 9px; }
  .market-category-copy small { font-size: 8px; }
  .market-product-grid, .market-product-grid-home { gap: 8px; }
  .market-product-body { padding: 8px; }
  .market-product-body h3 { font-size: 11px; }
  .market-product-body p { font-size: 8.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Full-width image-led homepage hero inspired by the reference storefront. */
.hero.hero-banner {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0 !important;
  overflow: hidden;
  isolation: isolate;
  color: #fff !important;
  background: #142816 !important;
}
.hero-banner-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: #142816;
}
.hero-banner-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.hero.hero-banner::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(9, 29, 12, .97) 0%, rgba(12, 35, 15, .91) 28%, rgba(13, 35, 16, .66) 48%, rgba(13, 35, 16, .14) 77%, rgba(13, 35, 16, .04) 100%);
  pointer-events: none;
}
.hero-banner-inner {
  display: flex;
  align-items: center;
  min-height: clamp(390px, 34.8vw, 510px);
  padding-top: 48px;
  padding-bottom: 48px;
  box-sizing: border-box;
}
.hero-banner-copy {
  width: min(100%, 640px);
  padding: 4px 0;
}
.hero-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
  color: #E1D2A6 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}
.hero-banner-eyebrow > span { color: #D4B86F; font-size: 15px; }
.hero.hero-banner h1 {
  max-width: 11.5ch;
  margin: 0 0 17px;
  color: #fff !important;
  font-family: var(--maacart-font-heading) !important;
  font-size: clamp(40px, 4.35vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.45px;
  text-wrap: balance;
}
.hero.hero-banner h1 span {
  color: #E0C77F !important;
  font-style: italic;
}
.hero-banner-copy > p {
  max-width: 490px;
  margin: 0 0 23px;
  color: rgba(255, 255, 255, .86) !important;
  font-size: 14px;
  line-height: 1.8;
}
.hero-banner .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-banner .hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid #D6BC79 !important;
  border-radius: 7px !important;
  background: #D6BC79 !important;
  color: #142816 !important;
  box-shadow: 0 9px 25px rgba(0, 0, 0, .18) !important;
  font-size: 12px;
  font-weight: 800;
}
.hero-banner .hero-actions .btn:hover { border-color: #EAD9A6 !important; background: #EAD9A6 !important; color: #142816 !important; transform: translateY(-2px); }
.hero-banner .hero-actions .btn.btn-outline {
  border-color: rgba(255, 255, 255, .58) !important;
  background: rgba(9, 29, 12, .3) !important;
  color: #fff !important;
  box-shadow: none !important;
  backdrop-filter: blur(6px);
}
.hero-banner .hero-actions .btn.btn-outline:hover { border-color: #E0C77F !important; background: rgba(255, 255, 255, .1) !important; }
.hero-banner-proof { display: flex; align-items: center; gap: 11px; margin-top: 27px; color: #fff; }
.hero-banner-proof-mark { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid rgba(224, 199, 127, .6); border-radius: 50%; color: #E0C77F; font-size: 14px; }
.hero-banner-proof > span:last-child { display: grid; gap: 2px; }
.hero-banner-proof strong { color: #F6F3EA; font-size: 11px; font-weight: 700; }
.hero-banner-proof small { color: rgba(244, 242, 232, .7); font-size: 10px; }

/* Image-led category collection tiles, closer to the reference storefront. */
.market-category-grid-visual { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: clamp(12px, 1.7vw, 24px) !important; }
.market-category-card.market-category-card-visual {
  display: flex !important;
  min-width: 0;
  min-height: 0 !important;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 0 !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none;
}
.market-category-card-visual:hover { transform: none !important; }
.market-category-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #DCDCE5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(20, 40, 22, .06);
}
.market-category-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.market-category-card-visual:hover .market-category-thumb img { transform: scale(1.045); }
.market-category-card-visual .market-category-copy { display: block; padding: 0 3px; text-align: center; }
.market-category-card-visual .market-category-copy strong { display: block; color: #263126 !important; font-size: 12px; font-weight: 700; line-height: 1.35; }
.market-category-card-visual .market-category-copy small, .market-category-card-visual .market-category-arrow { display: none !important; }

@media (min-width: 1500px) {
  .hero-banner-inner { min-height: 510px; }
}
@media (min-width: 681px) and (max-width: 1100px) {
  .hero-banner-inner { min-height: 390px; }
  .hero-banner-copy { width: min(62%, 590px); }
  .hero.hero-banner h1 { font-size: clamp(36px, 4.2vw, 48px); }
  .market-category-grid-visual { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 680px) {
  .category-nav { background: #102112 !important; border-top-color: rgba(255,255,255,.1) !important; border-bottom: 0 !important; }
  .category-nav-inner a, .category-nav-inner a:first-child { color: #E7ECE5 !important; }
  .category-nav-inner a:hover, .category-nav-inner a.is-active { color: #fff !important; }
  .hero.hero-banner::after { background: linear-gradient(90deg, rgba(9, 29, 12, .96) 0%, rgba(9, 29, 12, .88) 36%, rgba(9, 29, 12, .56) 67%, rgba(9, 29, 12, .26) 100%); }
  .hero-banner-media img { object-position: 57% center; }
  .hero-banner-inner { min-height: 252px; padding-top: 25px; padding-bottom: 24px; }
  .hero-banner-copy { width: 100%; max-width: 390px; }
  .hero-banner-eyebrow { gap: 6px; margin-bottom: 10px; font-size: 8px; letter-spacing: 1.35px; }
  .hero-banner-eyebrow > span { font-size: 12px; }
  .hero.hero-banner h1 { max-width: 13ch; margin-bottom: 9px; font-size: clamp(28px, 7.2vw, 35px); line-height: 1.1; letter-spacing: -.5px; }
  .hero-banner-copy > p { max-width: 275px; margin-bottom: 12px; font-size: 10px; line-height: 1.55; }
  .hero-banner .hero-actions { gap: 7px; }
  .hero-banner .hero-actions .btn { min-height: 35px; padding: 8px 10px; gap: 5px; font-size: 9px; }
  .hero-banner-proof { gap: 7px; margin-top: 12px; }
  .hero-banner-proof-mark { flex-basis: 25px; width: 25px; height: 25px; font-size: 11px; }
  .hero-banner-proof strong { font-size: 9px; }
  .hero-banner-proof small { font-size: 8px; }
  .market-category-grid-visual { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 13px 10px !important; }
  .market-category-card.market-category-card-visual { gap: 6px; }
  .market-category-card-visual .market-category-copy strong { font-size: 10px; line-height: 1.3; }
  .market-category-thumb { border-radius: 7px; }
}
@media (max-width: 390px) {
  .hero-banner-inner { min-height: 248px; padding-top: 22px; padding-bottom: 20px; }
  .hero.hero-banner h1 { font-size: 27px; }
  .hero-banner-copy > p { max-width: 250px; font-size: 9px; }
  .hero-banner .hero-actions .btn { padding-inline: 8px; font-size: 8px; }
}

/* Keep the homepage sections on the same soft-sage canvas as the reference. */
.market-featured-products-section, .home-courses-clean { background: var(--maacart-bg) !important; }


/* Built-in marketplace policy pages and post-auth checkout continuation */
.cart-nav-icon svg { width: 22px; height: 22px; display: block; }
.mobile-bottom-cart-icon svg { width: 25px; height: 25px; display: block; }
.cart-nav-link { gap: 8px; }
.cart-count { box-shadow: 0 0 0 2px #142816; }
.policy-page-hero, .checkout-continue-hero { background: linear-gradient(120deg, #F1F2EC, #E6EAE1 76%, #F5F0E4) !important; }
.policy-content-section, .checkout-continue-section { background: #EFEFEA; }
.policy-document { max-width: 900px; margin: 0 auto; padding: clamp(24px, 4vw, 52px); background: #fff; border: 1px solid #DCDCE5; border-radius: 16px; box-shadow: 0 8px 28px rgba(20,40,22,.06); }
.policy-document-mark, .checkout-continue-shield { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 12px; background: #EFEFEA; color: #142816; }
.policy-document-mark svg, .checkout-continue-shield svg { width: 27px; height: 27px; }
.policy-document-copy { color: #3B4339; font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
.policy-document-copy br + br { content: ''; display: block; margin-top: 10px; }
.policy-document-help { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid #DCDCE5; color: #667062; font-size: 13px; }
.policy-document-help a { color: #1B361C; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.policy-back-link { max-width: 900px; margin: 24px auto 0; display: flex; justify-content: space-between; gap: 18px; }
.checkout-continue-layout { display: grid; grid-template-columns: 1fr minmax(320px, 450px); align-items: start; gap: clamp(26px, 5vw, 72px); }
.checkout-continue-intro { padding: 18px 0; }
.checkout-continue-intro h2 { margin: 0 0 14px; color: #142816; font: 600 clamp(27px, 3vw, 38px)/1.2 var(--maacart-font-heading, Georgia, serif); }
.checkout-continue-intro p { max-width: 520px; color: #626D61; line-height: 1.85; }
.checkout-continue-assurance { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; color: #42533D; font-size: 12px; font-weight: 650; margin-top: 24px; }
.checkout-continue-assurance span { color: #8A6A24; font-weight: 900; }
.checkout-continue-summary { background: #fff; border: 1px solid #DCDCE5; border-radius: 16px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 10px 30px rgba(20,40,22,.06); }
.checkout-continue-summary h2 { margin: 10px 0 6px; font-size: 21px; color: #222; line-height: 1.4; }
.checkout-continue-items { display: grid; gap: 0; margin-top: 20px; }
.checkout-continue-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 0; border-bottom: 1px solid #ECEDE6; color: #555F52; font-size: 13px; }
.checkout-continue-item strong { color: #222; white-space: nowrap; }
.checkout-continue-item-type { color: #667062; font-size: 13px; }
.checkout-continue-summary .cart-summary-total { margin: 20px 0; }
.checkout-continue-summary .cart-checkout-button { min-height: 50px; font-size: 13px; }
.checkout-continue-return { display: block; margin: 15px 0 0; color: #385238; font-size: 12px; font-weight: 700; text-align: center; }
@media (max-width: 760px) {
 .policy-document { padding: 22px 18px; border-radius: 12px; }
 .policy-document-copy { font-size: 14px; }
 .policy-back-link { flex-direction: column; }
 .checkout-continue-layout { grid-template-columns: 1fr; }
 .checkout-continue-intro { padding: 0; }
 .checkout-continue-summary { order: -1; }
}


/* 2026-10-23 purchase roadmap, consent checkout, mobile stickiness and compact footer spacing. */
.purchase-progress { margin: 0 0 28px; padding: 18px 20px; border: 1px solid #D8DFD3; border-radius: 13px; background: rgba(255,255,255,.78); box-shadow: 0 6px 20px rgba(20,40,22,.035); }
.purchase-progress ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.purchase-progress-step { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; color: #8A9386; }
.purchase-progress-step:not(:last-child)::after { content: ''; position: absolute; top: 17px; left: 42px; right: -7px; height: 1px; background: #D8DFD3; }
.purchase-progress-number { z-index: 1; display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border: 1px solid #D8DFD3; border-radius: 50%; background: #F7F8F4; color: #788171; font-size: 10px; font-weight: 800; }
.purchase-progress-number svg { width: 16px; height: 16px; }
.purchase-progress-copy { z-index: 1; display: grid; min-width: 0; gap: 1px; padding-right: 5px; background: transparent; }
.purchase-progress-copy strong { color: #6B7568; font-size: 11px; font-weight: 800; line-height: 1.3; }
.purchase-progress-copy small { color: #81897D; font-size: 9px; line-height: 1.35; }
.purchase-progress-step.is-complete .purchase-progress-number { border-color: #2C4E2F; background: #2C4E2F; color: #fff; }
.purchase-progress-step.is-current .purchase-progress-number { border-color: #142816; background: #142816; color: #E5D4A1; box-shadow: 0 0 0 4px rgba(20,40,22,.08); }
.purchase-progress-step.is-current .purchase-progress-copy strong { color: #142816; }
.checkout-customer-card { margin-top: 26px; padding: 20px; border: 1px solid #D8DFD3; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(20,40,22,.035); }
.checkout-customer-card-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; margin-bottom: 4px; border-bottom: 1px solid #EBEEE7; }
.checkout-customer-avatar { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; background: #EEF1E9; color: #142816; }
.checkout-customer-avatar svg { width: 24px; height: 24px; }
.checkout-customer-card-heading div { display: grid; gap: 3px; }
.checkout-customer-card-heading strong { color: #172519; font-size: 13px; }
.checkout-customer-card-heading small { color: #6B7568; font-size: 10px; line-height: 1.5; }
.checkout-customer-detail { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid #F0F1ED; color: #667062; font-size: 11px; }
.checkout-customer-detail strong { max-width: 65%; color: #222; font-size: 11px; text-align: right; overflow-wrap: anywhere; }
.checkout-customer-edit { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; color: #2C4E2F; font-size: 11px; font-weight: 800; }
.checkout-steps-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 20px; padding: 17px; border: 1px solid #E4D9BD; border-radius: 12px; background: #F7F3E9; }
.checkout-steps-note-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; background: #E8DDBF; color: #4A3A19; font-size: 19px; }
.checkout-steps-note strong { display: block; margin: 1px 0 4px; color: #332A18; font-size: 12px; }
.checkout-steps-note p { color: #6A604B; font-size: 11px; line-height: 1.75; }
.checkout-item-count { display: inline-block; margin-left: 4px; padding: 4px 7px; border-radius: 999px; background: #EEF1E9; color: #456042; font: 700 10px var(--maacart-font-body); vertical-align: middle; }
.checkout-item-product { display: flex; align-items: center; flex: 1; min-width: 0; gap: 10px; }
.checkout-item-thumb { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; overflow: hidden; border: 1px solid #E5E8E1; border-radius: 8px; background: #F5F6F1; color: #456042; }
.checkout-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-title { display: -webkit-box; overflow: hidden; color: #313A2F; font-size: 12px; font-weight: 650; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.checkout-continue-item { align-items: center; }
.checkout-continue-item > strong { color: #162819; font-size: 12px; }
.checkout-single-item-summary { display: grid; gap: 6px; margin: 18px 0; padding: 15px; border: 1px solid #E5E8E1; border-radius: 10px; background: #F7F8F4; color: #677161; font-size: 11px; line-height: 1.6; }
.checkout-summary-product-kind { color: #42623E; font-size: 9px; font-weight: 900; letter-spacing: 1.1px; }
.checkout-terms-card { margin-top: 22px; padding: 15px; border: 1px solid #D7DFD2; border-radius: 10px; background: #F7F8F4; }
.checkout-terms-label { display: flex; align-items: flex-start; gap: 10px; color: #3B4538; font-size: 11px; font-weight: 600; line-height: 1.65; cursor: pointer; }
.checkout-terms-label input { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 2px; accent-color: #1B361C; cursor: pointer; }
.checkout-terms-label a { color: #1B361C; font-weight: 850; text-decoration: underline; text-underline-offset: 2px; }
.checkout-terms-help { margin: 8px 0 0 27px; color: #7A8375; font-size: 9px; line-height: 1.5; }
.checkout-terms-error { margin: 8px 0 0 27px; color: #A12B2B; font-size: 11px; font-weight: 700; }
.checkout-place-order { justify-content: center; min-height: 52px !important; gap: 10px; border: 1px solid #142816 !important; border-radius: 9px !important; background: #142816 !important; color: #fff !important; box-shadow: 0 8px 18px rgba(20,40,22,.13) !important; font-size: 13px !important; font-weight: 850 !important; }
.checkout-place-order:hover:not(:disabled) { border-color: #2C4E2F !important; background: #2C4E2F !important; transform: translateY(-1px); }
.checkout-place-order:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none !important; }
.checkout-payment-trust { display: flex; align-items: center; gap: 9px; margin-top: 13px; padding: 11px 12px; border: 1px solid #E6E8E1; border-radius: 9px; background: #FBFCF9; color: #42613E; }
.checkout-payment-trust > span:first-child { font-size: 19px; }
.checkout-payment-trust div { display: grid; flex: 1; gap: 2px; }
.checkout-payment-trust strong { color: #334330; font-size: 10px; }
.checkout-payment-trust small { color: #7C8578; font-size: 9px; }
.checkout-lock-icon { color: #7B6842; font-size: 15px; }
.checkout-success-hero { background: linear-gradient(120deg,#F1F2EC,#E6EAE1 76%,#F5F0E4) !important; }
.checkout-success-section { background: #EFEFEA; }
.checkout-success-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: start; gap: 22px; }
.checkout-success-card,.checkout-success-downloads { min-width: 0; padding: clamp(22px,3vw,34px); border: 1px solid #D9E0D4; border-radius: 15px; background: #fff; box-shadow: 0 8px 28px rgba(20,40,22,.05); }
.checkout-success-mark { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 50%; background: #E7F1E3; color: #28552A; }
.checkout-success-mark svg { width: 29px; height: 29px; }
.checkout-success-card h2 { margin: 8px 0 10px; color: #142816; font: 600 clamp(25px,3vw,35px)/1.18 var(--maacart-font-heading,Georgia,serif); }
.checkout-success-card > p { margin-bottom: 20px; color: #616C5E; font-size: 13px; line-height: 1.8; }
.checkout-success-meta { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid #EBEEE7; color: #6A7466; font-size: 11px; }
.checkout-success-meta strong { color: #243324; text-align: right; overflow-wrap: anywhere; }
.checkout-success-meta .checkout-success-paid { color: #2B672F; }
.checkout-success-account-button { width: 100%; margin-top: 18px; justify-content: center; }
.checkout-success-downloads h2 { margin: 9px 0 14px; color: #182719; font: 600 25px/1.2 var(--maacart-font-heading,Georgia,serif); }
.checkout-success-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 13px 0; border-top: 1px solid #EBEEE7; }
.checkout-success-item-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 9px; background: #EEF1E9; color: #29492A; }
.checkout-success-item-copy { display: grid; flex: 1; min-width: 0; gap: 3px; }
.checkout-success-item-copy strong { color: #293329; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.checkout-success-item-copy small { color: #81897D; font-size: 9px; }
.checkout-success-item-action { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 7px; background: #142816; color: #fff; font-size: 10px; font-weight: 800; }
.checkout-success-item-pending { flex: 0 0 auto; color: #667062; font-size: 9px; font-weight: 700; }
.checkout-success-howto { margin-top: 16px; padding: 16px; border: 1px solid #E7DDBF; border-radius: 11px; background: #F8F4E9; }
.checkout-success-howto > strong { display: block; margin-bottom: 8px; color: #3D331D; font-size: 11px; }
.checkout-success-howto ol { display: grid; gap: 7px; margin: 0; padding-left: 18px; color: #6C624D; font-size: 10px; line-height: 1.6; }
.checkout-success-note { margin-top: 14px; color: #707B6B; font-size: 10px; line-height: 1.65; }

/* Compress the trust-to-footer transition; two adjacent sections should read as one composition. */
.market-why-trust, .market-why-trust-clean { padding-top: 38px !important; padding-bottom: 34px !important; }
.footer-topline { padding-top: 30px !important; padding-bottom: 20px !important; gap: clamp(22px,3vw,44px) !important; }
.footer-accordions { padding-top: 18px !important; padding-bottom: 16px !important; gap: 22px !important; }
.footer-bottom { min-height: 48px !important; }

/* Reliable sticky header and safe space for the fixed mobile dock. */
@media (max-width: 680px) {
  html { scroll-padding-top: 86px; }
  .site-header { position: sticky !important; top: 0 !important; z-index: 1300 !important; isolation: isolate; }
  .nav-wrap { min-height: 62px; }
  .category-nav.is-open { max-height: min(68dvh, 520px); overflow-y: auto; overscroll-behavior: contain; }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important; }
  main { min-width: 0; }
  .purchase-progress { margin-bottom: 18px; padding: 12px 9px; border-radius: 10px; }
  .purchase-progress ol { gap: 3px; }
  .purchase-progress-step { flex-direction: column; align-items: center; gap: 5px; text-align: center; }
  .purchase-progress-step:not(:last-child)::after { top: 16px; left: calc(50% + 21px); right: calc(-50% + 21px); }
  .purchase-progress-number { flex-basis: 33px; width: 33px; height: 33px; font-size: 9px; }
  .purchase-progress-copy { gap: 1px; padding: 0; }
  .purchase-progress-copy strong { font-size: 9px; }
  .purchase-progress-copy small { display: none; }
  .checkout-continue-layout { gap: 17px; }
  .checkout-continue-intro h2 { font-size: 28px; }
  .checkout-customer-card { margin-top: 18px; padding: 15px; }
  .checkout-steps-note { gap: 10px; padding: 13px; }
  .checkout-continue-summary { order: 0 !important; padding: 17px; border-radius: 12px; }
  .checkout-continue-summary h2 { font-size: 19px; }
  .checkout-item-thumb { flex-basis: 44px; width: 44px; height: 44px; }
  .checkout-item-title { font-size: 10px; }
  .checkout-terms-card { margin-top: 17px; padding: 12px; }
  .checkout-terms-label { font-size: 10px; }
  .checkout-place-order { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 10; box-shadow: 0 5px 18px rgba(20,40,22,.2) !important; }
  .checkout-payment-trust { gap: 7px; padding: 10px; }
  .checkout-success-layout { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .checkout-success-card,.checkout-success-downloads { padding: 20px 16px; }
  .checkout-success-downloads h2 { font-size: 23px; }
  .checkout-success-item { flex-wrap: wrap; }
  .checkout-success-item-action,.checkout-success-item-pending { margin-left: 48px; }
  .market-why-trust, .market-why-trust-clean { padding-top: 27px !important; padding-bottom: 24px !important; }
  .footer-topline { padding-top: 22px !important; padding-bottom: 16px !important; gap: 16px !important; }
  .footer-brand-column .footer-company-name { margin-top: 11px !important; }
  .footer-accordions { padding-top: 8px !important; padding-bottom: 8px !important; }
  .footer-accordion summary { min-height: 46px !important; }
  .footer-accordion-content { padding-bottom: 13px !important; }
  .footer-bottom { padding-top: 12px !important; padding-bottom: 14px !important; }
  .back-to-top { bottom: calc(90px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 390px) {
  .checkout-success-meta { font-size: 10px; }
  .checkout-success-item-action { padding: 7px 8px; font-size: 9px; }
  .checkout-place-order { font-size: 12px !important; }
}


/* MaaCart product media and sharing polish (2026-10-23) */
.market-product-image {
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #E8ECE4 !important;
}
.market-product-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
}
.market-detail-art.has-cover-image {
  position: relative !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #E8ECE4 !important;
}
.market-detail-art.has-cover-image .detail-art-image {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: inherit !important;
}
/* File formats are intentionally not overlaid on cover art or product tiles. */
.market-detail-format, .market-product-meta .market-file-format { display: none !important; }
.market-product-share {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 15px 0 0;
  border-top: 1px solid #DCE2D8;
}
.market-product-share-heading { display: grid; gap: 3px; }
.market-product-share-label {
  color: #52634F;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 1.5px;
}
.market-product-share-note { color: #737D70; font-size: 11px; }
.market-product-share-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.market-product-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #DCE2D8;
  border-radius: 8px;
  background: #fff;
  color: #243126;
  font: 700 11px/1.2 Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s;
}
.market-product-share-button svg { width: 16px; height: 16px; flex: 0 0 16px; }
.market-product-share-button:hover { border-color: #91A48C; background: #F5F7F2; transform: translateY(-1px); }
.market-product-share-button:focus-visible { outline: 3px solid #B6C9AE; outline-offset: 2px; }
.market-product-share-button.share-whatsapp { border-color: #CBE9D5; background: #F3FBF5; color: #176A3A; }
.market-product-share-button.share-facebook { border-color: #D4E2F8; background: #F4F8FF; color: #1455A3; }
.market-product-share-button.share-instagram { border-color: #EAD7E5; background: #FCF5FA; color: #9A376E; }
.market-product-share-button.share-copy { background: #F4F6F1; }
.market-product-share-status { margin: 0; color: #315B31; font-size: 11px; line-height: 1.5; }
.market-product-share-status[hidden] { display: none !important; }
.market-product-share-help { margin: 0; max-width: 660px; color: #727C70; font-size: 10px; line-height: 1.55; }
@media (max-width: 680px) {
  .market-product-share { margin-top: 18px; padding-top: 13px; gap: 9px; }
  .market-product-share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-product-share-button { width: 100%; min-height: 42px; padding: 9px 8px; font-size: 11px; }
  .market-detail-art.has-cover-image { height: 290px !important; }
}
@media (max-width: 390px) {
  .market-product-share-actions { grid-template-columns: 1fr 1fr; gap: 6px; }
  .market-product-share-button { gap: 5px; font-size: 10px; }
}


/* Product-detail layout repair: keep the cover inside the two-column container. */
.market-product-detail-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: clamp(28px, 4vw, 58px) !important;
}
.market-product-detail-grid > .market-detail-art {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: clamp(330px, 36vw, 470px) !important;
  min-height: 0 !important;
  margin: 0;
  align-self: start;
  border-radius: 16px !important;
  background: #F7F8F4 !important;
}
.market-product-detail-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-top: 4px;
}
.market-product-detail-copy h1 {
  overflow-wrap: anywhere;
}
.market-product-detail-grid > .market-detail-art.has-cover-image .detail-art-image {
  object-fit: contain !important;
  object-position: center !important;
  background: #F7F8F4;
}
@media (max-width: 900px) {
  .market-product-detail-grid { gap: 24px !important; }
  .market-product-detail-grid > .market-detail-art { height: clamp(300px, 42vw, 400px) !important; }
}
@media (max-width: 680px) {
  .market-product-detail-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }
  .market-product-detail-grid > .market-detail-art {
    grid-column: 1;
    grid-row: 1;
    height: clamp(230px, 72vw, 360px) !important;
    min-height: 0 !important;
  }
  .market-product-detail-copy {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
  }
}


/* Guest checkout: inline account creation/sign-in, matching MaaCart's forest-green theme. */
.checkout-auth-panel {
    margin-top: 24px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid #d8dfd3;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 0%, #f7f8f4 100%);
    box-shadow: 0 12px 32px rgba(20, 40, 22, .06);
}
.checkout-auth-kicker { display: block; margin-bottom: 8px; color: #59704f; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.checkout-auth-panel h3 { margin: 0 0 8px; color: #142816; font: 600 clamp(22px, 2.4vw, 29px)/1.2 var(--maacart-font-heading, Georgia, serif); }
.checkout-continue-intro .checkout-auth-intro { max-width: 600px; margin: 0 0 17px; font-size: 13px; line-height: 1.65; }
.checkout-auth-details { margin-top: 11px; overflow: clip; border: 1px solid #dce3d7; border-radius: 12px; background: #fff; }
.checkout-auth-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 13px 16px; cursor: pointer; color: #142816; list-style: none; }
.checkout-auth-details > summary::-webkit-details-marker { display: none; }
.checkout-auth-details > summary > span:first-child { display: grid; gap: 4px; }
.checkout-auth-details > summary strong { font-size: 14px; font-weight: 750; }
.checkout-auth-details > summary small { color: #697569; font-size: 11px; }
.checkout-auth-summary-mark { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #eef2e9; color: #24472a; font-size: 20px; transition: transform .18s ease; }
.checkout-auth-details[open] > summary { border-bottom: 1px solid #ebeee7; background: #f9faf7; }
.checkout-auth-details[open] .checkout-auth-summary-mark { transform: rotate(45deg); }
.checkout-auth-form { display: grid; gap: 13px; padding: 17px; }
.checkout-auth-field { display: grid; gap: 6px; }
.checkout-auth-field label { color: #29392a; font-size: 12px; font-weight: 700; }
.checkout-auth-field input { box-sizing: border-box; width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #d4dbd0; border-radius: 9px; background: #fff; color: #1c2a1d; font: inherit; font-size: 14px; }
.checkout-auth-field input:focus { outline: 3px solid rgba(44, 78, 47, .15); border-color: #2c4e2f; }
.checkout-auth-field input[aria-invalid="true"] { border-color: #b42318; }
.checkout-auth-error { color: #b42318; font-size: 12px; line-height: 1.45; }
.checkout-auth-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; border: 0; background: #142816; color: #fff; font-weight: 750; }
.checkout-auth-submit:hover { background: #2c4e2f; }
.checkout-auth-privacy, .checkout-auth-forgot { color: #697569; font-size: 11px; line-height: 1.5; }
.checkout-auth-forgot { justify-self: start; color: #28502d; text-decoration: underline; text-underline-offset: 3px; }
.checkout-auth-remember { display: flex; align-items: center; gap: 8px; color: #536152; font-size: 12px; }
.checkout-auth-remember input { accent-color: #1b361c; }
.checkout-guest-next-step { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 15px; border: 1px solid #dbe2d6; border-radius: 12px; background: #f5f7f1; }
.checkout-guest-next-icon { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #e4ebdd; color: #1b361c; font-size: 17px; }
.checkout-guest-next-step strong { display: block; margin: 2px 0 5px; color: #1d3020; font-size: 13px; }
.checkout-continue-summary .checkout-guest-next-step p { margin: 0; color: #627061; font-size: 12px; line-height: 1.6; }
@media (max-width: 767px) {
    .checkout-auth-panel { margin-top: 18px; padding: 15px; border-radius: 13px; }
    .checkout-auth-details > summary { min-height: 58px; padding: 12px; }
    .checkout-auth-form { gap: 12px; padding: 13px 12px; }
    .checkout-auth-field input { min-height: 44px; font-size: 16px; }
    .checkout-auth-submit { min-height: 48px; }
    .checkout-guest-next-step { padding: 12px; }
}

/* MaaCart mobile footer fix — remove the cream gap before the fixed bottom nav. */
@media (max-width: 680px) {
  body:has(.mobile-bottom-nav) {
    padding-bottom: 0 !important;
  }
  .site-footer {
    margin-bottom: 0 !important;
    padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
    width: 100%;
    overflow: clip;
  }
  .site-footer .container,
  .footer-topline,
  .footer-accordions,
  .footer-bottom {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .footer-topline {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    padding-top: 30px !important;
    padding-bottom: 22px !important;
  }
  .footer-brand-column,
  .footer-follow,
  .footer-follow-copy,
  .footer-follow-actions {
    min-width: 0 !important;
    width: 100%;
  }
  .footer-follow {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  .footer-follow-copy h2 {
    font-size: clamp(20px, 5.8vw, 26px) !important;
    overflow-wrap: anywhere;
  }
  .footer-follow-copy p,
  .footer-brand-column > p {
    overflow-wrap: anywhere;
  }
  .footer-follow-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 8px !important;
  }
  .footer-social-link,
  .footer-whatsapp-link {
    min-width: 0 !important;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .footer-social-link {
    padding: 9px 8px !important;
    font-size: 10px !important;
  }
  .footer-whatsapp-link {
    grid-column: 1 / -1;
  }
  .footer-accordions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .footer-accordion {
    min-width: 0 !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .footer-accordion:last-child { border-bottom: 0; }
  .footer-accordion summary {
    min-height: 28px;
    font-size: 13px !important;
  }
  .footer-accordion-content {
    gap: 12px !important;
    padding-top: 13px !important;
  }
  .footer-accordion-content a,
  .footer-accordion-content p {
    font-size: 12px !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere !important;
  }
  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 9px !important;
    padding-top: 17px !important;
    padding-bottom: 20px !important;
    font-size: 10px !important;
    line-height: 1.6 !important;
  }
  .footer-bottom > span { max-width: 100%; overflow-wrap: anywhere; }
  .footer-bottom-tag { font-size: 9px !important; }
  .mobile-bottom-nav { z-index: 1200; }
}
