:root {
  --forest: #063b24;
  --green: #0f7a3a;
  --leaf: #22a35a;
  --mint: #a7f3d0;
  --cream: #faf7ef;
  --cream-2: #f1eadb;
  --gold: #d6a93a;
  --gold-2: #f4c542;
  --charcoal: #10251a;
  --muted: #5e6f64;
  --line: rgba(16, 37, 26, .12);
  --shadow: 0 24px 70px rgba(6, 59, 36, .16);
  --shadow-soft: 0 12px 35px rgba(6, 59, 36, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.section-inner { width: min(1440px, calc(100% - clamp(32px, 5vw, 96px))); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 9999; background: rgba(250,247,239,.85); border-bottom: 1px solid rgba(6,59,36,.10); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: all .25s cubic-bezier(0.16, 1, 0.3, 1); }
.site-header.scrolled { background: rgba(250,247,239,.94); box-shadow: 0 12px 34px rgba(6,59,36,.08); }
.nav-shell { width: min(1600px, calc(100% - clamp(28px, 4vw, 80px))); height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: 244px; }
.brand-mark { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(circle at 28% 22%, #3bd06f, var(--green) 46%, var(--forest)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 28px rgba(6,59,36,.22); position: relative; overflow: hidden; }
.brand-mark:after { content: ""; position: absolute; width: 34px; height: 18px; border: 2px solid rgba(244,197,66,.72); border-left: 0; border-bottom: 0; transform: rotate(-34deg); border-radius: 50%; top: 18px; left: 15px; }
.brand-mark span { color: white; font-weight: 900; letter-spacing: .03em; position: relative; z-index: 1; }
.brand-lockup strong { display: block; font-size: 1.08rem; line-height: 1.05; letter-spacing: -.01em; font-weight: 950; }
.brand-lockup small { display: block; color: var(--muted); font-size: .72rem; margin-top: 4px; }
.brand-lockup.light small, .brand-lockup.light strong { color: white; }
.desktop-nav { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 800; color: rgba(16,37,26,.78); }
.desktop-nav > a, .nav-menu-trigger { padding: 10px 12px; border-radius: 999px; transition: .2s ease; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.active, .nav-menu-trigger:hover, .nav-menu-trigger.active, .nav-menu.open .nav-menu-trigger { color: var(--forest); background: rgba(15,122,58,.10); }
.nav-menu { position: relative; }
.nav-menu-trigger { display: inline-flex; align-items: center; gap: 9px; border: 0; color: rgba(16,37,26,.78); background: transparent; font-weight: 900; cursor: pointer; }
.nav-menu-trigger .chevron { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 999px; color: var(--green); font-size: 1rem; line-height: 1; transform: translateY(-1px); transition: transform .18s ease, background .18s ease; }
.nav-menu-trigger .chevron svg { width: 10px; height: 10px; transition: transform 0.2s ease; }
.nav-menu:hover .nav-menu-trigger .chevron, .nav-menu:focus-within .nav-menu-trigger .chevron, .nav-menu.open .nav-menu-trigger .chevron { transform: rotate(180deg); background: rgba(15,122,58,.10); }
.nav-menu-panel { display: grid; gap: 6px; position: absolute; right: 0; top: calc(100% + 12px); min-width: 295px; padding: 12px; border: 1px solid rgba(255,255,255,.66); background: rgba(250,247,239,.96); backdrop-filter: blur(18px); border-radius: 22px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; z-index: 360; }
.nav-menu:hover .nav-menu-panel, .nav-menu:focus-within .nav-menu-panel, .nav-menu.open .nav-menu-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu-panel:before { content: ""; position: absolute; top: -8px; right: 28px; width: 16px; height: 16px; transform: rotate(45deg); background: rgba(250,247,239,.96); border-left: 1px solid rgba(255,255,255,.66); border-top: 1px solid rgba(255,255,255,.66); }
.nav-menu-panel a { position: relative; z-index: 1; display: block; padding: 12px 13px; border-radius: 16px; color: var(--charcoal); transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-menu-panel a:hover, .nav-menu-panel a:focus { background: rgba(15,122,58,.09); color: var(--forest); transform: translateX(5px); outline: 0; }
.nav-menu-panel strong { display: block; font-size: .86rem; font-weight: 950; }
.nav-menu-panel small { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; line-height: 1.35; font-weight: 750; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.quote-btn, .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 22px; border: 0; border-radius: 999px; color: white; background: linear-gradient(135deg, var(--green), var(--forest)); font-weight: 900; box-shadow: 0 12px 28px rgba(6,59,36,.18); cursor: pointer; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); outline: 2px solid transparent; }
.quote-btn:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(6,59,36,.24); }
.quote-btn:active, .btn-primary:active { transform: translateY(0) scale(0.97); }
.quote-btn:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, .marketplace-cta:focus-visible, .login-btn:focus-visible, .btn-outline:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(34,163,90,.4), 0 12px 30px rgba(6,59,36,.15); }
.marketplace-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; color: #1f1a0d; background: linear-gradient(135deg, var(--gold-2), var(--gold)); font-weight: 950; box-shadow: 0 12px 28px rgba(93,68,11,.15); transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); white-space: nowrap; outline: 2px solid transparent; }
.marketplace-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(93,68,11,.22); }
.marketplace-cta:active { transform: translateY(0) scale(0.97); }
.login-btn { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(6,59,36,.18); color: var(--forest); background: rgba(255,255,255,.58); font-weight: 900; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); outline: 2px solid transparent; }
.login-btn:hover { background: rgba(255,255,255,.82); border-color: var(--green); transform: translateY(-1px); }
.login-btn:active { transform: translateY(0) scale(0.98); }
.nav-logout-form, .mobile-logout-form { margin: 0; }
.logout-btn { cursor: pointer; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); color: white; font-weight: 900; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); outline: 2px solid transparent; }
.btn-secondary:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); border-color: white; }
.btn-secondary:active { transform: translateY(0) scale(0.97); }
.btn-cream { color: var(--forest); background: var(--cream); border-color: transparent; box-shadow: 0 12px 28px rgba(0,0,0,.08); transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-cream:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,.12); }
.btn-cream:active { transform: translateY(0) scale(0.97); }
.btn-gold { color: #1f1a0d; background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: transparent; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(93,68,11,.22); }
.btn-gold:active { transform: translateY(0) scale(0.97); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--forest); color: var(--forest); font-weight: 900; background: transparent; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); outline: 2px solid transparent; }
.btn-outline:hover { background: rgba(15,122,58,.08); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0) scale(0.97); }
.mobile-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: 14px; padding: 10px; }
.mobile-toggle span { display: block; height: 2px; background: var(--forest); margin: 5px 0; border-radius: 4px; }
.mobile-menu { display: none; width: min(1240px, calc(100% - 28px)); margin: 0 auto 14px; padding: 14px; border-radius: 22px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7); z-index: 5100; max-height: calc(100vh - 92px); overflow-y: auto; }
.mobile-menu-group { padding: 6px 0 12px; border-bottom: 1px solid rgba(6,59,36,.08); }
.mobile-menu-group:last-child { border-bottom: 0; padding-bottom: 0; }
.mobile-menu-group > span { display: block; padding: 8px 10px 4px; color: var(--muted); font-size: .68rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.mobile-menu a, .mobile-menu button { display: flex; width: 100%; min-height: 46px; align-items: center; padding: 12px 14px; border-radius: 14px; font-weight: 850; color: var(--forest); border: 0; background: transparent; text-align: left; }
.mobile-menu a:hover, .mobile-menu button:hover { background: rgba(15,122,58,.08); }
.mobile-collapse-trigger { justify-content: space-between; font-weight: 950 !important; }
.mobile-collapse-trigger span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: rgba(15,122,58,.10); font-size: 1.05rem; transition: transform .18s ease; }
.mobile-collapse.open .mobile-collapse-trigger span { transform: rotate(180deg); }
.mobile-collapse-panel { max-height: 0; overflow: hidden; opacity: 0; padding-left: 8px; transition: max-height 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease; }
.mobile-collapse.open .mobile-collapse-panel { max-height: 400px; opacity: 1; }
.mobile-marketplace-group .marketplace-cta { width: 100%; min-height: 48px; }
.mobile-account-group .quote-btn { justify-content: center; color: white; background: linear-gradient(135deg, var(--green), var(--forest)); }
.mobile-account-group .login-btn { justify-content: center; background: rgba(250,247,239,.92); border: 1px solid rgba(6,59,36,.16); }
.mobile-menu.open { display: block; animation: mobileMenuSlideIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes mobileMenuSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.marketplace-header { background: rgba(6,59,36,.92); border-bottom-color: rgba(255,255,255,.10); }
.marketplace-header.scrolled { background: rgba(6,59,36,.97); box-shadow: 0 18px 50px rgba(0,0,0,.20); }
.marketplace-header .brand-lockup strong, .marketplace-header .brand-lockup small { color: white; }
.marketplace-header .desktop-nav { color: rgba(255,255,255,.76); }
.marketplace-header .desktop-nav > a { color: rgba(255,255,255,.78); }
.marketplace-header .desktop-nav a:hover, .marketplace-header .desktop-nav a.active { color: white; background: rgba(255,255,255,.10); }
.marketplace-header .login-btn, .marketplace-back-link { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: white; background: rgba(255,255,255,.09); font-weight: 900; white-space: nowrap; }
.marketplace-back-link:hover, .marketplace-header .login-btn:hover { background: rgba(255,255,255,.15); }
.marketplace-header .mobile-toggle { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); }
.marketplace-header .mobile-toggle span { background: white; }
.marketplace-mobile-menu { background: rgba(6,59,36,.96); border-color: rgba(255,255,255,.14); }
.marketplace-mobile-menu .mobile-menu-group { border-bottom-color: rgba(255,255,255,.12); }
.marketplace-mobile-menu .mobile-menu-group > span { color: rgba(255,255,255,.58); }
.marketplace-mobile-menu a, .marketplace-mobile-menu button { color: white; }
.marketplace-mobile-menu a:hover, .marketplace-mobile-menu button:hover { background: rgba(255,255,255,.10); }

.hero { position: relative; overflow: hidden; padding: 88px 0 64px; color: white; background: radial-gradient(circle at 70% 22%, rgba(34,163,90,.7), transparent 28%), linear-gradient(135deg, #032819, var(--forest) 54%, #0b5e32); }
.hero:before, .pattern:before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(circle at 20px 20px, rgba(255,255,255,.35) 1.5px, transparent 2px), linear-gradient(120deg, transparent 0 45%, rgba(255,255,255,.14) 46% 47%, transparent 48%); background-size: 42px 42px, 90px 90px; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(214,169,58,.38); background: rgba(214,169,58,.14); color: #ffe7a2; font-size: .74rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.hero h1, .page-hero h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: .95; letter-spacing: -.04em; margin: 18px 0 22px; max-width: 900px; }
.hero p, .page-hero p { color: rgba(255,255,255,.82); font-size: 1.08rem; line-height: 1.75; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-row span, .pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); color: inherit; font-size: .75rem; font-weight: 900; }
.hero-visual { position: relative; min-height: 520px; perspective: 1200px; }
.hero-collage { min-height: 540px; }
.image-panel, .visual-panel { position: relative; overflow: hidden; border-radius: 34px; background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.24); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.image-panel { min-height: 430px; padding: 20px; transform: rotateY(-7deg) rotateX(4deg); }
.visual-panel { min-height: 380px; }
.hero-collage .image-panel { width: 78%; min-height: 410px; margin-left: auto; }
.collage-card { position: absolute; z-index: 3; overflow: hidden; border-radius: 26px; padding: 12px; background: rgba(250,247,239,.22); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 24px 70px rgba(0,0,0,.28); backdrop-filter: blur(14px); }
.collage-card.tasting { width: 245px; height: 190px; left: 6px; bottom: 76px; animation: softFloat 6s ease-in-out infinite; }
.collage-card.leaves { width: 190px; height: 150px; right: 18px; top: 12px; animation: softFloat 7s ease-in-out infinite reverse; }
.photo-placeholder { min-height: 100%; border-radius: 26px; position: relative; overflow: hidden; background-image: linear-gradient(160deg, rgba(250,247,239,.88), rgba(167,243,208,.38)), radial-gradient(circle at 25% 18%, rgba(244,197,66,.82), transparent 13%), linear-gradient(145deg, #2a8b4c, #0b4229); background-size: cover; background-position: center; }
.photo-placeholder.has-image { background-image: linear-gradient(160deg, rgba(6,59,36,.18), rgba(6,59,36,.35)), var(--image), linear-gradient(145deg, #2a8b4c, #0b4229); }
.photo-placeholder:before { content: ""; position: absolute; inset: 12% -10% 0; background: repeating-linear-gradient(162deg, rgba(6,59,36,.45) 0 2px, transparent 2px 24px); transform: rotate(-4deg); opacity: .72; }
.photo-placeholder:after { content: attr(data-label); position: absolute; left: 22px; bottom: 22px; padding: 10px 14px; border-radius: 14px; color: white; background: rgba(6,59,36,.72); font-weight: 900; backdrop-filter: blur(12px); }
.floating-card { position: absolute; z-index: 2; padding: 14px 16px; border-radius: 18px; color: var(--charcoal); background: rgba(250,247,239,.9); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(16px); }
.floating-card strong { display: block; font-size: 1.55rem; line-height: 1; color: var(--forest); }
.floating-card small { color: var(--muted); font-weight: 800; }
.float-a { top: 28px; left: -12px; } .float-b { right: -10px; top: 165px; } .float-c { left: 28px; bottom: 20px; } .float-d { right: 30px; bottom: 75px; }
.operation-mini { right: 12px; bottom: 14px; }
.cert-mini { left: 72px; top: 38px; }
@keyframes softFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.section { padding: 82px 0; position: relative; }
.cream-band { background: var(--cream); }
.white-band { background: rgba(255,255,255,.72); }
.dark-band { color: white; background: linear-gradient(135deg, #032819, var(--forest)); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.section-heading.center { display: block; text-align: center; max-width: 780px; margin-inline: auto; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; letter-spacing: -.035em; margin: 10px 0 0; }
.section-heading p { max-width: 650px; color: var(--muted); line-height: 1.7; margin: 12px 0 0; }
.dark-band .section-heading p { color: rgba(255,255,255,.72); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.premium-card { position: relative; overflow: hidden; border-radius: 28px; padding: 26px; background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.78); box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; }
.premium-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.premium-card h3 { font-size: 1.22rem; font-weight: 900; margin: 10px 0 8px; }
.premium-card p { color: var(--muted); line-height: 1.65; }
.icon-badge { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; color: var(--forest); background: linear-gradient(145deg, #fff7dc, #dff8e9); border: 1px solid rgba(214,169,58,.28); font-weight: 950; }
.stat-card { padding: 24px; border-radius: 24px; background: linear-gradient(145deg, white, #f7f0dd); border: 1px solid rgba(214,169,58,.22); box-shadow: var(--shadow-soft); }
.stat-card strong { display: block; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--forest); letter-spacing: -.045em; }
.stat-card span { display: block; color: var(--muted); font-weight: 850; margin-top: 4px; }
.product-card .product-art { height: 220px; border-radius: 24px; margin: -8px -8px 18px; background: radial-gradient(circle at 72% 18%, rgba(244,197,66,.82), transparent 12%), linear-gradient(145deg, #123c27, #1fa157); position: relative; overflow: hidden; }
.product-card .product-art:before { content: ""; position: absolute; inset: 24px; border-radius: 50%; border: 28px solid rgba(250,247,239,.86); box-shadow: inset 0 18px 30px rgba(6,59,36,.2); }
.product-card .product-art:after { content: attr(data-pack); position: absolute; left: 18px; bottom: 18px; padding: 9px 12px; border-radius: 12px; background: rgba(250,247,239,.9); color: var(--forest); font-weight: 950; font-size: .78rem; }
.product-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.product-meta span { font-size: .72rem; font-weight: 900; color: var(--forest); background: rgba(15,122,58,.1); border-radius: 999px; padding: 7px 10px; }
.card-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.card-actions .btn-primary, .card-actions .btn-secondary { min-height: 38px; font-size: .82rem; }
.card-actions .btn-secondary { color: var(--forest); border-color: rgba(6,59,36,.18); background: rgba(255,255,255,.58); }
.page-hero { position: relative; overflow: hidden; padding: 72px 0 104px; color: white; background: radial-gradient(circle at 80% 25%, rgba(214,169,58,.26), transparent 20%), linear-gradient(135deg, #032819, var(--forest)); }
.page-hero.marketplace-hero { background: radial-gradient(circle at 78% 28%, rgba(167,243,208,.30), transparent 22%), linear-gradient(135deg, #032819, #0b5830); }
.page-hero.specialty-hero { background: radial-gradient(circle at 82% 22%, rgba(214,169,58,.36), transparent 24%), linear-gradient(135deg, #102018, #5b4615); }
.page-hero.buyer-hero { background: radial-gradient(circle at 80% 25%, rgba(244,197,66,.26), transparent 20%), linear-gradient(135deg, #052116, #0f4a2b); }
.page-hero.sustainability-hero { background: radial-gradient(circle at 80% 25%, rgba(167,243,208,.32), transparent 22%), linear-gradient(135deg, #082a1b, #0f7a3a); }
.page-hero.news-hero { background: radial-gradient(circle at 80% 25%, rgba(214,169,58,.25), transparent 20%), linear-gradient(135deg, #051f16, #26371d); }
.page-hero.contact-hero { background: radial-gradient(circle at 80% 25%, rgba(255,255,255,.18), transparent 22%), linear-gradient(135deg, #032819, #145133); }
.page-hero.about-hero { background: radial-gradient(circle at 80% 25%, rgba(244,197,66,.20), transparent 20%), linear-gradient(135deg, #031f14, #0f6032); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.overlap-panel { margin-top: -74px; position: relative; z-index: 3; }
.filter-panel, .glass-panel { padding: 22px; border-radius: 28px; background: rgba(250,247,239,.82); border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.filter-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 14px; align-items: end; }
.field label { display: block; margin-bottom: 7px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 950; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(6,59,36,.16); background: rgba(255,255,255,.84); border-radius: 16px; padding: 13px 14px; outline: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(15,122,58,.12); }
.timeline { display: grid; gap: 14px; }
.timeline-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.timeline-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-2); font-weight: 950; }
.news-card .news-art { height: 190px; margin: -8px -8px 18px; border-radius: 24px; background: linear-gradient(145deg, rgba(6,59,36,.92), rgba(34,163,90,.7)), repeating-linear-gradient(135deg, rgba(250,247,239,.28) 0 2px, transparent 2px 20px); position: relative; }
.leader-card { display: flex; gap: 14px; align-items: center; }
.avatar-mark { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(145deg, var(--forest), var(--green)); color: var(--gold-2); font-weight: 950; flex: 0 0 auto; }
.map-placeholder { min-height: 360px; border-radius: 32px; background: linear-gradient(145deg, rgba(6,59,36,.86), rgba(34,163,90,.54)), repeating-linear-gradient(45deg, rgba(250,247,239,.18) 0 2px, transparent 2px 28px); display: grid; place-items: center; color: white; text-align: center; padding: 28px; box-shadow: var(--shadow); }

.newsroom-section { overflow: hidden; background: radial-gradient(circle at 82% 12%, rgba(214,169,58,.18), transparent 24%), linear-gradient(180deg, #fffaf0, #f1eadb); }
.newsroom-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.newsroom-toolbar h2 { margin: 10px 0 0; color: var(--forest); font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.035em; }
.newsroom-search { display: flex; gap: 10px; align-items: center; width: min(100%, 430px); }
.newsroom-search input { min-height: 44px; flex: 1; border: 1px solid rgba(6,59,36,.14); border-radius: 999px; padding: 0 16px; background: rgba(255,255,255,.84); outline: 0; }
.newsroom-chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; margin-bottom: 16px; }
.news-feature-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); overflow: hidden; margin: 18px 0 28px; border-radius: 30px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.78); box-shadow: var(--shadow); }
.news-feature-card__image, .newsroom-card__image { display: block; min-height: 100%; background: linear-gradient(160deg, rgba(6,59,36,.10), rgba(6,59,36,.38)), var(--news-image, none), linear-gradient(145deg, #0c2f20, #4d7c45); background-size: cover; background-position: center; }
.news-feature-card__body { padding: clamp(24px, 4vw, 42px); }
.news-feature-card__body h2 { margin: 16px 0 12px; color: var(--forest); font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -.035em; }
.news-feature-card__body h2 a, .newsroom-card h3 a { color: inherit; }
.news-subtitle { color: #354b3d; font-weight: 850; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; color: var(--muted); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.news-meta span { padding: 6px 9px; border-radius: 999px; background: rgba(15,122,58,.08); }
.newsroom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.newsroom-card { overflow: hidden; border-radius: 26px; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.76); box-shadow: var(--shadow-soft); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.newsroom-card:hover { transform: translateY(-6px); border-color: rgba(214,169,58,.42); box-shadow: var(--shadow); }
.newsroom-card__image { min-height: 190px; }
.newsroom-card__body { padding: 20px; }
.newsroom-card h3 { color: var(--forest); line-height: 1.2; margin: 8px 0 10px; }
.newsroom-card p, .news-feature-card__body p { color: var(--muted); line-height: 1.7; }
.news-read-link { color: var(--forest); font-size: .82rem; font-weight: 950; }
.newsroom-empty { grid-column: 1 / -1; text-align: center; padding: 52px 24px; border-radius: 28px; background: rgba(255,255,255,.72); border: 1px dashed rgba(6,59,36,.18); }

.news-detail-page { --news-accent: var(--green); background: #fffaf0; }
.news-detail-hero { position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 82% 16%, rgba(214,169,58,.24), transparent 24%), linear-gradient(135deg, #031d13, #063b24 62%, #10251a); }
.news-detail-hero__inner { padding: clamp(68px, 9vw, 118px) 0 clamp(52px, 7vw, 82px); }
.news-back-link { display: inline-flex; margin-bottom: 18px; color: #fff2b0; font-weight: 900; font-size: .82rem; }
.news-detail-hero h1 { max-width: 980px; margin: 18px 0; font-size: clamp(2.4rem, 5.6vw, 5.7rem); line-height: .96; letter-spacing: -.04em; }
.news-detail-subtitle { max-width: 780px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.65; }
.news-detail-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.news-detail-meta span { padding: 8px 11px; border-radius: 999px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.news-detail-cover { margin-top: -38px; position: relative; z-index: 2; }
.news-detail-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 30px; box-shadow: 0 34px 90px rgba(0,0,0,.24); }
.news-detail-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(260px, 1fr); gap: clamp(28px, 5vw, 64px); padding-top: clamp(44px, 6vw, 78px); padding-bottom: clamp(64px, 8vw, 110px); align-items: start; }
.rich-news-content { color: #24382d; font-size: clamp(1rem, 1.2vw, 1.08rem); line-height: 1.85; }
.rich-news-content h2, .rich-news-content h3, .rich-news-content h4 { color: var(--forest); line-height: 1.12; letter-spacing: -.02em; margin: 1.7em 0 .55em; }
.rich-news-content h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.rich-news-content h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.rich-news-content p, .rich-news-content ul, .rich-news-content ol, .rich-news-content blockquote, .rich-news-content figure, .rich-news-content table { margin: 0 0 1.25em; }
.rich-news-content a { color: var(--green); font-weight: 900; text-decoration: underline; text-decoration-color: rgba(214,169,58,.45); text-underline-offset: 3px; }
.rich-news-content ul, .rich-news-content ol { padding-left: 1.4em; }
.rich-news-content li { margin: .35em 0; }
.rich-news-content blockquote { padding: 22px 24px; border-left: 5px solid var(--gold); border-radius: 0 20px 20px 0; background: rgba(15,122,58,.08); color: var(--forest); font-weight: 850; }
.rich-news-content img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-soft); }
.rich-news-content figure { margin: 2em 0; }
.rich-news-content figcaption { margin-top: 10px; color: var(--muted); font-size: .86rem; font-weight: 800; text-align: center; }
.rich-news-content table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.rich-news-content th, .rich-news-content td { border: 1px solid rgba(6,59,36,.12); padding: 10px; color: #24382d; }
.news-callout { margin: 1.6em 0; padding: 20px 22px; border-radius: 22px; background: rgba(15,122,58,.10); border: 1px solid rgba(15,122,58,.16); }
.news-callout--gold { background: rgba(244,197,66,.18); border-color: rgba(176,137,43,.28); }
.news-callout--warning { background: rgba(244,197,66,.12); border-color: rgba(176,137,43,.38); }
.news-callout--certification { background: rgba(167,243,208,.18); border-color: rgba(15,122,58,.22); }
.news-callout--buyer { background: rgba(6,59,36,.08); border-color: rgba(6,59,36,.16); }
.news-image-gallery { display: grid; gap: 16px; position: sticky; top: 100px; }
.news-image-gallery h2 { color: var(--forest); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.news-image-gallery figure { padding: 12px; border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); }
.news-image-gallery img { width: 100%; border-radius: 14px; }
.news-image-gallery figcaption { color: var(--muted); font-size: .8rem; font-weight: 800; margin-top: 8px; }

.news-editor-source { display: none !important; }
.workspace-label, .news-editor-form label { font-size: .72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; color: #5e6f64; }
.news-editor-toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.news-editor-toolbar button, .news-snippet-btn, .news-image-existing button { min-height: 34px; padding: 0 12px; border: 1px solid rgba(6,59,36,.14); border-radius: 999px; background: white; color: #10251a; font-size: .72rem; font-weight: 950; cursor: pointer; }
.news-editor-toolbar button:hover, .news-image-existing button:hover { border-color: rgba(176,137,43,.45); background: #fff8df; }
.news-rich-editor-shell { border: 1px solid rgba(6,59,36,.12); border-radius: 22px; background: #fff; overflow: hidden; }
.news-rich-editor { min-height: 460px; padding: 22px; outline: 0; color: #24382d; line-height: 1.8; }
.news-rich-editor:focus { box-shadow: inset 0 0 0 3px rgba(15,122,58,.10); }
.news-rich-editor h2, .news-rich-editor h3 { color: #063b24; }
.news-rich-editor blockquote { padding: 16px 18px; border-left: 4px solid #d6a93a; background: rgba(15,122,58,.08); border-radius: 0 16px 16px 0; }
.news-rich-editor img { max-width: 100%; border-radius: 16px; }
.news-image-form-row { padding: 16px; border: 1px solid rgba(6,59,36,.10); border-radius: 18px; background: #faf9f6; }
.news-image-existing { display: grid; grid-template-columns: 100px 1fr auto auto; gap: 12px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(6,59,36,.14); }
.news-image-existing img { width: 100px; height: 70px; object-fit: cover; border-radius: 12px; }
.news-image-existing code { display: block; max-height: 58px; overflow: auto; padding: 8px; border-radius: 10px; background: #10251a; color: #fff2b0; font-size: .68rem; }
.news-delete-check, .news-checkbox-row { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 850; color: #5e6f64; }
.news-editor-cover-preview { width: 100%; max-height: 180px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-soft); }
.news-snippet-btn { width: 100%; justify-content: center; color: #10251a; }

@media (max-width: 1024px) {
  .news-feature-card, .news-detail-layout { grid-template-columns: 1fr; }
  .news-feature-card__image { min-height: 320px; }
  .newsroom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-image-gallery { position: static; }
}

@media (max-width: 680px) {
  .newsroom-toolbar, .newsroom-search { flex-direction: column; align-items: stretch; width: 100%; }
  .newsroom-grid { grid-template-columns: 1fr; }
  .news-feature-card__image, .newsroom-card__image { min-height: 220px; }
  .news-feature-card { border-radius: 24px; }
  .news-detail-cover { margin-top: -24px; }
  .news-detail-cover img { border-radius: 22px; }
  .news-detail-layout { padding-top: 36px; }
  .news-rich-editor { min-height: 340px; padding: 16px; }
  .news-image-existing { grid-template-columns: 1fr; }
  .news-image-existing img { width: 100%; height: 150px; }
}

.dashboard-body { background: #071f16; color: #edf7ef; }
.portal-topbar { min-height: 82px; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(5,26,18,.92); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 40; }
.portal-user { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.75); font-weight: 850; }
.portal-user a, .portal-user button { border: 1px solid rgba(255,255,255,.14); color: white; background: rgba(255,255,255,.08); border-radius: 999px; padding: 9px 12px; cursor: pointer; }
.portal-hub { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 70px; }
.dashboard-shell { display: grid; grid-template-columns: 268px 1fr; min-height: calc(100vh - 82px); }
.dash-sidebar { padding: 24px; border-right: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, #051a12, #082a1b); }
.dash-sidebar a { display: block; padding: 12px 14px; border-radius: 14px; color: rgba(255,255,255,.72); font-weight: 850; margin-bottom: 6px; }
.dash-sidebar a.active, .dash-sidebar a:hover { color: white; background: rgba(214,169,58,.16); }
.dash-main { padding: 28px; }
.dash-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.dash-topbar h1 { font-size: clamp(1.8rem, 3vw, 3rem); margin: 0; letter-spacing: -.035em; }
.dash-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.dash-card { border-radius: 24px; padding: 22px; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.055)); border: 1px solid rgba(255,255,255,.11); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.kpi-value { font-size: 2.2rem; font-weight: 950; color: #fff4c5; letter-spacing: -.04em; }
.trend { color: #a7f3d0; font-weight: 900; font-size: .82rem; }
.bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w, 60%); background: linear-gradient(90deg, var(--gold), var(--mint)); border-radius: inherit; }
.chart-bars { display: flex; align-items: end; gap: 10px; height: 180px; padding-top: 20px; }
.chart-bars span { flex: 1; height: var(--h); min-height: 18px; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--mint), var(--green)); opacity: .95; }
.status-pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(167,243,208,.14); color: #bdf7dc; font-size: .74rem; font-weight: 950; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
th { color: rgba(255,255,255,.58); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

.message-stack { position: fixed; right: 18px; top: 96px; z-index: 90; display: grid; gap: 10px; max-width: min(380px, calc(100vw - 28px)); pointer-events: none; }
.toast-message { background: var(--forest); color: white; padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow); line-height: 1.4; pointer-events: auto; }
.login-page { min-height: calc(100vh - 82px); display: grid; place-items: center; padding: 48px 16px; background: radial-gradient(circle at 75% 20%, rgba(34,163,90,.25), transparent 24%), linear-gradient(135deg, var(--cream), #e9f3e7); position: relative; overflow: hidden; }
.login-card { width: min(520px, 100%); padding: 34px; border-radius: 32px; background: rgba(250,247,239,.88); border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow); backdrop-filter: blur(18px); position: relative; z-index: 1; }
.login-card h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.04em; margin: 14px 0 12px; color: var(--forest); }
.login-card p { color: var(--muted); line-height: 1.7; }
.login-card input { width: 100%; border: 1px solid rgba(6,59,36,.16); background: white; border-radius: 16px; padding: 13px 14px; outline: 0; }
.login-card input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(15,122,58,.12); }
.login-error { margin-top: 18px; padding: 12px 14px; border-radius: 16px; color: #6b1f14; background: #fff0ea; border: 1px solid #ffd0c2; font-weight: 800; }
.login-back { display: inline-block; margin-top: 18px; color: var(--forest); font-weight: 900; }
.footer { color: rgba(255,255,255,.76); background: linear-gradient(145deg, #031b12, var(--forest)); padding: 66px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 30px; }
.footer h4 { color: white; font-weight: 950; margin: 0 0 14px; }
.footer a { display: block; margin: 10px 0; color: rgba(255,255,255,.72); transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1); }
.footer a:hover { color: white; transform: translateX(5px); }
.footer p { line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: .86rem; }
.compact span { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; font-size: .68rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.85); font-weight: 800; white-space: nowrap; transition: all 0.22s ease; margin: 2px 4px 2px 0; }
.compact span:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: white; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

.home-hero { position: relative; overflow: hidden; padding: 86px 0 70px; color: white; background: radial-gradient(circle at 76% 18%, rgba(34,163,90,.34), transparent 24%), radial-gradient(circle at 16% 84%, rgba(214,169,58,.18), transparent 20%), linear-gradient(135deg, #031d13, #063b24 56%, #0c5a31); }
.home-hero:before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(circle at 22px 22px, rgba(255,255,255,.38) 1px, transparent 2px), repeating-linear-gradient(125deg, transparent 0 22px, rgba(255,255,255,.09) 23px 24px); background-size: 46px 46px, 96px 96px; pointer-events: none; }
.home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr); gap: 56px; align-items: center; }
.home-hero-copy h1 { font-size: clamp(2.65rem, 5.5vw, 5.45rem); line-height: .96; letter-spacing: -.045em; margin: 18px 0 20px; max-width: 820px; }
.home-hero-copy p { color: rgba(255,255,255,.82); font-size: 1.08rem; line-height: 1.75; max-width: 650px; }
.home-trust span { background: rgba(255,255,255,.09); color: rgba(255,255,255,.92); }
.home-hero-visual { min-height: 540px; position: relative; }
.hero-photo-main { position: absolute; inset: 24px 0 48px 72px; padding: 18px; border-radius: 34px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 36px 100px rgba(0,0,0,.30); transform: rotateY(-5deg) rotateX(2deg); overflow: hidden; }
.hero-photo-secondary { position: absolute; width: 250px; height: 188px; left: 0; bottom: 68px; padding: 12px; border-radius: 26px; background: rgba(250,247,239,.28); border: 1px solid rgba(255,255,255,.34); box-shadow: 0 24px 70px rgba(0,0,0,.28); backdrop-filter: blur(14px); animation: softFloat 7s ease-in-out infinite; }
.hero-stat-card, .hero-ops-card { position: absolute; z-index: 4; border-radius: 20px; color: var(--charcoal); background: rgba(250,247,239,.92); border: 1px solid rgba(255,255,255,.76); box-shadow: 0 22px 60px rgba(0,0,0,.20); backdrop-filter: blur(16px); }
.hero-stat-card { right: 20px; top: 48px; width: 190px; padding: 18px; }
.hero-stat-card strong { display: block; font-size: 2.1rem; line-height: .9; color: var(--forest); letter-spacing: -.04em; }
.hero-stat-card span, .hero-ops-card span, .hero-ops-card small { color: var(--muted); font-weight: 850; font-size: .78rem; line-height: 1.35; }
.hero-ops-card { left: 94px; bottom: 18px; min-width: 230px; padding: 15px 16px; }
.hero-ops-card div { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.hero-ops-card strong { color: var(--forest); font-size: 1.55rem; letter-spacing: -.04em; }
.home-cert-strip { position: relative; z-index: 2; margin-top: -1px; color: white; background: linear-gradient(90deg, #041f15, #0b4e2b, #041f15); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.cert-strip-grid { min-height: 72px; display: grid; grid-template-columns: 1.4fr repeat(4, auto); gap: 18px; align-items: center; }
.cert-strip-grid span { color: rgba(255,255,255,.62); font-weight: 850; }
.cert-strip-grid strong { padding: 9px 12px; border-radius: 999px; color: #fff6cf; background: rgba(214,169,58,.12); border: 1px solid rgba(214,169,58,.24); font-size: .82rem; }
.stats-snapshot { overflow: hidden; background: radial-gradient(circle at 82% 18%, rgba(34,163,90,.25), transparent 24%), radial-gradient(circle at 12% 84%, rgba(214,169,58,.22), transparent 22%), linear-gradient(135deg, #fffdf5, #edf7e8 54%, #dceedd); }
.stats-snapshot:before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: repeating-radial-gradient(ellipse at 20% 30%, transparent 0 16px, rgba(6,59,36,.18) 17px 18px), repeating-linear-gradient(135deg, transparent 0 30px, rgba(6,59,36,.08) 31px 32px); pointer-events: none; }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.glass-stat { min-height: 166px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.76); backdrop-filter: blur(16px); }
.glass-stat i { width: 42px; height: 28px; border-radius: 50%; border: 2px solid rgba(15,122,58,.26); border-left-color: transparent; transform: rotate(-18deg); }
.kpi-heading { margin-bottom: 24px; }
.kpi-card { min-height: 150px; padding: 20px; }
.kpi-card strong { font-size: clamp(2rem, 3vw, 3.15rem); }
.kpi-card span { color: var(--forest); font-size: .88rem; text-transform: uppercase; letter-spacing: .04em; }
.kpi-card small { display: block; color: var(--muted); font-size: .76rem; font-weight: 850; margin-top: 8px; line-height: 1.3; }
/* Old credibility styles removed */
.operations-section { background: linear-gradient(180deg, #faf7ef, #f2efe3); }
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ops-card { padding: 22px; border-radius: 26px; background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(246,241,225,.78)); border: 1px solid rgba(6,59,36,.10); box-shadow: var(--shadow-soft); transition: transform .22s ease, box-shadow .22s ease; }
.ops-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ops-card h3 { margin: 18px 0 4px; font-size: 1rem; font-weight: 950; }
.ops-card strong { display: block; color: var(--forest); font-size: 1.55rem; letter-spacing: -.035em; }
.ops-card p { color: var(--muted); line-height: 1.55; margin-top: 8px; }
.mini-chart { height: 44px; border-radius: 16px; background: rgba(15,122,58,.10); padding: 16px 12px; }
.mini-chart span { display: block; width: var(--w); height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--gold)); }
.mini-gauge { width: 58px; height: 58px; border-radius: 50%; background: conic-gradient(var(--green) var(--p), rgba(15,122,58,.12) 0); position: relative; }
.mini-gauge:after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #f9f5e9; }
.process-lines { display: grid; gap: 7px; width: 100px; }
.process-lines span { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--forest), var(--leaf)); }
.process-lines span:nth-child(2) { width: 76%; } .process-lines span:nth-child(3) { width: 54%; }
.centre-map { display: grid; grid-template-columns: repeat(3, 18px); gap: 8px; }
.centre-map span { width: 18px; height: 18px; border-radius: 7px; background: rgba(15,122,58,.22); border: 1px solid rgba(15,122,58,.35); }
.field-pattern, .contour-mark { width: 112px; height: 58px; border-radius: 18px; background: repeating-linear-gradient(135deg, rgba(15,122,58,.35) 0 2px, transparent 2px 13px), rgba(15,122,58,.08); }
.contour-mark { background: repeating-radial-gradient(ellipse at 32% 42%, transparent 0 8px, rgba(15,122,58,.34) 9px 10px), rgba(214,169,58,.10); }
.featured-marketplace { overflow: hidden; background: radial-gradient(circle at 84% 18%, rgba(34,163,90,.20), transparent 24%), radial-gradient(circle at 15% 90%, rgba(214,169,58,.20), transparent 22%), linear-gradient(180deg, #fffbf1, #f1eadb); }
.featured-marketplace:before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: repeating-linear-gradient(135deg, transparent 0 28px, rgba(6,59,36,.12) 29px 30px); pointer-events: none; }
.home-product-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.home-product-card { padding: 18px; border-radius: 26px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.82); box-shadow: var(--shadow-soft); transition: transform .24s ease, box-shadow .24s ease; }
.home-product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.home-product-card h3 { font-size: 1.2rem; font-weight: 950; margin: 10px 0 6px; }
.home-product-card p { color: var(--muted); line-height: 1.55; min-height: 74px; }
.product-photo { height: 170px; border-radius: 22px; margin-bottom: 14px; position: relative; overflow: hidden; background: radial-gradient(circle at 68% 22%, rgba(244,197,66,.72), transparent 14%), linear-gradient(145deg, #0f2f20, #24a15a); }
.product-photo:before { content: ""; position: absolute; width: 118px; height: 118px; border-radius: 28px; left: 50%; top: 50%; transform: translate(-50%, -44%) rotate(-8deg); background: linear-gradient(160deg, #fbf3dd, #e5d6a5); box-shadow: 0 18px 35px rgba(0,0,0,.18); }
.product-photo:after { content: attr(data-pack); position: absolute; left: 18px; bottom: 16px; padding: 8px 11px; border-radius: 12px; background: rgba(6,59,36,.78); color: white; font-weight: 950; font-size: .78rem; }
.specialty-showcase { color: white; overflow: hidden; background: radial-gradient(circle at 80% 12%, rgba(214,169,58,.30), transparent 24%), linear-gradient(135deg, #091812, #103522 50%, #4d3b16); }
.specialty-showcase .section-heading p { color: rgba(255,255,255,.76); }
.specialty-grid { display: grid; grid-template-columns: 1.15fr repeat(2, 1fr); gap: 18px; }
.specialty-card { min-height: 250px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: stretch; padding: 16px; border-radius: 28px; background: rgba(250,247,239,.94); color: var(--charcoal); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 24px 70px rgba(0,0,0,.20); }
.specialty-card.featured { grid-row: span 2; grid-template-columns: 1fr; }
.specialty-card h3 { margin: 10px 0 8px; font-weight: 950; font-size: 1.25rem; }
.specialty-card p { color: var(--muted); line-height: 1.6; }
.specialty-image { min-height: 118px; border-radius: 22px; background: radial-gradient(circle at 70% 20%, rgba(244,197,66,.65), transparent 16%), linear-gradient(145deg, #18442b, #b39333); position: relative; overflow: hidden; }
.specialty-card.featured .specialty-image { min-height: 260px; }
.specialty-image:before { content: ""; position: absolute; inset: 20px; border-radius: 50%; border: 20px solid rgba(250,247,239,.78); }
.specialty-image:after { content: attr(data-label); position: absolute; left: 14px; bottom: 14px; padding: 8px 10px; border-radius: 12px; background: rgba(6,59,36,.78); color: white; font-size: .74rem; font-weight: 950; }
.specialty-actions { justify-content: center; margin-top: 28px; }
.buyer-flow-section { background: linear-gradient(180deg, #faf7ef, #f5f2e8); }
.buyer-journey-timeline { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.buyer-journey-timeline:before { content: ""; position: absolute; left: 4%; right: 4%; top: 35px; height: 2px; background: linear-gradient(90deg, rgba(15,122,58,.18), rgba(214,169,58,.62), rgba(15,122,58,.18)); }
.buyer-journey-timeline article { position: relative; z-index: 1; min-height: 172px; padding: 18px 16px; border-radius: 24px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.76); box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; }
.buyer-journey-timeline article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.buyer-journey-timeline span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; color: #1f1a0d; background: linear-gradient(135deg, var(--gold-2), var(--gold)); font-weight: 950; font-size: .8rem; margin-bottom: 16px; }
.buyer-journey-timeline b { display: block; color: var(--forest); font-weight: 950; line-height: 1.2; }
.buyer-journey-timeline p { margin: 8px 0 0; color: var(--muted); line-height: 1.45; font-size: .82rem; font-weight: 700; }
.sustainability-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(238,247,233,.84), rgba(255,250,240,.88)),
    var(--sustainability-image, none) center/cover no-repeat;
}
.sustainability-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.42), transparent 24%),
    radial-gradient(circle at 82% 78%, rgba(15,122,58,.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.18));
}
.sustainability-preview > .section-inner {
  position: relative;
  z-index: 1;
}
.sustainability-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: center; }
.sustainability-grid h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.04em; margin: 14px 0; }
.sustainability-grid p { color: var(--muted); line-height: 1.8; }
.sustainability-image-frame {
  min-height: clamp(320px, 34vw, 460px);
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.68);
}
.sustainability-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Premium card content sections */
.premium-card-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 8vw, 118px);
  background:
    radial-gradient(circle at 14% 18%, rgba(244,197,66,.18), transparent 26%),
    radial-gradient(circle at 86% 82%, rgba(31,122,63,.14), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, #f4efe0 100%);
}

.premium-card-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .18;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(6,59,36,.12) 29px 30px),
    radial-gradient(circle at 24px 24px, rgba(176,137,43,.18) 1px, transparent 2px);
  background-size: 110px 110px, 48px 48px;
}

.premium-card-section--avocado {
  background:
    radial-gradient(circle at 12% 20%, rgba(167,243,208,.25), transparent 27%),
    radial-gradient(circle at 84% 75%, rgba(244,197,66,.22), transparent 30%),
    linear-gradient(180deg, #fffaf0 0%, #edf7e8 100%);
}

.premium-card-section--sustainability {
  background:
    radial-gradient(circle at 12% 20%, rgba(167,243,208,.24), transparent 28%),
    radial-gradient(circle at 86% 76%, rgba(214,169,58,.20), transparent 30%),
    linear-gradient(180deg, #f7fff8 0%, #f4efe0 100%);
}

.premium-card-section > .section-inner {
  position: relative;
  z-index: 2;
}

.premium-card-orb {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(34px);
  opacity: .36;
}

.premium-card-orb--one {
  width: clamp(150px, 18vw, 280px);
  height: clamp(150px, 18vw, 280px);
  top: 8%;
  left: 5%;
  background: radial-gradient(circle, rgba(244,197,66,.55), rgba(31,122,63,.18) 52%, transparent 72%);
}

.premium-card-orb--two {
  width: clamp(180px, 22vw, 340px);
  height: clamp(180px, 22vw, 340px);
  right: 4%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(31,122,63,.32), rgba(255,242,176,.18) 52%, transparent 74%);
}

.premium-card-section__header {
  max-width: 850px;
  margin: 0 auto clamp(30px, 4vw, 46px);
  text-align: center;
}

.premium-section-title {
  margin: 12px auto 0;
  color: var(--forest);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: 950;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.premium-title-text {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding-bottom: .12em;
}

.premium-title-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 0.08em;
  min-height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b0892b, #f4c542 44%, #fff2b0 72%, #0f7a3a);
  box-shadow: 0 8px 18px rgba(176,137,43,.18);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-card-section.is-visible .premium-title-text::after {
  transform: scaleX(1);
}

.premium-section-subtitle,
.premium-card-section__header p {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(.96rem, 1.3vw, 1.08rem);
  line-height: 1.75;
}

.premium-card-grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 24px);
  align-items: stretch;
}

.premium-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-card-grid--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-info-card {
  position: relative;
  min-height: 248px;
  padding: clamp(20px, 2.4vw, 28px);
  overflow: hidden;
  border-radius: 26px;
  color: var(--charcoal);
  background:
    linear-gradient(145deg, rgba(255,255,255,.84), rgba(250,247,239,.72)),
    rgba(255,255,255,.58);
  border: 1px solid rgba(15,122,58,.14);
  box-shadow:
    0 18px 46px rgba(6,59,36,.10),
    inset 0 1px 0 rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(0);
  animation: premiumCardFloat 7.5s ease-in-out infinite;
  animation-delay: var(--premium-card-delay, 0s);
  transition:
    transform .38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color .32s ease,
    box-shadow .32s ease,
    background .32s ease,
    color .32s ease;
}

.premium-info-card:nth-child(2) { --premium-card-delay: .35s; }
.premium-info-card:nth-child(3) { --premium-card-delay: .7s; }
.premium-info-card:nth-child(4) { --premium-card-delay: 1.05s; }
.premium-info-card:nth-child(5) { --premium-card-delay: 1.4s; }
.premium-info-card:nth-child(6) { --premium-card-delay: 1.75s; }

.premium-card-section.premium-motion-ready:not(.is-visible) .premium-card-section__header,
.premium-card-section.premium-motion-ready:not(.is-visible) .premium-info-card {
  opacity: 0;
  transform: translateY(24px);
}

.premium-card-section.premium-motion-ready .premium-card-section__header,
.premium-card-section.premium-motion-ready .premium-info-card {
  transition:
    opacity .82s cubic-bezier(0.16, 1, 0.3, 1),
    transform .82s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card-section.is-visible .premium-card-section__header,
.premium-card-section.is-visible .premium-info-card {
  opacity: 1;
  transform: translateY(0);
}

.premium-card-section.is-visible:not(.has-revealed) .premium-info-card:nth-child(2) { transition-delay: .08s; }
.premium-card-section.is-visible:not(.has-revealed) .premium-info-card:nth-child(3) { transition-delay: .16s; }
.premium-card-section.is-visible:not(.has-revealed) .premium-info-card:nth-child(4) { transition-delay: .24s; }
.premium-card-section.is-visible:not(.has-revealed) .premium-info-card:nth-child(5) { transition-delay: .32s; }
.premium-card-section.is-visible:not(.has-revealed) .premium-info-card:nth-child(6) { transition-delay: .4s; }

.premium-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,242,176,.26), transparent 30%),
    linear-gradient(135deg, rgba(5,64,38,.96), rgba(21,122,70,.88));
  transition: opacity .32s ease;
  pointer-events: none;
}

.premium-info-card:hover,
.premium-info-card:focus-within {
  color: #fffaf0;
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(244,197,66,.56);
  box-shadow:
    0 30px 70px rgba(6,59,36,.28),
    0 0 28px rgba(244,197,66,.18),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.premium-info-card:hover::before,
.premium-info-card:focus-within::before {
  opacity: 1;
}

.premium-card-sheen {
  position: absolute;
  top: -65%;
  left: -85%;
  z-index: 2;
  width: 58%;
  height: 230%;
  transform: rotate(24deg) translateX(0);
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  pointer-events: none;
}

.premium-info-card:hover .premium-card-sheen,
.premium-info-card:focus-within .premium-card-sheen {
  animation: premiumCardSheen .9s ease both;
}

.premium-info-card__icon,
.premium-info-card .icon-badge {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #1f1a0d;
  background: linear-gradient(135deg, #fff2b0, #f4c542);
  border: 1px solid rgba(176,137,43,.28);
  box-shadow: 0 12px 28px rgba(176,137,43,.18);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .06em;
}

.premium-info-card:hover .premium-info-card__icon,
.premium-info-card:focus-within .premium-info-card__icon,
.premium-info-card:hover .icon-badge,
.premium-info-card:focus-within .icon-badge {
  color: #063b24;
  background: linear-gradient(135deg, #fffaf0, #f4c542);
  border-color: rgba(255,255,255,.48);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

.premium-info-card__title,
.premium-info-card h3 {
  position: relative;
  z-index: 3;
  margin: 0 0 10px;
  color: inherit;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.25;
  font-weight: 950;
}

.premium-info-card__text,
.premium-info-card p {
  position: relative;
  z-index: 3;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: .95rem;
  transition: color .32s ease;
}

.premium-info-card:hover .premium-info-card__text,
.premium-info-card:focus-within .premium-info-card__text,
.premium-info-card:hover p,
.premium-info-card:focus-within p {
  color: rgba(255,250,240,.82);
}

@keyframes premiumCardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@keyframes premiumCardSheen {
  0% { opacity: 0; transform: rotate(24deg) translateX(0); }
  35% { opacity: .72; }
  100% { opacity: 0; transform: rotate(24deg) translateX(360%); }
}

@media (max-width: 1024px) {
  .premium-card-grid--three,
  .premium-card-grid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .premium-card-section {
    padding-block: clamp(48px, 11vw, 68px);
  }

  .premium-card-section__header {
    margin-bottom: 26px;
  }

  .premium-section-title {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -.01em;
  }

  .premium-title-text {
    padding-bottom: .16em;
  }

  .premium-card-grid--three,
  .premium-card-grid--six {
    grid-template-columns: 1fr;
  }

  .premium-info-card {
    min-height: auto;
    padding: 20px;
    border-radius: 22px;
  }

  .premium-info-card:hover,
  .premium-info-card:focus-within {
    transform: translateY(-4px);
  }

  .premium-card-orb {
    opacity: .24;
    filter: blur(28px);
  }
}

@media (max-width: 390px) {
  .premium-card-section > .section-inner {
    width: min(100% - 24px, 1440px);
  }

  .premium-section-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .premium-section-subtitle,
  .premium-card-section__header p,
  .premium-info-card__text,
  .premium-info-card p {
    font-size: .9rem;
  }

  .premium-info-card__icon,
  .premium-info-card .icon-badge {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-card-section .premium-card-section__header,
  .premium-card-section .premium-info-card,
  .premium-card-section .premium-title-text::after,
  .premium-card-sheen {
    animation: none !important;
    transition: none !important;
  }

  .premium-card-section .premium-card-section__header,
  .premium-card-section .premium-info-card {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
  }

  .premium-card-section .premium-title-text::after {
    transform: scaleX(1) !important;
  }
}
.final-home-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, rgba(3,27,18,.86), rgba(6,59,36,.82));
}
.final-home-cta::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(3,27,18,.74), rgba(6,59,36,.42)),
    var(--cta-image, linear-gradient(135deg, #031b12, var(--forest))) center/cover no-repeat;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.08);
  animation: finalCtaDrift 18s ease-in-out infinite alternate;
}
.final-home-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 22%, rgba(244,197,66,.20), transparent 24%),
    radial-gradient(circle at 84% 68%, rgba(167,243,208,.14), transparent 28%),
    linear-gradient(180deg, rgba(3,27,18,.12), rgba(3,27,18,.58));
  pointer-events: none;
}
.final-home-cta > .section-inner { position: relative; z-index: 1; }
.final-home-cta .section-heading p { color: rgba(255,255,255,.76); }
.final-home-cta .eyebrow,
.final-home-cta h2,
.final-home-cta p {
  text-shadow: 0 2px 18px rgba(0,0,0,.24);
}
@keyframes finalCtaDrift {
  0% { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-1.5%, -1.2%, 0); }
}
.premium-image-card { isolation: isolate; }
.photo-placeholder.has-image { background-image: linear-gradient(160deg, rgba(6,59,36,.08), rgba(6,59,36,.34)), var(--image, none), linear-gradient(145deg, #2a8b4c, #0b4229); }
.image-factory { background-image: linear-gradient(160deg, rgba(6,59,36,.10), rgba(6,59,36,.42)), var(--image, none), linear-gradient(150deg, #244732 0%, #6e8d53 38%, #d2b76b 39%, #314b36 58%, #0b2d1f 100%); }
.image-tasting { background-image: linear-gradient(160deg, rgba(6,59,36,.12), rgba(6,59,36,.30)), var(--image, none), radial-gradient(circle at 32% 42%, rgba(250,247,239,.86) 0 14%, transparent 15%), radial-gradient(circle at 70% 30%, rgba(214,169,58,.72) 0 9%, transparent 10%), linear-gradient(145deg, #143923, #805f22); }
.image-farmers { background-image: linear-gradient(160deg, rgba(6,59,36,.10), rgba(6,59,36,.34)), var(--image, none), linear-gradient(150deg, #9ecb83 0 28%, #5f9f52 29% 43%, #2f6b3b 44% 65%, #123a27 66%); }
.photo-placeholder { transition: transform .45s ease, filter .45s ease; }
.premium-image-card:hover .photo-placeholder { transform: scale(1.025); filter: saturate(1.05); }
.visual-bp1, .visual-pf1, .visual-dust, .visual-ctc { --visual-bg: radial-gradient(circle at 74% 18%, rgba(214,169,58,.42), transparent 16%), repeating-linear-gradient(18deg, rgba(250,247,239,.08) 0 2px, transparent 2px 14px), linear-gradient(145deg, #21180f, #4d331b 42%, #10251a); }
.visual-green, .visual-green-tea { --visual-bg: radial-gradient(circle at 74% 18%, rgba(167,243,208,.58), transparent 16%), repeating-linear-gradient(135deg, rgba(250,247,239,.12) 0 2px, transparent 2px 18px), linear-gradient(145deg, #1c5f38, #87b95b); }
.visual-purple, .visual-purple-tea { --visual-bg: radial-gradient(circle at 74% 18%, rgba(214,169,58,.42), transparent 16%), linear-gradient(145deg, #182e22, #5e3f78 55%, #194d34); }
.visual-white, .visual-white-silver-tea, .visual-white-silver { --visual-bg: radial-gradient(circle at 72% 18%, rgba(214,169,58,.38), transparent 16%), linear-gradient(145deg, #f7f3e8, #cbd6c9 45%, #516d57); }
.visual-golden, .visual-golden-tips, .visual-golden-tips-tea { --visual-bg: radial-gradient(circle at 70% 18%, rgba(255,246,190,.66), transparent 18%), linear-gradient(145deg, #3a2a12, #c79b2d 54%, #123923); }
.visual-oolong, .visual-oolong-tea { --visual-bg: radial-gradient(circle at 74% 18%, rgba(244,197,66,.46), transparent 16%), linear-gradient(145deg, #18261c, #9c6c2b 52%, #2f1f14); }
.product-photo, .product-card .product-art.product-photo { height: 178px; border-radius: 22px; margin: 0 0 14px; position: relative; overflow: hidden; background-color: #173a27; background-image: linear-gradient(180deg, rgba(6,59,36,.04), rgba(6,59,36,.46)), var(--visual-bg, linear-gradient(145deg, #123c27, #1fa157)); background-size: cover; background-position: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.24); transition: transform .35s ease, filter .35s ease; }
.product-photo > img,
.specialty-image > img,
.basket-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-product-card:hover .product-photo, .market-product-card:hover .product-photo { transform: scale(1.025); filter: saturate(1.06); }
.product-card .product-art.product-photo:before, .product-photo:before { content: ""; position: absolute; inset: 0; border: 0; border-radius: inherit; background: linear-gradient(135deg, transparent 0 55%, rgba(250,247,239,.10) 56% 57%, transparent 58%), repeating-linear-gradient(160deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px); opacity: .72; transform: none; box-shadow: none; }
.product-card .product-art.product-photo:after, .product-photo:after { content: attr(data-pack); position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 8px 11px; border-radius: 12px; background: rgba(6,59,36,.78); color: white; font-weight: 950; font-size: .76rem; line-height: 1.15; backdrop-filter: blur(10px); }
.home-product-card { display: flex; flex-direction: column; }
.home-product-card .card-actions { margin-top: auto; }
.market-product-card { display: flex; flex-direction: column; }
.market-product-card .glass-panel { background: rgba(250,247,239,.78); border-color: rgba(6,59,36,.08); }
.market-product-card .card-actions { margin-top: auto; }
.specialty-image { background-image: linear-gradient(180deg, rgba(6,59,36,.02), rgba(6,59,36,.34)), var(--image, none), var(--visual-bg, linear-gradient(145deg, #18442b, #b39333)); background-size: cover; background-position: center; transition: transform .35s ease, filter .35s ease; }
.specialty-card:hover .specialty-image { transform: scale(1.02); filter: saturate(1.05); }
.specialty-image:before { inset: 0; border: 0; border-radius: inherit; background: repeating-linear-gradient(150deg, rgba(255,255,255,.10) 0 1px, transparent 1px 20px); opacity: .55; }

.marketplace-wide {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding-left: clamp(16px, 3vw, 48px);
  padding-right: clamp(16px, 3vw, 48px);
}
.marketplace-compact-hero {
  padding: 24px 0 16px;
  color: white;
  background: radial-gradient(circle at 80% 20%, rgba(34,163,90,.16), transparent 30%), linear-gradient(135deg, #031c12, var(--forest));
}
.marketplace-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.marketplace-slide {
  min-height: 190px;
  max-height: 240px;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  background-size: cover;
  background-position: center;
}
.marketplace-slide h1, .marketplace-slide h2 {
  margin: 4px 0;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.1;
  font-weight: 800;
  color: white;
}
.marketplace-slide p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.marketplace-slide .btn-primary, .marketplace-slide .btn-secondary {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.78rem;
  margin-top: 10px;
  align-self: flex-start;
}
.marketplace-slide.ctc-slide { background-image: linear-gradient(135deg, rgba(4,25,16,.82), rgba(28,77,42,.54)), var(--image, none), radial-gradient(circle at 72% 25%, rgba(214,169,58,.42), transparent 18%), linear-gradient(145deg, #1c160e, #0f4d2c); }
.marketplace-slide.specialty-slide { background-image: linear-gradient(135deg, rgba(4,25,16,.72), rgba(73,56,18,.58)), radial-gradient(circle at 72% 24%, rgba(244,197,66,.36), transparent 20%), linear-gradient(145deg, #0d2b1c, #704d1b); }
.marketplace-slide.export-slide { background-image: linear-gradient(135deg, rgba(4,25,16,.74), rgba(6,59,36,.72)), repeating-linear-gradient(145deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px), linear-gradient(145deg, #063b24, #0f7a3a); }
.marketplace-tools {
  position: sticky;
  top: 82px;
  z-index: 20;
  padding: 12px 0;
  background: rgba(250,247,239,.86);
  border-bottom: 1px solid rgba(6,59,36,.08);
  backdrop-filter: blur(14px);
}
.compact-filter {
  border-radius: 20px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(6,59,36,0.06);
  box-shadow: 0 10px 30px rgba(6,59,36,0.05);
}
.marketplace-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  border-top: 1px solid rgba(6,59,36,0.06);
  padding-top: 12px;
  color: var(--forest);
}
.basket-summary-pill, .basket-count { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 950; }
.basket-summary-pill { min-height: 44px; padding: 0 16px; color: white; background: linear-gradient(135deg, var(--green), var(--forest)); box-shadow: var(--shadow-soft); }
.basket-summary-pill b, .basket-count { min-width: 24px; height: 24px; margin-left: 7px; padding: 0 7px; color: #1f1a0d; background: var(--gold-2); font-size: .75rem; }
.marketplace-product-section { overflow: hidden; background: radial-gradient(circle at 86% 8%, rgba(34,163,90,.14), transparent 22%), radial-gradient(circle at 10% 95%, rgba(214,169,58,.16), transparent 24%), linear-gradient(180deg, #fffaf0, #f1eadb); }
.marketplace-heading h1, .marketplace-heading h2, .quote-basket-section h1, .quote-request-section h1, .marketplace-account-section h1 { font-size: clamp(2rem, 3.6vw, 4rem); line-height: 1; letter-spacing: -.04em; font-weight: 950; margin: 10px 0; }
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.catalog-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid rgba(6, 59, 36, 0.08);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(6, 59, 36, 0.08);
}
.catalog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 10px 0 4px;
  color: var(--forest);
}
.catalog-card h3 a {
  color: var(--forest);
}
.catalog-card h3 a:hover {
  color: var(--green);
}
.catalog-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.5em;
}
.packaging-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.packaging-chips span { padding: 6px 9px; border-radius: 999px; color: var(--forest); background: rgba(15,122,58,.09); font-size: .72rem; font-weight: 900; }
.quote-card-form, .quote-detail-form, .basket-update-form, .quote-submit-form, .account-panel { display: grid; gap: 12px; }
.quote-card-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.quote-card-form label, .quote-detail-form label, .basket-update-form label, .quote-submit-form label, .account-panel label { display: grid; gap: 6px; color: var(--muted); font-size: .74rem; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.quote-card-form input, .quote-card-form select, .quote-detail-form input, .quote-detail-form select, .basket-update-form input, .quote-submit-form input, .quote-submit-form select, .quote-submit-form textarea, .account-panel input { width: 100%; min-height: 38px; border: 1px solid rgba(6,59,36,.14); border-radius: 12px; padding: 0 12px; color: var(--charcoal); background: rgba(255,255,255,.82); outline: 0; text-transform: none; letter-spacing: 0; font-weight: 800; }
.quote-card-form .card-actions {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.quote-card-form .card-actions .btn-primary {
  width: 100%;
  min-height: 38px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(6,59,36,0.15);
}
.quote-card-form .card-actions .btn-secondary {
  width: 100%;
  min-height: 38px;
  border-radius: 99px;
  font-size: 0.82rem;
  color: var(--forest);
  border: 1px solid rgba(6,59,36,0.16);
  background: white;
  box-shadow: none;
}
.quote-submit-form textarea { padding: 12px; resize: vertical; }
.product-detail-section { color: var(--charcoal); background: radial-gradient(circle at 85% 12%, rgba(214,169,58,.18), transparent 22%), linear-gradient(180deg, #faf7ef, #efe6d2); }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 36px; align-items: start; }
.product-gallery { display: grid; gap: 14px; }
.gallery-main { min-height: 480px; height: 480px; border-radius: 24px; overflow: hidden; background: #173a27; box-shadow: var(--shadow); }
.gallery-main img, .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-main .product-photo { height: 480px; border-radius: 24px; margin: 0; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; }
.gallery-thumbs figure { flex: 0 0 100px; height: 75px; min-height: 75px; margin: 0; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.72); border: 2px solid transparent; cursor: pointer; transition: all 0.2s; }
.gallery-thumbs figure.active { border-color: var(--gold); transform: scale(0.96); }
.gallery-thumbs figcaption { display: none; }
.gallery-placeholder { display: grid; place-items: end start; padding: 14px; color: white; background-image: var(--visual-bg, linear-gradient(145deg, #123c27, #1fa157)); background-size: cover; background-position: center; }
.map-placeholder.map-photo { position: relative; isolation: isolate; background: linear-gradient(145deg, rgba(6,59,36,.82), rgba(34,163,90,.46)), var(--map-image, none) center/cover no-repeat; }
.map-placeholder.map-photo > div { position: relative; z-index: 1; }
.product-purchase-panel { position: sticky; top: 112px; }
.product-purchase-panel h1 { font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1; letter-spacing: -.04em; margin: 16px 0; font-weight: 950; }
.detail-meta { margin: 18px 0; }
.detail-tabs-nav { display: flex; gap: 8px; border-bottom: 1px solid rgba(6,59,36,0.08); margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; }
.detail-tab-btn { padding: 10px 18px; background: transparent; border: 0; font-weight: 700; color: var(--muted); cursor: pointer; font-size: 0.9rem; border-bottom: 2px solid transparent; white-space: nowrap; transition: all 0.2s; }
.detail-tab-btn.active { color: var(--forest); border-bottom-color: var(--gold); }
.detail-tab-content { display: none; animation: fadeIn 0.3s ease-out; }
.detail-tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.detail-tabs { display: grid; gap: 20px; }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote-basket-section, .quote-request-section, .marketplace-account-section { background: radial-gradient(circle at 88% 10%, rgba(34,163,90,.16), transparent 22%), linear-gradient(180deg, #faf7ef, #efe6d2); }
.quote-basket-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; }
.basket-list { display: grid; gap: 16px; }
.basket-item { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px; background: white; border-radius: 20px; border: 1px solid rgba(6,59,36,0.06); box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.basket-image.product-photo { height: 130px; margin: 0; border-radius: 16px; }
.basket-item-main h3 { margin: 4px 0 6px; font-size: 1.3rem; font-weight: 800; color: var(--forest); }
.basket-update-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 12px; }
.basket-update-form label { font-size: 0.7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; display: flex; flex-direction: column; gap: 4px; }
.basket-update-form input, .basket-update-form select { height: 38px; border-radius: 10px; border: 1px solid rgba(6,59,36,0.12); padding: 0 10px; font-size: 0.85rem; background: var(--cream); }
.basket-package-lock { min-height: 38px; border-radius: 10px; border: 1px solid rgba(6,59,36,0.12); padding: 8px 12px; background: rgba(6,59,36,0.05); display: grid; gap: 2px; color: var(--forest); }
.basket-package-lock span { color: var(--muted); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.basket-package-lock strong { font-size: 0.95rem; font-weight: 900; }
.basket-package-lock small { color: var(--muted); font-size: 0.76rem; font-weight: 700; }
.basket-update-form .btn-secondary { height: 38px; min-height: 38px; padding: 0 16px; border-radius: 10px; background: var(--forest); color: white; font-size: 0.82rem; cursor: pointer; border: 0; }
.basket-update-form .remove-link { height: 38px; padding: 0 12px; display: flex; align-items: center; color: #b91c1c; font-weight: 700; font-size: 0.82rem; background: transparent; border: 0; cursor: pointer; }
.basket-update-form .remove-link:hover { text-decoration: underline; }
.basket-summary-panel { display: grid; gap: 14px; position: sticky; top: 112px; background: linear-gradient(135deg, rgba(6, 59, 36, 0.03), rgba(214, 169, 58, 0.05)); border: 1px solid rgba(6,59,36,0.08); border-radius: 24px; padding: 24px; box-shadow: 0 10px 35px rgba(6,59,36,0.04); }
.basket-summary-panel h2 { font-size: 1.45rem; font-weight: 800; color: var(--forest); margin: 8px 0 16px; }
.summary-lines { display: grid; gap: 10px; margin: 12px 0; }
.summary-lines p { display: flex; justify-content: space-between; gap: 14px; margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(6,59,36,.10); color: var(--muted); }
.summary-lines strong { color: var(--charcoal); }
.empty-basket { text-align: center; max-width: 720px; margin: 0 auto; }
.quote-request-layout { display: grid; grid-template-columns: .8fr 1fr; gap: 24px; align-items: start; }
.quote-submit-form { padding: 24px; }
.account-grid { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 20px; align-items: start; }
.account-panel h2 { font-size: 1.55rem; font-weight: 950; margin: 0 0 8px; }
.form-errors { padding: 12px; border-radius: 14px; color: #7a1f12; background: #fff1eb; font-weight: 850; }
.leader-photo, .avatar-mark { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; color: var(--forest); background: linear-gradient(145deg, #fff7dc, #dff8e9); border: 1px solid rgba(214,169,58,.28); font-weight: 950; box-shadow: var(--shadow-soft); }

/* Unified authenticated workspace */
.workspace-body { min-height: 100vh; display: grid; grid-template-columns: 292px minmax(0, 1fr); color: var(--charcoal); background: radial-gradient(circle at 82% 0, rgba(34,163,90,.12), transparent 24%), linear-gradient(180deg, #f7f3e8, #edf5ea); }
.workspace-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 22px 16px; color: white; background: linear-gradient(180deg, #031b12, #082a1b 52%, #051a12); border-right: 1px solid rgba(255,255,255,.08); z-index: 90; }
.workspace-brand { display: flex; align-items: center; gap: 12px; padding: 8px 10px 22px; border-bottom: 1px solid rgba(255,255,255,.10); margin-bottom: 14px; }
.workspace-brand strong { display: block; color: white; font-size: .98rem; font-weight: 950; line-height: 1.1; }
.workspace-brand small { display: block; color: rgba(255,255,255,.58); margin-top: 4px; font-size: .72rem; font-weight: 800; }
.workspace-nav { display: grid; gap: 18px; }
.workspace-nav-group > span { display: block; padding: 0 10px 8px; color: rgba(255,255,255,.48); font-size: .68rem; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.workspace-nav a, .workspace-nav button { width: 100%; min-height: 42px; display: flex; align-items: center; padding: 10px 12px; border-radius: 14px; border: 0; color: rgba(255,255,255,.72); background: transparent; font-weight: 850; text-align: left; transition: background .18s ease, color .18s ease, transform .18s ease; cursor: pointer; }
.workspace-nav a:hover, .workspace-nav a.active, .workspace-nav button:hover { color: white; background: rgba(214,169,58,.14); transform: translateX(2px); }
.workspace-main { min-width: 0; }
.workspace-topbar { position: sticky; top: 0; z-index: 70; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px clamp(18px, 3vw, 36px); background: rgba(250,247,239,.88); border-bottom: 1px solid rgba(6,59,36,.10); backdrop-filter: blur(18px); }
.workspace-title span { display: block; color: var(--muted); font-size: .72rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.workspace-title h1 { margin: 4px 0 0; font-size: clamp(1.35rem, 2.5vw, 2.35rem); line-height: 1; font-weight: 950; letter-spacing: -.035em; color: var(--forest); }
.workspace-user { display: flex; align-items: center; gap: 10px; }
.workspace-notification, .workspace-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; color: var(--forest); background: white; border: 1px solid rgba(6,59,36,.10); box-shadow: var(--shadow-soft); font-weight: 950; }
.workspace-notification { color: #1f1a0d; background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.workspace-user-meta strong { display: block; font-size: .86rem; font-weight: 950; color: var(--forest); }
.workspace-user-meta small { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; }
.workspace-menu-btn { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid rgba(6,59,36,.12); background: white; padding: 10px; }
.workspace-menu-btn span { display: block; height: 2px; margin: 5px 0; border-radius: 999px; background: var(--forest); }
.workspace-content { padding: clamp(18px, 3vw, 36px); }
.workspace-dashboard { width: min(1760px, 100%); margin: 0 auto; }
.workspace-hero-card, .workspace-page-head, .workspace-panel, .workspace-kpi-card, .workspace-action-card, .workspace-quote-card { border: 1px solid rgba(255,255,255,.78); background: rgba(255,255,255,.78); box-shadow: var(--shadow-soft); backdrop-filter: blur(14px); }
.workspace-hero-card { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: clamp(22px, 3vw, 34px); border-radius: 30px; overflow: hidden; background: radial-gradient(circle at 85% 0, rgba(214,169,58,.22), transparent 24%), linear-gradient(135deg, rgba(255,255,255,.88), rgba(239,247,234,.78)); }
.workspace-hero-card h2, .workspace-page-head h2 { margin: 12px 0; color: var(--forest); font-size: clamp(2rem, 4vw, 4rem); line-height: .98; letter-spacing: -.045em; font-weight: 950; }
.workspace-hero-card p, .workspace-page-head p, .workspace-muted { color: var(--muted); line-height: 1.7; }
.workspace-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.workspace-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.workspace-badges span { padding: 7px 10px; border-radius: 999px; color: var(--forest); background: rgba(15,122,58,.10); font-size: .72rem; font-weight: 950; }
.workspace-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.workspace-kpi-card { min-height: 150px; padding: 20px; border-radius: 24px; }
.workspace-kpi-card p { margin: 0; color: var(--muted); font-weight: 850; }
.workspace-kpi-card strong { display: block; margin: 14px 0 4px; color: var(--forest); font-size: clamp(2rem, 4vw, 3rem); line-height: .9; letter-spacing: -.045em; font-weight: 950; }
.workspace-kpi-card span { color: var(--green); font-size: .78rem; font-weight: 950; }
.workspace-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.workspace-panel { border-radius: 26px; padding: 22px; overflow: hidden; }
.workspace-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.workspace-panel-head h2 { margin: 8px 0 0; color: var(--forest); font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1; font-weight: 950; letter-spacing: -.035em; }
.workspace-panel-head a { color: var(--green); font-weight: 950; }
.workspace-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.workspace-action-card { padding: 18px; border-radius: 22px; }
.workspace-action-card h3 { color: var(--forest); font-size: 1.08rem; font-weight: 950; margin: 0 0 8px; }
.workspace-action-card p { min-height: 52px; color: var(--muted); line-height: 1.55; }
.workspace-mini-list { display: grid; gap: 10px; }
.workspace-mini-list p { display: flex; justify-content: space-between; gap: 14px; margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(6,59,36,.10); color: var(--muted); }
.workspace-mini-list strong { color: var(--charcoal); }
.workspace-mini-list span { text-align: right; font-weight: 900; color: var(--forest); }
.workspace-activity-list { display: grid; gap: 10px; }
.workspace-activity-list a { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; padding: 13px; border-radius: 16px; background: rgba(15,122,58,.06); border: 1px solid rgba(6,59,36,.08); }
.workspace-activity-list span { color: var(--green); font-size: .78rem; font-weight: 950; }
.workspace-activity-list strong { color: var(--forest); }
.workspace-activity-list em { color: var(--muted); font-style: normal; font-size: .82rem; font-weight: 850; }
.workspace-report-card { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; }
.workspace-donut { width: 126px; height: 126px; border-radius: 50%; background: conic-gradient(var(--green) 0 42%, var(--gold) 42% 68%, var(--mint) 68% 84%, rgba(6,59,36,.12) 84%); position: relative; }
.workspace-donut:after { content: ""; position: absolute; inset: 24px; border-radius: 50%; background: #f8f5eb; }
.workspace-bar-grid { display: grid; gap: 14px; }
.workspace-bar-grid div { display: grid; grid-template-columns: 140px 1fr 40px; align-items: center; gap: 12px; }
.workspace-bar-grid span { color: var(--muted); font-weight: 850; }
.workspace-bar-grid i { display: block; height: 12px; border-radius: 999px; background: rgba(15,122,58,.10); overflow: hidden; }
.workspace-bar-grid i:after { content: ""; display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--gold)); }
.workspace-bar-grid strong { color: var(--forest); }
.workspace-page-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding: 24px; border-radius: 28px; margin-bottom: 18px; }
.workspace-filter-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 16px; margin-bottom: 18px; border-radius: 24px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.78); box-shadow: var(--shadow-soft); }
.workspace-filter-panel label, .workspace-management-form label { display: grid; gap: 7px; color: var(--muted); font-size: .75rem; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.workspace-filter-panel select, .workspace-management-form select, .workspace-management-form textarea { width: 100%; min-height: 42px; padding: 0 12px; border-radius: 14px; border: 1px solid rgba(6,59,36,.14); color: var(--charcoal); background: white; text-transform: none; letter-spacing: 0; font-weight: 800; }
.workspace-management-form textarea { min-height: 120px; padding: 12px; resize: vertical; }
.workspace-table-wrap { width: 100%; overflow-x: auto; }
.workspace-table th, .workspace-table td { color: var(--charcoal); border-bottom: 1px solid rgba(6,59,36,.10); white-space: nowrap; }
.workspace-table th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.workspace-quote-cards { display: none; }
.workspace-quote-card { padding: 18px; border-radius: 22px; }
.workspace-quote-card div { display: flex; justify-content: space-between; gap: 12px; }
.workspace-quote-card span { color: var(--green); font-weight: 950; }
.workspace-quote-card strong { color: var(--forest); }
.workspace-quote-card h3 { margin: 12px 0 6px; color: var(--forest); font-weight: 950; }
.workspace-quote-card p { color: var(--muted); margin: 0 0 10px; }
.workspace-status-track { display: grid; gap: 10px; }
.workspace-status-track div { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 11px; border-radius: 16px; background: rgba(15,122,58,.06); color: var(--muted); font-weight: 850; }
.workspace-status-track i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(15,122,58,.12); color: var(--forest); font-style: normal; font-weight: 950; }
.workspace-status-track div.active { background: rgba(214,169,58,.16); color: var(--forest); }
.workspace-status-track div.active i { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1f1a0d; }
.workspace-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.workspace-full { grid-column: 1 / -1; }
.workspace-empty { padding: 18px; border-radius: 18px; color: var(--muted); background: rgba(15,122,58,.06); }
.workspace-backdrop { display: none; }

.marketplace-header .desktop-nav { gap: 16px; }
.marketplace-header .desktop-nav > a { font-size: 0.92rem; font-weight: 700; padding: 8px 16px; border-radius: 99px; }
.marketplace-header .basket-count { background: var(--gold); color: var(--charcoal); font-weight: 900; min-width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; margin-left: 6px; padding: 0 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.nav-menu-trigger .chevron { color: var(--gold) !important; font-weight: 900 !important; font-size: 0.72rem !important; margin-left: 4px; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; }
  .hero-grid, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; }
  .hero-collage .image-panel { width: 100%; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dashboard-shell { grid-template-columns: 1fr; }
  .portal-topbar { align-items: flex-start; flex-direction: column; }
  .portal-user { flex-wrap: wrap; }
  .dash-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
  .home-hero-grid, .credibility-grid, .sustainability-grid { grid-template-columns: 1fr; }
  .home-hero-visual { min-height: 500px; }
  .hero-photo-main { left: 34px; }
  .stats-grid, .ops-grid, .home-product-grid { grid-template-columns: repeat(2, 1fr); }
  .buyer-journey-timeline { grid-template-columns: repeat(2, 1fr); }
  .buyer-journey-timeline:before { display: none; }
  .specialty-grid { grid-template-columns: 1fr 1fr; }
  .specialty-card.featured { grid-row: auto; }
  .marketplace-slider, .product-detail-layout, .quote-basket-layout, .quote-request-layout, .account-grid { grid-template-columns: 1fr; }
  .detail-tabs { grid-template-columns: repeat(2, 1fr); }
  .product-purchase-panel, .basket-summary-panel { position: static; }
}
@media (max-width: 680px) {
  .nav-shell { height: 74px; }
  .brand-lockup { min-width: 0; }
  .brand-lockup strong { font-size: .86rem; }
  .brand-lockup small { display: none; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .hero, .page-hero { padding: 58px 0 84px; }
  .hero h1, .page-hero h1 { font-size: 2.8rem; }
  .hero-visual { min-height: 360px; }
  .image-panel { min-height: 330px; transform: none; }
  .hero-collage { min-height: 480px; }
  .collage-card.tasting { left: 0; bottom: 34px; width: 210px; height: 155px; }
  .collage-card.leaves { right: 0; top: 4px; width: 160px; height: 120px; }
  .floating-card { position: relative; display: inline-block; margin: 8px; left: auto; right: auto; top: auto; bottom: auto; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-heading { display: block; }
  .footer-bottom, .dash-topbar { flex-direction: column; align-items: flex-start; }
  .dash-main { padding: 18px; }
  .dash-sidebar { grid-template-columns: 1fr; }
  .home-hero { padding: 54px 0 46px; }
  .home-hero-copy h1 { font-size: 2.7rem; }
  .home-hero-copy p { font-size: 1rem; }
  .home-hero-visual { min-height: 430px; margin-top: 8px; }
  .hero-photo-main { inset: 0 0 96px 0; transform: none; border-radius: 28px; }
  .hero-photo-secondary { width: 190px; height: 140px; bottom: 42px; left: 0; }
  .hero-stat-card { right: 0; top: 18px; width: 160px; padding: 14px; }
  .hero-stat-card strong { font-size: 1.65rem; }
  .hero-ops-card { left: 20px; bottom: 0; min-width: 0; width: calc(100% - 40px); }
  .cert-strip-grid { grid-template-columns: 1fr 1fr; padding: 16px 0; }
  .cert-strip-grid span { grid-column: 1 / -1; }
  .stats-grid, .ops-grid, .home-product-grid, .specialty-grid { grid-template-columns: 1fr; }
  .buyer-journey-timeline { grid-template-columns: 1fr; }
  .glass-stat { min-height: 140px; }
  .specialty-card { grid-template-columns: 1fr; }
  .specialty-card.featured .specialty-image, .specialty-image { min-height: 190px; }
  .home-product-card p { min-height: auto; }
  .product-photo, .product-card .product-art.product-photo { height: 156px; }
  .marketplace-wide { width: min(100% - 24px, 1760px); }
  .marketplace-compact-hero { padding-top: 18px; }
  .marketplace-slide { min-height: 185px; padding: 18px; border-radius: 24px; }
  .marketplace-tools { position: relative; top: auto; }
  .detail-tabs, .gallery-thumbs { grid-template-columns: 1fr; }
  .quote-card-form, .basket-update-form { grid-template-columns: 1fr; }
  .basket-item { grid-template-columns: 1fr; }
  .basket-image.product-photo { height: 170px; }
  .gallery-main, .gallery-main .product-photo { min-height: 340px; height: 340px; }
  .product-purchase-panel h1 { font-size: 2.2rem; }
  .quote-submit-form, .account-panel { padding: 20px; }
}


/* ════════════════════════════════════════════════════════════════
   Corporate Credibility — Particle Vortex Field
   ═══════════════════════════════════════════════════════════════ */

/* Container: absolute, full section, behind all content */
.corporate-particle-field {
  position: absolute;
  inset: 0;
  z-index: 0;           /* behind z-index:1 content grid */
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 2s ease 0.9s;  /* fades in after content reveals */
}

.corporate-credibility-section.is-visible .corporate-particle-field {
  opacity: 1;
}

/* Individual particle */
.corporate-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--p-w, 2.5px);
  height: var(--p-h, 7px);
  margin-left: calc(var(--p-w, 2.5px) * -0.5);
  margin-top: calc(var(--p-h, 7px) * -0.5);
  border-radius: 999px;
  background: var(--p-color, rgba(247, 211, 107, 0.7));
  will-change: transform, opacity;
  animation:
    corporateParticleOrbit var(--p-dur, 20s) linear infinite var(--p-delay, 0s),
    corporateParticlePulse var(--p-pulse-dur, 7s) ease-in-out infinite alternate var(--p-delay, 0s);
}

/* Orbit: rotates particle around section center at its ring radius */
@keyframes corporateParticleOrbit {
  0%   { transform: rotate(0deg)   translateX(var(--p-radius, 120px)); }
  100% { transform: rotate(360deg) translateX(var(--p-radius, 120px)); }
}

/* Pulse: shimmer opacity between full and near-zero */
@keyframes corporateParticlePulse {
  0%   { opacity: var(--p-opacity, 0.5); }
  100% { opacity: var(--p-opacity-min, 0.08); }
}

/* ── Mobile: reduce field opacity ───────────────────────────── */
@media (max-width: 768px) {
  .corporate-credibility-section.is-visible .corporate-particle-field {
    opacity: 0.55;
  }
}

@media (max-width: 580px) {
  .corporate-credibility-section.is-visible .corporate-particle-field {
    opacity: 0.38;
  }
}

/* ── Reduced motion: hide particles entirely ────────────────── */
@media (prefers-reduced-motion: reduce) {
  .corporate-particle-field {
    display: none !important;
  }
}
/* -------------------------------------------
   PHASE 2 MARKETPLACE FRONTEND POLISH
------------------------------------------- */

/* -----------------------------------------
   CAMPAIGN STRIP (Part B)
----------------------------------------- */
.marketplace-campaign-strip {
  background: linear-gradient(90deg, #031c12, #063b24 50%, #031c12);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 0;
  overflow: hidden;
}
.campaign-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 52px;
}
.campaign-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
}
.campaign-item:last-child { border-right: 0; }
.campaign-item:hover { background: rgba(255,255,255,.04); }
.campaign-label {
  font-size: .68rem;
  font-weight: 900;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .10em;
  white-space: nowrap;
}
.campaign-title {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.campaign-btn {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
  color: #1f1a0d;
  background: var(--gold-2);
  transition: transform .15s, box-shadow .15s;
}
.campaign-btn:hover { transform: scale(1.04); box-shadow: 0 4px 14px rgba(214,169,58,.4); }

/* -----------------------------------------
   MODERN FILTER TOOLBAR (Part D)
----------------------------------------- */
.filter-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.filter-search-group { flex: 1; min-width: 180px; }
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 12px;
  font-size: .88rem;
  pointer-events: none;
  opacity: .5;
  z-index: 1;
}
.search-input-wrapper input[data-search-products] {
  width: 100%;
  min-height: 40px;
  padding: 0 14px 0 36px;
  border: 1px solid rgba(6,59,36,.16);
  border-radius: 99px;
  background: white;
  outline: 0;
  font-size: .88rem;
  color: var(--charcoal);
  transition: border-color .2s, box-shadow .2s;
}
.search-input-wrapper input[data-search-products]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15,122,58,.1);
}
.filter-dropdowns-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.filter-dropdowns-group .field { margin: 0; }
.filter-dropdowns-group .field label {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: .68rem;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.filter-dropdowns-group select {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(6,59,36,.14);
  border-radius: 10px;
  font-size: .82rem;
  background: white;
  color: var(--charcoal);
  cursor: pointer;
  outline: 0;
}
.basket-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-2);
  color: #1f1a0d;
  font-size: .72rem;
  font-weight: 900;
  margin-left: 6px;
  padding: 0 4px;
}
.basket-summary-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--green), var(--forest));
  color: white;
  font-size: .82rem;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .15s;
  flex-shrink: 0;
}
.basket-summary-pill:hover { transform: translateY(-1px); }
.mobile-filter-trigger {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(6,59,36,.16);
  border-radius: 99px;
  background: white;
  font-size: .82rem;
  font-weight: 700;
  color: var(--forest);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.mobile-filter-trigger.active { background: rgba(15,122,58,.08); }

/* -----------------------------------------
   FILTER CHIPS (Part D)
----------------------------------------- */
.marketplace-filter-chips {
  margin-top: 12px;
  border-top: 1px solid rgba(6,59,36,.06);
  padding-top: 10px;
}
.chips-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.chips-container::-webkit-scrollbar { display: none; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 99px;
  border: 1.5px solid rgba(6,59,36,.16);
  background: white;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: all .18s;
}
.filter-chip:hover { border-color: var(--green); background: rgba(15,122,58,.05); }
.filter-chip.active {
  background: linear-gradient(135deg, var(--green), var(--forest));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(6,59,36,.2);
}

/* Mobile filter drawer */
@media (max-width: 768px) {
  .mobile-filter-trigger { display: inline-flex; }
  .filter-dropdowns-group {
    display: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(6,59,36,.08);
  }
  .filter-dropdowns-group.open { display: flex; }
  .filter-dropdowns-group .field { flex: 1 1 140px; }
  .filter-dropdowns-group select { width: 100%; }
  .filter-toolbar { flex-wrap: wrap; }
  .basket-summary-pill { min-height: 34px; }
  .campaign-container { grid-template-columns: 1fr; }
  .campaign-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 8px 16px;
  }
  .campaign-title { display: none; }
}

/* -----------------------------------------
   PRODUCT CARD REFINEMENTS (Part E)
----------------------------------------- */
.catalog-card { padding: 14px; }
.catalog-card p {
  -webkit-line-clamp: 2;
  height: 2.9em;
}

/* -----------------------------------------
   HIGH-CONTRAST BADGES AND EYEBROWS (Part H)
----------------------------------------- */
/* Light-section eyebrow override (forest green on cream/white bg) */
.section .eyebrow,
.marketplace-product-section .eyebrow,
.quote-basket-section .eyebrow,
.quote-request-section .eyebrow,
.marketplace-account-section .eyebrow,
.high-contrast-eyebrow {
  color: var(--forest) !important;
  background: rgba(15,122,58,.12) !important;
  border-color: rgba(15,122,58,.22) !important;
}
/* Gold eyebrow utility for light cream sections */
.gold-eyebrow {
  color: #7a5012 !important;
  background: rgba(244,197,66,.18) !important;
  border-color: rgba(214,169,58,.32) !important;
}
.product-meta span {
  color: var(--forest);
  background: rgba(15,122,58,.10);
}

/* -----------------------------------------
   EMPTY BASKET VISUAL (Part I)
----------------------------------------- */
.empty-basket-visual {
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.basket-line-icon {
  width: 80px;
  height: 80px;
  color: var(--forest);
  opacity: .35;
}
.basket-line-icon svg { width: 100%; height: 100%; }

/* -----------------------------------------
   QUOTE PROGRESS TRACKER (Part J)
----------------------------------------- */
.quote-progress-tracker {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  background: white;
  border: 1px solid rgba(6,59,36,.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(6,59,36,.04);
}
.tracker-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-right: 1px solid rgba(6,59,36,.08);
  color: var(--muted);
  transition: background .2s;
}
.tracker-step:last-child { border-right: 0; }
.tracker-step.done { color: var(--green); }
.tracker-step.done .step-num { background: var(--green); color: white; }
.tracker-step.active { background: rgba(15,122,58,.05); color: var(--forest); font-weight: 700; }
.tracker-step.active .step-num { background: var(--forest); color: white; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(6,59,36,.10);
  color: var(--muted);
  font-weight: 900;
  font-size: .78rem;
  flex-shrink: 0;
}
.step-text {
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}

/* -----------------------------------------
   QUOTE REQUEST SUMMARY CARD (Part J)
----------------------------------------- */
.quote-request-summary-card {
  margin-top: 20px;
  background: white;
  border: 1px solid rgba(6,59,36,.08);
  border-radius: 16px;
  padding: 18px;
}
.quote-request-summary-card h3 {
  font-size: .88rem;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 14px;
}
.quote-summary-list { display: grid; gap: 10px; }
.quote-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(6,59,36,.06);
}
.quote-summary-item:last-child { border-bottom: 0; padding-bottom: 0; }
.item-details { display: flex; flex-direction: column; gap: 2px; }
.item-details strong { font-size: .88rem; font-weight: 800; color: var(--forest); }
.item-pack { font-size: .74rem; color: var(--muted); font-weight: 700; }
.item-qty { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.item-qty b { color: var(--forest); }
.quote-summary-totals {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(6,59,36,.08);
}
.quote-summary-totals p {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
  display: flex;
  gap: 6px;
  align-items: center;
}
.quote-summary-totals span { font-weight: 900; color: var(--forest); }

/* Form 2-column row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* -----------------------------------------
   ACCOUNT CARD SPLIT (Part F and K)
----------------------------------------- */
.account-centered-container { max-width: 960px; margin: 0 auto; }
.account-card-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
}
.account-card-info {
  padding: 40px 36px;
  background: linear-gradient(135deg, #031c12, var(--forest));
  color: white;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.account-card-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 950;
  margin: 0;
  color: white;
}
.account-card-info p { color: rgba(255,255,255,.78); line-height: 1.65; margin: 0; }
.account-bullet-points { display: grid; gap: 8px; margin-top: 10px; }
.account-bullet-points p {
  font-size: .86rem;
  color: rgba(255,255,255,.82);
  margin: 0;
  padding: 8px 12px;
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
}
.account-panel {
  padding: 40px 36px;
  background: white;
  border-radius: 0;
  display: grid;
  gap: 14px;
}
.account-panel h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--forest);
  margin: 0 0 4px;
}
.account-panel label {
  display: grid;
  gap: 5px;
  font-size: .72rem;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.account-panel input {
  width: 100%;
  min-height: 42px;
  border: 1.5px solid rgba(6,59,36,.14);
  border-radius: 12px;
  padding: 0 14px;
  font-size: .9rem;
  background: var(--cream);
  outline: 0;
  color: var(--charcoal);
}
.account-panel input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,122,58,.1); }
.forgot-row { display: flex; justify-content: flex-end; margin-top: -6px; }
.forgot-link { font-size: .8rem; color: var(--muted); text-decoration: underline; }
.forgot-link:hover { color: var(--forest); }
.account-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(6,59,36,.08);
}
.switch-link { font-size: .84rem; color: var(--green); font-weight: 700; text-align: center; }
.switch-link:hover { color: var(--forest); }
.back-link { color: var(--muted); font-weight: 600; }

/* -----------------------------------------
   PHASE 2 RESPONSIVE ADDITIONS (Part L)
----------------------------------------- */
@media (max-width: 1080px) {
  .account-card-split { grid-template-columns: 1fr; }
  .account-card-info { padding: 28px 24px; }
  .account-panel { padding: 28px 24px; }
  .quote-progress-tracker { overflow-x: auto; }
  .tracker-step { min-width: 100px; }
}
@media (max-width: 680px) {
  .campaign-container { grid-template-columns: 1fr 1fr; }
  .campaign-item:last-child { grid-column: span 2; border-bottom: 0; }
  .quote-progress-tracker { border-radius: 12px; }
  .tracker-step { padding: 10px 12px; gap: 6px; }
  .step-text { font-size: .72rem; }
  .form-row { grid-template-columns: 1fr; }
  .quote-summary-totals { flex-direction: column; gap: 8px; }
  .account-card-split { border-radius: 20px; }
}
@media (max-width: 480px) {
  .campaign-container { grid-template-columns: 1fr; }
}

/* =========================================
   PREMIUM WORKSPACE / DASHBOARD STYLES
   ========================================= */
:root {
  --ws-bg: #FAF9F6;
  --ws-card: #FFFFFF;
  --ws-forest: #052014;
  --ws-green: #0B6B3A;
  --ws-mint: #E8F5EE;
  --ws-mint-text: #0B5C32;
  --ws-gold: #B0892B;
  --ws-gold-light: #F7F3E8;
  --ws-border: rgba(5, 32, 20, 0.07);
  --ws-shadow: 0 10px 30px rgba(5, 32, 20, 0.03);
}

.workspace-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: var(--ws-bg);
  color: var(--charcoal);
  font-family: Inter, sans-serif;
}

.workspace-sidebar {
  background: var(--ws-forest);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 50;
  overflow-y: auto;
}

.workspace-sidebar-brand {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.workspace-sidebar-menu {
  padding: 16px;
  flex: 1;
}

.workspace-menu-group {
  margin-bottom: 24px;
}

.workspace-menu-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 800;
  margin-bottom: 8px;
  padding-left: 12px;
}

.workspace-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

.workspace-menu-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.workspace-menu-item.active {
  color: #FFFFFF;
  background: var(--ws-green);
  box-shadow: 0 4px 12px rgba(11, 107, 58, 0.2);
}

.workspace-menu-item.active-gold {
  color: #FFFFFF;
  background: var(--ws-gold);
  box-shadow: 0 4px 12px rgba(176, 137, 43, 0.25);
}

.workspace-topbar {
  background: #FFFFFF;
  height: 76px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ws-border);
  position: relative;
  z-index: 30;
  box-shadow: 0 2px 10px rgba(5, 32, 20, 0.015);
}

.workspace-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.workspace-breadcrumbs {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.workspace-page-title {
  font-size: 1.4rem;
  font-weight: 850;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.workspace-topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.workspace-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--ws-border);
  transition: all 0.2s;
  position: relative;
  cursor: pointer;
}

.workspace-icon-btn:hover {
  background: var(--ws-bg);
  color: var(--charcoal);
  border-color: rgba(5, 32, 20, 0.12);
}

.workspace-icon-btn .badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--ws-gold);
  border-radius: 50%;
}

.workspace-profile-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ws-border);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.workspace-profile-trigger:hover {
  background: var(--ws-bg);
  border-color: rgba(5, 32, 20, 0.12);
}

.workspace-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ws-green);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px var(--ws-green);
}

.workspace-user-name {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--charcoal);
}

.workspace-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 32px;
  background: #FFFFFF;
  border: 1px solid var(--ws-border);
  border-radius: 16px;
  min-width: 220px;
  padding: 8px;
  box-shadow: 0 12px 35px rgba(5, 32, 20, 0.1);
  display: none;
  z-index: 100;
  transform: translateY(4px);
  transition: opacity 0.18s, transform 0.18s;
}

.workspace-dropdown-panel.open {
  display: block;
}

.workspace-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.15s;
}

.workspace-dropdown-item:hover {
  background: var(--ws-bg);
  color: var(--ws-forest);
}

.workspace-main-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.workspace-content {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
  background: var(--ws-bg);
}

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.workspace-card {
  background: var(--ws-card);
  border-radius: 20px;
  border: 1px solid var(--ws-border);
  box-shadow: var(--ws-shadow);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.workspace-section-card {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--ws-border);
  box-shadow: var(--ws-shadow);
  backdrop-filter: blur(12px);
}

.workspace-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15,122,58,.1);
  color: var(--ws-forest);
  font-size: .78rem;
  font-weight: 900;
  border: 1px solid rgba(15,122,58,.14);
}

.workspace-form-field {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 82, 50, 0.28);
  background: #fff;
  padding: 10px 14px;
  color: var(--charcoal);
  outline: none;
  font-size: .95rem;
  font-weight: 700;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.65);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.workspace-form-field:focus {
  border-color: rgba(11,107,58,.82);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04), 0 0 0 4px rgba(11,107,58,.13);
}

.workspace-form-field::placeholder {
  color: rgba(94,111,100,.72);
  font-weight: 650;
}

.workspace-form-field:disabled,
.workspace-form-field[readonly] {
  color: rgba(16,37,26,.62);
  border-color: rgba(16,37,26,.12);
  background: #f3f5ef;
  cursor: not-allowed;
}

.workspace-checkbox-list label {
  display: block;
  margin: 6px 0;
  font-weight: 800;
  color: var(--charcoal);
}

.workspace-content .status-pill {
  background: rgba(15,122,58,.1);
  color: var(--ws-forest);
}

.workspace-kpi {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.workspace-kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.workspace-kpi-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.workspace-kpi-value {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--ws-forest);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.workspace-kpi-trend {
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.workspace-kpi-trend.up { color: var(--ws-green); }
.workspace-kpi-trend.down { color: var(--ws-gold); }
.workspace-kpi-trend.neutral { color: var(--muted); }

.workspace-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.workspace-pill.pill-green {
  background: var(--ws-mint);
  color: var(--ws-mint-text);
}

.workspace-pill.pill-gold {
  background: var(--ws-gold-light);
  color: var(--ws-gold);
}

.workspace-pill.pill-neutral {
  background: #EFEFEF;
  color: #555555;
}

.workspace-pill.pill-primary {
  background: #E8EEFB;
  color: #1A56DB;
}

.workspace-action-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  transition: all 0.25s ease;
  border: 1px solid var(--ws-border);
}

.workspace-action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(5, 32, 20, 0.06);
  border-color: rgba(11, 107, 58, 0.2);
}

.workspace-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ws-gold-light);
  color: var(--ws-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 800;
}

.workspace-action-card:hover .workspace-action-icon {
  background: var(--ws-mint);
  color: var(--ws-green);
}

.workspace-action-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ws-forest);
  margin-bottom: 6px;
}

.workspace-action-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Charts */
.ws-chart-donut-container {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(
    var(--ws-green) 0% 45%,
    var(--ws-gold) 45% 75%,
    #E2E8F0 75% 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.06);
}

.ws-chart-donut-inner {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(5, 32, 20, 0.04);
}

.ws-chart-progress {
  height: 8px;
  border-radius: 99px;
  background: #E2E8F0;
  overflow: hidden;
  margin: 6px 0;
}

.ws-chart-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ws-green), var(--ws-gold));
  transition: width 0.8s ease-out;
}

.workspace-table-container {
  overflow-x: auto;
}

.workspace-table {
  width: 100%;
  border-collapse: collapse;
}

.workspace-table th {
  background: var(--ws-bg);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ws-border);
}

.workspace-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--ws-border);
  font-size: 0.86rem;
  color: var(--charcoal);
  font-weight: 650;
  vertical-align: middle;
}

.workspace-table tr:hover td {
  background: rgba(5, 32, 20, 0.01);
}

/* Timeline */
.ws-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 20px;
}

.ws-timeline:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--ws-border);
}

.ws-timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ws-timeline-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E2E8F0;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px #CBD5E1;
  transition: all 0.2s;
}

.ws-timeline-item.completed .ws-timeline-dot {
  background: var(--ws-green);
  box-shadow: 0 0 0 1px var(--ws-green);
}

.ws-timeline-item.active .ws-timeline-dot {
  background: var(--ws-gold);
  box-shadow: 0 0 0 3px rgba(176, 137, 43, 0.2);
}

.ws-timeline-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--charcoal);
}

.ws-timeline-date {
  font-size: 0.74rem;
  color: var(--muted);
}

/* Responsive Mobile Drawer */
.workspace-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--ws-border);
  background: #FFFFFF;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ws-forest);
}

.workspace-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.workspace-mobile-drawer.open {
  opacity: 1;
  visibility: visible;
}

.workspace-mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 32, 20, 0.6);
  backdrop-filter: blur(4px);
}

.workspace-mobile-content {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 290px;
  background: var(--ws-forest);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.workspace-mobile-drawer.open .workspace-mobile-content {
  transform: translateX(0);
}

/* Responsiveness overrides */
@media (max-width: 1024px) {
  .workspace-layout {
    grid-template-columns: 1fr;
  }
  .workspace-sidebar-desktop {
    display: none;
  }
  .workspace-hamburger {
    display: flex;
  }
  .workspace-topbar {
    padding: 0 20px;
  }
  .workspace-content {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .workspace-grid {
    gap: 16px;
  }
  .ws-span-mobile-12 {
    grid-column: span 12 !important;
  }
  .workspace-kpi {
    min-height: 100px;
  }
  .workspace-kpi-value {
    font-size: 1.8rem;
  }
}

@media (max-width: 1180px) {
  .workspace-body { grid-template-columns: 1fr; }
  .workspace-sidebar { position: fixed; left: 0; top: 0; width: min(320px, calc(100vw - 42px)); transform: translateX(-105%); transition: transform .24s ease; box-shadow: 0 28px 80px rgba(0,0,0,.32); }
  .workspace-sidebar.open { transform: translateX(0); }
  .workspace-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(3,24,16,.45); backdrop-filter: blur(4px); }
  .workspace-backdrop.open { display: block; }
  .workspace-menu-btn { display: block; }
  .workspace-topbar { align-items: center; }
  .workspace-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .workspace-topbar { gap: 10px; padding: 12px; }
  .workspace-user-meta { display: none; }
  .workspace-content { padding: 14px; }
  .workspace-hero-card, .workspace-page-head, .workspace-panel-head { display: block; }
  .workspace-hero-actions { margin-top: 18px; }
  .workspace-kpi-grid, .workspace-action-grid, .workspace-filter-panel, .workspace-form-grid, .workspace-report-card { grid-template-columns: 1fr; }
  .workspace-grid { grid-template-columns: 1fr; }
  .workspace-grid > * { grid-column: 1 / -1 !important; }
  .workspace-activity-list a { grid-template-columns: 1fr; }
  .workspace-table-wrap { display: none; }
  .workspace-quote-cards { display: grid; gap: 12px; }
  .workspace-bar-grid div { grid-template-columns: 1fr; gap: 6px; }
  .workspace-hero-card h2, .workspace-page-head h2 { font-size: 2rem; }
}

/* Scoped Workspace Management CSS (Phase 2) */
.workspace-management-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.workspace-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--ws-border);
  padding-bottom: 16px;
  margin-bottom: 8px;
}

.workspace-page-header h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ws-forest);
  letter-spacing: -0.03em;
}

.workspace-filterbar {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--ws-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
}

.workspace-management-table {
  width: 100%;
  border-collapse: collapse;
}

.workspace-management-table th {
  background: #FAF9F6;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ws-border);
  text-align: left;
}

.workspace-management-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ws-border);
  font-size: 0.84rem;
  color: var(--charcoal);
  font-weight: 600;
  vertical-align: middle;
}

.workspace-management-table tr:hover td {
  background: rgba(5, 32, 20, 0.015);
}

.workspace-mobile-card {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--ws-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.workspace-form-card {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  border-radius: 20px;
  box-shadow: var(--ws-shadow);
  padding: 24px;
}

.workspace-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background: var(--ws-card);
  border: 2px dashed rgba(5, 32, 20, 0.1);
  border-radius: 20px;
  color: var(--muted);
}

.workspace-empty-state svg {
  color: var(--ws-gold);
  opacity: 0.75;
  margin-bottom: 16px;
}

.workspace-empty-state h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ws-forest);
  margin-bottom: 6px;
}

.workspace-empty-state p {
  font-size: 0.84rem;
  max-width: 320px;
  margin-bottom: 16px;
}

.workspace-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.role-admin { background: #FDE8E8; color: #9B1C1C; }
.role-sales { background: #E1EFFE; color: #1E429F; }
.role-exec { background: #FEF08A; color: #713F12; }
.role-buyer { background: #E8F5EE; color: #0B5C32; }

.workspace-permission-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #E5E7EB;
}

.workspace-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.workspace-image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ws-border);
  background: var(--ws-card);
  aspect-ratio: 1;
}

.workspace-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workspace-report-panel {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.workspace-warning-panel {
  background: #FFFDF5;
  border-left: 4px solid var(--ws-gold);
  padding: 16px;
  border-radius: 8px;
  color: #713F12;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.workspace-warning-panel svg {
  color: var(--ws-gold);
  flex-shrink: 0;
}

.workspace-actionbar {
  background: var(--ws-card);
  border-top: 1px solid var(--ws-border);
  padding: 16px 24px;
  margin: 0 -24px -24px -24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Scoped Workspace CSS extensions for Invoices, Pricing, Payments, Notifications */
.workspace-invoice-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.workspace-money-card {
  background: #FFFFFF;
  border: 1px solid var(--ws-border, rgba(16, 37, 26, 0.08));
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--ws-shadow, 0 10px 30px rgba(5, 32, 20, 0.04));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.workspace-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-draft { background: #E5E7EB; color: #374151; }
.status-sent { background: #FEF3C7; color: #D97706; }
.status-accepted { background: #D1FAE5; color: #059669; }
.status-rejected { background: #FEE2E2; color: #DC2626; }
.status-cancelled { background: #F3F4F6; color: #6B7280; }

.workspace-invoice-document {
  background: #FFFFFF;
  border: 1px solid rgba(16, 37, 26, 0.08);
  box-shadow: 0 15px 45px rgba(5, 32, 20, 0.06);
  border-radius: 24px;
  padding: 40px;
  max-width: 840px;
  margin: 0 auto;
  color: #10251a;
}

.workspace-document-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.workspace-document-table th {
  background: #FAF9F6;
  border-bottom: 2px solid #0f7a3a;
  color: #5e6f64;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 14px;
  text-align: left;
}

.workspace-document-table td {
  padding: 14px;
  border-bottom: 1px solid #E5E7EB;
  font-size: 0.88rem;
}

/* Timeline */
.workspace-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 24px;
}

.workspace-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #E5E7EB;
}

.workspace-timeline-item {
  position: relative;
}

.workspace-timeline-dot {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #E5E7EB;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 1px #D1D5DB;
}

.workspace-timeline-item.active .workspace-timeline-dot {
  background: #0f7a3a;
  box-shadow: 0 0 0 3px rgba(15, 122, 58, 0.18);
}

.workspace-pricing-page, .workspace-payment-page, .workspace-notifications-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.workspace-warning-panel {
  background: #FFFDF5;
  border-left: 4px solid #d6a93a;
  border-radius: 12px;
  padding: 16px 20px;
  color: #713F12;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.workspace-empty-state {
  background: #FFFFFF;
  border: 2px dashed rgba(16, 37, 26, 0.12);
  border-radius: 24px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.workspace-empty-state h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #063b24;
  margin: 12px 0 6px;
}

.workspace-empty-state p {
  color: #5e6f64;
  font-size: 0.88rem;
  max-width: 380px;
  margin-bottom: 20px;
}

.workspace-mobile-card {
  background: #FFFFFF;
  border: 1px solid rgba(16, 37, 26, 0.08);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(5, 32, 20, 0.02);
}

@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  .workspace-layout, .workspace-topbar, .workspace-sidebar, .workspace-hamburger, .message-stack, .btn-primary, .btn-secondary, .no-print, header, aside, .message-stack {
    display: none !important;
  }
  .workspace-main-wrapper {
    margin: 0 !important;
    padding: 0 !important;
  }
  .workspace-invoice-document {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
}

/* Workspace sidebar notification badge */
.workspace-menu-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold-2);
  color: #1f1a0d;
  font-size: 0.68rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Email CTA destination banners (workspace) */
.email-action-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #faf7ef, #e8f5ee);
  border: 1px solid rgba(176, 137, 43, 0.28);
  box-shadow: 0 12px 32px rgba(6, 59, 36, 0.08);
}
.email-action-banner-staff {
  background: linear-gradient(135deg, #e8f5ee, #ffffff);
  border-color: rgba(15, 122, 58, 0.22);
}
.email-action-banner-quote {
  background: linear-gradient(135deg, #f7f3e8, #ffffff);
}
.email-action-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.email-action-banner h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.email-action-banner p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
}
.email-action-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1f1a0d;
  font-weight: 900;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(93, 68, 11, 0.18);
  text-decoration: none;
  white-space: nowrap;
}
.email-action-cta-secondary {
  background: linear-gradient(135deg, var(--green), var(--forest));
  color: white;
  box-shadow: 0 12px 28px rgba(6, 59, 36, 0.18);
}
button.email-action-cta:hover,
a.email-action-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* Responsive workspace tables */
.workspace-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 0 4px;
}
.workspace-table {
  min-width: 520px;
}

/* Prevent horizontal page overflow */
html, body {
  overflow-x: clip;
}
.workspace-content {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 768px) {
  .workspace-topbar {
    padding: 0 16px;
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .workspace-topbar-right {
    gap: 10px;
  }
  .workspace-user-name {
    display: none !important;
  }
  .email-action-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .email-action-cta {
    width: 100%;
  }
  .workspace-layout {
    width: 100%;
    max-width: 100vw;
  }
}

@media (min-width: 1440px) {
  .workspace-content {
    max-width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
  }
}

.invoice-total-highlight {
  border: 1px solid rgba(176, 137, 43, 0.22);
  background: linear-gradient(145deg, #faf7ef, #ffffff);
}

.ws-timeline-item.active .ws-timeline-dot,
.workspace-timeline-item.active .workspace-timeline-dot {
  box-shadow: 0 0 0 4px rgba(176, 137, 43, 0.25);
}

/* Reusable public 3D hero system */
.page-hero-3d {
  --hero-image: none;
  --hero-accent: rgba(214,169,58,.35);
  --hero-accent-2: rgba(34,163,90,.28);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, var(--hero-accent), transparent 26%),
    radial-gradient(circle at 12% 82%, var(--hero-accent-2), transparent 24%),
    linear-gradient(135deg, #031d13, #063b24 58%, #0b4f2c);
}
.page-hero-3d:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .16;
  background-image:
    radial-gradient(circle at 24px 24px, rgba(255,255,255,.42) 1px, transparent 2px),
    repeating-linear-gradient(128deg, transparent 0 26px, rgba(255,255,255,.12) 27px 28px);
  background-size: 48px 48px, 110px 110px;
}
.page-hero-3d:after {
  content: "";
  position: absolute;
  inset: auto -8% -32% 38%;
  height: 72%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(214,169,58,.18), transparent 68%);
  transform: rotate(-8deg);
}
.page-hero-3d__inner {
  width: min(1440px, calc(100% - clamp(32px, 5vw, 96px)));
  margin: 0 auto;
  min-height: clamp(500px, 62vh, 720px);
  padding: clamp(62px, 8vw, 110px) 0 clamp(48px, 7vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
}
.page-hero-3d__content {
  position: relative;
  z-index: 3;
}
.page-hero-3d__content h1 {
  font-size: clamp(2.55rem, 5.6vw, 5.5rem);
  line-height: .96;
  letter-spacing: -.04em;
  margin: 18px 0 20px;
  max-width: 880px;
}
.page-hero-3d__content p {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  line-height: 1.72;
}
.page-hero-3d__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.page-hero-3d__visual,
.hero-image-stack {
  position: relative;
  z-index: 2;
  min-height: 430px;
  perspective: 1200px;
}
.page-hero-3d__image-card,
.hero-tilt-card {
  position: absolute;
  inset: 26px 0 44px 58px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(6,59,36,.08), rgba(6,59,36,.40)),
    var(--hero-image),
    radial-gradient(circle at 72% 20%, rgba(214,169,58,.44), transparent 18%),
    linear-gradient(145deg, #224934, #88a964 42%, #24442f 64%, #0a2d1f);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 36px 110px rgba(0,0,0,.30);
  transform: rotateY(-6deg) rotateX(3deg);
  transition: transform .35s ease, filter .35s ease;
}
.page-hero-3d__image-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 34%, rgba(214,169,58,.16));
  mix-blend-mode: screen;
}
.page-hero-3d__image-card:after {
  content: attr(data-label);
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: calc(100% - 44px);
  padding: 10px 14px;
  border-radius: 14px;
  color: white;
  background: rgba(6,59,36,.72);
  font-weight: 900;
  backdrop-filter: blur(12px);
}
.page-hero-3d__floating-card,
.hero-glass-card {
  position: absolute;
  z-index: 4;
  padding: 16px 18px;
  border-radius: 20px;
  color: var(--charcoal);
  background: rgba(250,247,239,.90);
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: 0 24px 72px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
  animation: heroFloat 7s ease-in-out infinite;
}
.page-hero-3d__floating-card strong,
.hero-glass-card strong {
  display: block;
  color: var(--forest);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -.03em;
}
.page-hero-3d__floating-card span,
.hero-glass-card span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  margin-top: 5px;
}
.page-hero-3d__floating-card.card-a { left: 0; bottom: 56px; width: min(230px, 52vw); }
.page-hero-3d__floating-card.card-b { right: 10px; top: 34px; width: min(210px, 48vw); animation-delay: -2s; }
.page-hero-3d__floating-card--top { right: 10px; top: 34px; width: min(220px, 48vw); animation-delay: -2s; }
.page-hero-3d__floating-card--bottom { left: 0; bottom: 56px; width: min(230px, 52vw); }
.page-hero-3d__orb {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.66), rgba(214,169,58,.20) 42%, rgba(15,122,58,.10));
  filter: blur(.2px);
  opacity: .62;
  pointer-events: none;
}
.page-hero-3d__orb.orb-a { width: 112px; height: 112px; right: 5%; bottom: 12%; }
.page-hero-3d__orb.orb-b { width: 58px; height: 58px; left: 13%; top: 8%; opacity: .42; }
.page-hero-3d__orb--one { width: 112px; height: 112px; right: 5%; bottom: 12%; }
.page-hero-3d__orb--two { width: 58px; height: 58px; left: 13%; top: 8%; opacity: .42; }
.page-hero-3d__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff6cf;
  background: rgba(214,169,58,.14);
  border: 1px solid rgba(214,169,58,.28);
  font-size: .75rem;
  font-weight: 900;
}
.page-hero-3d__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.page-hero-3d__stats span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .75rem;
  font-weight: 900;
}
.hero-parallax-layer {
  transform: translate3d(var(--hero-parallax-x, 0), var(--hero-parallax-y, 0), 0);
  transition: transform .18s ease-out;
}
.hero-gradient-mesh {
  background:
    radial-gradient(circle at 24% 18%, rgba(214,169,58,.30), transparent 22%),
    radial-gradient(circle at 78% 30%, rgba(167,243,208,.24), transparent 24%),
    linear-gradient(135deg, #031d13, #063b24);
}
.page-hero-3d--compact .page-hero-3d__inner {
  min-height: 260px;
  padding: 28px 0 22px;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .55fr);
}
.page-hero-3d--compact .page-hero-3d__content h1 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  margin-bottom: 12px;
}
.page-hero-3d--compact .page-hero-3d__content p {
  font-size: .98rem;
  max-width: 620px;
}
.page-hero-3d--compact .page-hero-3d__visual {
  min-height: 210px;
}
.page-hero-3d--compact .page-hero-3d__image-card {
  inset: 8px 0 8px 28px;
  border-radius: 26px;
  transform: rotateY(-4deg) rotateX(2deg);
}
.page-hero-3d--compact .page-hero-3d__floating-card {
  padding: 12px 14px;
  width: 170px;
}
.page-hero-3d--compact + .marketplace-campaign-strip,
.page-hero-3d--compact + .quote-basket-section,
.page-hero-3d--compact + .quote-request-section,
.page-hero-3d--compact + .marketplace-account-section {
  margin-top: 0;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (hover: hover) and (pointer: fine) {
  .hero-tilt-card.is-tilting {
    transition: transform .08s ease-out;
  }
}
@media (max-width: 1080px) {
  .page-hero-3d__inner,
  .page-hero-3d--compact .page-hero-3d__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .page-hero-3d__visual,
  .page-hero-3d--compact .page-hero-3d__visual {
    min-height: 360px;
  }
  .page-hero-3d--compact .page-hero-3d__visual {
    min-height: 170px;
  }
  .page-hero-3d__image-card,
  .page-hero-3d--compact .page-hero-3d__image-card {
    inset: 0 0 68px 28px;
  }
}
@media (max-width: 680px) {
  .page-hero-3d__inner,
  .page-hero-3d--compact .page-hero-3d__inner {
    width: min(100% - 28px, 1440px);
    padding: 42px 0 34px;
  }
  .page-hero-3d__content h1,
  .page-hero-3d--compact .page-hero-3d__content h1 {
    font-size: 2.45rem;
  }
  .page-hero-3d__visual,
  .page-hero-3d--compact .page-hero-3d__visual {
    min-height: 300px;
  }
  .page-hero-3d__image-card,
  .page-hero-3d--compact .page-hero-3d__image-card {
    inset: 0 0 74px 0;
    transform: none;
    border-radius: 24px;
  }
  .page-hero-3d__floating-card.card-a {
    left: 12px;
    bottom: 10px;
  }
  .page-hero-3d__floating-card.card-b {
    right: 12px;
    top: auto;
    bottom: 112px;
  }
  .page-hero-3d__floating-card--top {
    right: 12px;
    top: auto;
    bottom: 112px;
  }
  .page-hero-3d__floating-card--bottom {
    left: 12px;
    bottom: 10px;
  }
  .page-hero-3d--compact .page-hero-3d__visual {
    display: none;
  }
  .page-hero-3d__actions .btn-primary,
  .page-hero-3d__actions .btn-secondary {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-3d__floating-card,
  .hero-glass-card,
  .page-hero-3d__image-card,
  .hero-tilt-card,
  .hero-parallax-layer {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
/* --- PREMIUM 3D HERO SYSTEM --- */

.page-hero-3d {
  position: relative;
  overflow: hidden;
  padding: 110px 0 80px;
  color: white;
  background: radial-gradient(circle at 75% 20%, rgba(34,163,90,.25), transparent 30%),
              linear-gradient(135deg, #031d13, #063b24 56%, #0c5a31);
}

.page-hero-3d.compact-hero {
  padding: 40px 0 30px;
}

.page-hero-3d.hero-products { background: radial-gradient(circle at 70% 30%, rgba(214,169,58,.2), transparent 25%), linear-gradient(135deg, #031c12, #0f4d2c); }
.page-hero-3d.hero-about { background: radial-gradient(circle at 80% 25%, rgba(244,197,66,.18), transparent 20%), linear-gradient(135deg, #031f14, #0f6032); }
.page-hero-3d.hero-sustainability { background: radial-gradient(circle at 80% 25%, rgba(167,243,208,.25), transparent 25%), linear-gradient(135deg, #082a1b, #0f7a3a); }
.page-hero-3d.hero-news { background: radial-gradient(circle at 80% 25%, rgba(214,169,58,.20), transparent 20%), linear-gradient(135deg, #051f16, #26371d); }
.page-hero-3d.hero-contact { background: radial-gradient(circle at 80% 25%, rgba(255,255,255,.12), transparent 22%), linear-gradient(135deg, #032819, #145133); }
.page-hero-3d.hero-careers { background: radial-gradient(circle at 75% 25%, rgba(34,163,90,.2), transparent 20%), linear-gradient(135deg, #042116, #0e542e); }
.page-hero-3d.hero-tenders { background: radial-gradient(circle at 75% 25%, rgba(244,197,66,.15), transparent 20%), linear-gradient(135deg, #051e15, #173824); }
.page-hero-3d.hero-account { background: radial-gradient(circle at 75% 25%, rgba(167,243,208,.15), transparent 20%), linear-gradient(135deg, #032416, #0b4f2c); }
.page-hero-3d.hero-avocado { background: radial-gradient(circle at 70% 30%, rgba(167,243,208,.25), transparent 20%), linear-gradient(135deg, #0e2a15, #225a2e); }

.hero-gradient-mesh {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image: radial-gradient(circle at 22px 22px, rgba(255,255,255,.3) 1px, transparent 2px),
                    repeating-linear-gradient(125deg, transparent 0 22px, rgba(255,255,255,.08) 23px 24px);
  background-size: 46px 46px, 96px 96px;
  pointer-events: none;
}

.page-hero-3d__inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
  gap: 56px;
  align-items: center;
}

@media (max-width: 992px) {
  .page-hero-3d__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.page-hero-3d.compact-hero .page-hero-3d__inner {
  grid-template-columns: 1fr;
  text-align: center;
}

.page-hero-3d__content h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.04em;
  margin: 16px 0 20px;
  max-width: 800px;
}

.page-hero-3d.compact-hero .page-hero-3d__content h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-inline: auto;
}

.page-hero-3d__content p {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
}

.page-hero-3d.compact-hero .page-hero-3d__content p {
  margin-inline: auto;
}

.page-hero-3d__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-hero-3d.compact-hero .page-hero-3d__actions {
  justify-content: center;
}

.page-hero-3d__visual {
  position: relative;
  min-height: 480px;
  perspective: 1200px;
}

@media (max-width: 992px) {
  .page-hero-3d__visual {
    min-height: 380px;
  }
}

.hero-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.page-hero-3d__image-card {
  position: absolute;
  inset: 20px 0 40px 60px;
  padding: 16px;
  border-radius: 32px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  transform: rotateY(-6deg) rotateX(3deg);
  overflow: hidden;
  transition: transform 0.4s ease;
}

@media (max-width: 992px) {
  .page-hero-3d__image-card {
    inset: 10px;
    transform: none;
  }
}

.hero-tilt-card:hover .page-hero-3d__image-card {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-5px);
}

.page-hero-3d__image-card .photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-color: #0b4229;
}

/* Remove decorative overlays and label badges from image cards */
.photo-placeholder::before,
.photo-placeholder::after,
.product-card .product-art.product-photo::before,
.product-card .product-art.product-photo::after,
.product-photo::before,
.product-photo::after,
.gallery-placeholder::before,
.gallery-placeholder::after,
.page-hero-3d__image-card .photo-placeholder::before,
.page-hero-3d__image-card .photo-placeholder::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.page-hero-3d__floating-card {
  position: absolute;
  z-index: 10;
  border-radius: 20px;
  background: rgba(250,247,239,.94);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
  padding: 18px;
  color: var(--charcoal);
  animation: heroFloat 8s ease-in-out infinite;
}

.page-hero-3d__floating-card.secondary {
  animation-direction: reverse;
  animation-duration: 9s;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: heroFadeUp 0.8s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-3d__floating-card,
  .page-hero-3d__image-card.hero-tilt-card,
  .page-hero-3d__image-card.hero-tilt-card::before,
  .animate-fade-up {
    animation: none !important;
    transform: none !important;
  }

  .page-hero-3d__image-card.hero-tilt-card,
  .page-hero-3d__floating-card {
    transition: none !important;
  }
}

.page-hero-3d__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214,169,58,.35);
  background: rgba(214,169,58,.15);
  color: #ffe7a2;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero-3d__stats strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--forest);
  letter-spacing: -.03em;
}

.page-hero-3d__stats span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  font-size: .8rem;
  margin-top: 4px;
}

/* Fallback meshes */
.mesh-factory { background-image: linear-gradient(160deg, rgba(6,59,36,.1), rgba(6,59,36,.4)), var(--image, none), linear-gradient(150deg, #244732, #6e8d53, #d2b76b, #314b36, #0b2d1f); }
.mesh-tasting { background-image: linear-gradient(160deg, rgba(6,59,36,.1), rgba(6,59,36,.3)), var(--image, none), radial-gradient(circle at 32% 42%, rgba(250,247,239,.8) 0 14%, transparent 15%), linear-gradient(145deg, #143923, #805f22); }
.mesh-products { background-image: linear-gradient(160deg, rgba(6,59,36,.1), rgba(6,59,36,.4)), var(--image, none), linear-gradient(145deg, #0b2d1f, #24a15a); }
.mesh-about { background-image: linear-gradient(160deg, rgba(6,59,36,.1), rgba(6,59,36,.4)), var(--image, none), linear-gradient(150deg, #0a3a23, #157345); }
.mesh-contact { background-image: linear-gradient(160deg, rgba(6,59,36,.1), rgba(6,59,36,.4)), var(--image, none), linear-gradient(150deg, #10251a, #0f7a3a); }
.mesh-news { background-image: linear-gradient(160deg, rgba(6,59,36,.1), rgba(6,59,36,.4)), var(--image, none), linear-gradient(150deg, #10251a, #5e6f64); }
.mesh-avocado { background-image: linear-gradient(160deg, rgba(6,59,36,.1), rgba(6,59,36,.4)), var(--image, none), linear-gradient(150deg, #153b1b, #4b8c53); }
.mesh-careers { background-image: linear-gradient(160deg, rgba(6,59,36,.1), rgba(6,59,36,.4)), var(--image, none), linear-gradient(150deg, #093b21, #137c46); }

/* Compact numbers */
.kpi-compact-strip .stat-card small {
  display: inline;
  margin-left: 4px;
}
.kpi-compact-strip .stat-card {
  min-height: auto;
  padding: 16px;
}

/* Card Hover Lift & Zoom Effects */
.card-hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.card-hover-lift:hover,
.card-hover-lift:focus-within {
  transform: translateY(-6px) translateZ(0);
  box-shadow: 0 20px 40px rgba(6, 59, 36, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(214, 169, 58, 0.4) !important;
}
.card-image-zoom {
  transition: transform 0.5s ease, filter 0.5s ease;
}
.card-hover-lift:hover .card-image-zoom,
.card-hover-lift:focus-within .card-image-zoom {
  transform: scale(1.04);
  filter: saturate(1.06);
}
.card-hover-lift:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Clamping text for card descriptions */
.description-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 44px;
}

/* Mobile-specific Marketplace Header Enhancements */
.basket-pill-mobile {
  display: none !important;
}
@media (max-width: 1080px) {
  .basket-pill-mobile {
    display: inline-flex !important;
  }
  .marketplace-back-link {
    display: none !important;
  }
}

/* Custom quote vs system priced badges */
.quote-mode-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.quote-mode-badge.badge-custom {
  background: rgba(214, 169, 58, 0.12);
  color: #c59728;
  border: 1px solid rgba(214, 169, 58, 0.25);
}
.quote-mode-badge.badge-system {
  background: rgba(15, 122, 58, 0.08);
  color: var(--forest);
  border: 1px solid rgba(15, 122, 58, 0.16);
}

.pack-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  background: rgba(16, 37, 26, 0.05);
  color: #4a5a50;
  border-radius: 6px;
  border: 1px solid rgba(16, 37, 26, 0.08);
}

.public-card-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 10px;
}

.public-card-commercials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.public-card-commercials .pack-chip {
  max-width: 100%;
  line-height: 1.2;
  white-space: normal;
}

.public-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.public-card-actions {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(16,37,26,0.08);
}

.package-listing-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.package-listing-card {
  min-width: 0;
}

.package-listing-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}

.package-listing-card__meta span,
.product-category-tag,
.availability-badge,
.package-size-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.15;
}

.product-category-tag,
.package-size-badge {
  color: var(--forest);
  background: rgba(15,122,58,.1);
  border: 1px solid rgba(15,122,58,.14);
}

.availability-badge--available {
  color: #0B6B3A;
  background: rgba(15,122,58,.1);
  border: 1px solid rgba(15,122,58,.18);
}

.availability-badge--request {
  color: #9a6b08;
  background: rgba(214,169,58,.14);
  border: 1px solid rgba(214,169,58,.28);
}

.package-price-list {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(250,247,239,.72);
  border: 1px solid rgba(16,37,26,.08);
  color: var(--forest);
  font-size: .78rem;
  line-height: 1.25;
}

.price-row span {
  color: #5e6f64;
  font-weight: 800;
}

.price-row strong {
  text-align: right;
  font-weight: 950;
}

.package-card-form {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.package-card-form label {
  display: grid;
  gap: 5px;
  color: var(--forest);
  font-size: .76rem;
  font-weight: 900;
}

.package-card-form select,
.package-card-form input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(16,37,26,.14);
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  color: var(--forest);
  font-weight: 800;
}

.selected-package-chip,
.selected-package-title {
  box-shadow: 0 0 0 2px rgba(214,169,58,.5);
}

.selected-package-row {
  background: rgba(214,169,58,.12);
}

@media (max-width: 520px) {
  .package-listing-grid {
    grid-template-columns: 1fr;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-row strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-hover-lift,
  .card-image-zoom,
  .card-hover-lift:hover,
  .card-hover-lift:focus-within,
  .card-hover-lift:hover .card-image-zoom,
  .card-hover-lift:focus-within .card-image-zoom {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
  }
}

/* Frontend repair layer: restores section heroes after the mesh cascade, keeps
   headers sticky, and simplifies product/marketplace cards as detail-entry cards. */
html,
body {
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  isolation: isolate;
}

.site-header.scrolled {
  box-shadow: 0 12px 34px rgba(6, 59, 36, .08);
}

.nav-menu-panel,
.mobile-menu {
  z-index: 10020;
}

.mobile-toggle {
  cursor: pointer;
}

.mobile-toggle.active {
  box-shadow: 0 0 0 3px rgba(214, 169, 58, .22);
}

.mobile-menu.open {
  display: block;
  animation: mobileMenuSlideIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-height: calc(100vh - 92px);
  overflow-y: auto;
}

.marketplace-header {
  position: sticky;
  top: 0;
  z-index: 5000;
}

.page-hero-3d.hero-gradient-mesh,
.page-hero-3d.compact-hero.hero-gradient-mesh {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background:
    linear-gradient(135deg, rgba(3, 29, 19, .82), rgba(6, 59, 36, .72)),
    radial-gradient(circle at 20% 18%, rgba(244,197,66,.26), transparent 24%),
    radial-gradient(circle at 82% 76%, rgba(167,243,208,.20), transparent 26%),
    var(--hero-image, none),
    var(--hero-image-2, none),
    linear-gradient(135deg, #031d13, #063b24);
  background-position: center, center, center, center, center, center;
  background-size: cover, cover, cover, cover, cover, cover;
  background-repeat: no-repeat;
  background-blend-mode: normal, screen, screen, overlay, overlay, normal;
}

.page-hero-3d.hero-products { background: radial-gradient(circle at 70% 30%, rgba(214,169,58,.20), transparent 25%), linear-gradient(135deg, #031c12, #0f4d2c); }
.page-hero-3d.hero-about { background: radial-gradient(circle at 80% 25%, rgba(244,197,66,.18), transparent 20%), linear-gradient(135deg, #031f14, #0f6032); }
.page-hero-3d.hero-sustainability { background: radial-gradient(circle at 80% 25%, rgba(167,243,208,.25), transparent 25%), linear-gradient(135deg, #082a1b, #0f7a3a); }
.page-hero-3d.hero-news { background: radial-gradient(circle at 80% 25%, rgba(214,169,58,.20), transparent 20%), linear-gradient(135deg, #051f16, #26371d); }
.page-hero-3d.hero-contact { background: radial-gradient(circle at 80% 25%, rgba(255,255,255,.12), transparent 22%), linear-gradient(135deg, #032819, #145133); }
.page-hero-3d.hero-careers { background: radial-gradient(circle at 75% 25%, rgba(34,163,90,.20), transparent 20%), linear-gradient(135deg, #042116, #0e542e); }
.page-hero-3d.hero-tenders { background: radial-gradient(circle at 75% 25%, rgba(244,197,66,.15), transparent 20%), linear-gradient(135deg, #051e15, #173824); }
.page-hero-3d.hero-account { background: radial-gradient(circle at 75% 25%, rgba(167,243,208,.15), transparent 20%), linear-gradient(135deg, #032416, #0b4f2c); }
.page-hero-3d.hero-avocado { background: radial-gradient(circle at 70% 30%, rgba(167,243,208,.25), transparent 20%), linear-gradient(135deg, #0e2a15, #225a2e); }

.page-hero-3d:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .15;
  background-image:
    radial-gradient(circle at 22px 22px, rgba(255,255,255,.35) 1px, transparent 2px),
    repeating-linear-gradient(125deg, transparent 0 22px, rgba(255,255,255,.08) 23px 24px);
  background-size: 46px 46px, 96px 96px;
  pointer-events: none;
}

.page-hero-3d__inner {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - clamp(32px, 5vw, 96px)));
  margin: 0 auto;
  min-height: clamp(500px, 62vh, 720px);
  padding: clamp(62px, 8vw, 110px) 0 clamp(48px, 7vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
}

.page-hero-3d.compact-hero .page-hero-3d__inner {
  min-height: 240px;
  padding: 30px 0 24px;
  grid-template-columns: minmax(0, 1fr);
  text-align: left;
}

.page-hero-3d.compact-hero .page-hero-3d__content h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.page-hero-3d.compact-hero .page-hero-3d__content p {
  max-width: 720px;
  margin-inline: 0;
}

.page-hero-3d__image-card.hero-tilt-card {
  background:
    linear-gradient(160deg, rgba(6,59,36,.08), rgba(6,59,36,.40)),
    var(--hero-image),
    radial-gradient(circle at 72% 20%, rgba(214,169,58,.44), transparent 18%),
    linear-gradient(145deg, #224934, #88a964 42%, #24442f 64%, #0a2d1f);
  background-size: cover;
  background-position: center;
}

/* Boardroom hero animation treatment shared across public section heroes */
.page-hero-3d:not(.compact-hero) .page-hero-3d__visual {
  isolation: isolate;
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__image-card.hero-tilt-card {
  border: 1px solid rgba(244, 197, 66, 0.34);
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform-style: preserve-3d;
  animation: corporateVisualFloat 7s ease-in-out infinite alternate;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__image-card.hero-tilt-card::before {
  content: "";
  position: absolute;
  inset: -60% auto auto -80%;
  width: 60%;
  height: 220%;
  z-index: 3;
  transform: rotate(25deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: corporateSheen 7.2s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__image-card.hero-tilt-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 250, 240, 0.15);
  border-radius: 20px;
  background: none;
  pointer-events: none;
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__image-card.hero-tilt-card:hover,
.page-hero-3d:not(.compact-hero) .page-hero-3d__image-card.hero-tilt-card.is-tilting {
  border-color: rgba(244, 197, 66, 0.7);
  box-shadow:
    0 45px 120px rgba(0, 0, 0, 0.58),
    0 0 30px rgba(244, 197, 66, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: saturate(1.08) contrast(1.05);
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__image-card .photo-placeholder {
  transform: translateZ(18px);
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__image-card .photo-placeholder::after {
  z-index: 4;
  color: #1c1605;
  background: linear-gradient(135deg, #ffd866, #dca82a);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__floating-card {
  --hero-parallax-x: 0px;
  --hero-parallax-y: 0px;
  color: #fffaf0;
  background: rgba(2, 14, 9, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.35);
  transform: translate3d(var(--hero-parallax-x), var(--hero-parallax-y), 0);
  animation: heroCorporateFloat 8s ease-in-out infinite;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__floating-card.secondary {
  animation-direction: reverse;
  animation-duration: 9s;
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__floating-card:hover {
  border-color: rgba(244, 197, 66, 0.45);
  background: rgba(2, 14, 9, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 56px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(244, 197, 66, 0.12);
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__stats strong {
  color: #f7d36b;
}

.page-hero-3d:not(.compact-hero) .page-hero-3d__stats span {
  color: rgba(255, 250, 240, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes heroCorporateFloat {
  0%, 100% {
    transform: translate3d(var(--hero-parallax-x), var(--hero-parallax-y), 0) translateY(0);
  }
  50% {
    transform: translate3d(var(--hero-parallax-x), var(--hero-parallax-y), 0) translateY(-12px);
  }
}

.home-product-card,
.market-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.home-product-card h3,
.market-product-card h3 {
  line-height: 1.18;
}

.packaging-chips {
  gap: 6px;
}

.pack-chip,
.packaging-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16,37,26,.055);
  border: 1px solid rgba(16,37,26,.08);
  color: var(--forest);
  font-size: .7rem;
  font-weight: 850;
}

.card-hover-lift,
.floating-product-card {
  transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease, border-color .24s ease;
}

.card-hover-lift:hover,
.card-hover-lift:focus-within,
.floating-product-card:hover,
.floating-product-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(6,59,36,.16);
  background-color: rgba(255,255,255,.96);
  border-color: rgba(214,169,58,.38);
}

.card-hover-lift:focus-within,
.floating-product-card:focus-within {
  outline: 2px solid rgba(214,169,58,.72);
  outline-offset: 4px;
}

.card-hover-lift:hover .product-photo,
.card-hover-lift:focus-within .product-photo,
.floating-product-card:hover .product-photo,
.floating-product-card:focus-within .product-photo {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.card-actions .btn-primary {
  width: 100%;
}

.description-clamped {
  min-height: 3.1em;
}

/* Old credibility styles removed */

/* Stronger floating product/shop card feedback */
.home-product-card,
.market-product-card,
.product-card,
.catalog-card {
  overflow: hidden;
}

.card-hover-lift,
.floating-product-card,
.home-product-card,
.market-product-card {
  transform: translateY(0) scale(1);
  will-change: transform;
  transition:
    transform .28s cubic-bezier(.16, 1, .3, 1),
    box-shadow .28s ease,
    background .28s ease,
    border-color .28s ease;
}

.card-hover-lift:hover,
.card-hover-lift:focus-within,
.floating-product-card:hover,
.floating-product-card:focus-within,
.home-product-card:hover,
.home-product-card:focus-within,
.market-product-card:hover,
.market-product-card:focus-within {
  transform: translateY(-8px) scale(1.01);
  background:
    radial-gradient(circle at 82% 0%, rgba(244,197,66,.18), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,249,235,.96) 54%, rgba(255,248,224,.92));
  border-color: rgba(214,169,58,.52) !important;
  box-shadow: 0 30px 78px rgba(6,59,36,.20), 0 8px 20px rgba(214,169,58,.12);
}

.card-hover-lift:focus-within,
.floating-product-card:focus-within,
.home-product-card:focus-within,
.market-product-card:focus-within {
  outline: 3px solid rgba(214,169,58,.62);
  outline-offset: 4px;
}

.card-hover-lift:hover .product-photo,
.card-hover-lift:focus-within .product-photo,
.floating-product-card:hover .product-photo,
.floating-product-card:focus-within .product-photo,
.home-product-card:hover .product-photo,
.home-product-card:focus-within .product-photo,
.market-product-card:hover .product-photo,
.market-product-card:focus-within .product-photo {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.05);
}

.card-hover-lift:hover .btn-primary,
.card-hover-lift:focus-within .btn-primary,
.floating-product-card:hover .btn-primary,
.floating-product-card:focus-within .btn-primary,
.home-product-card:hover .btn-primary,
.home-product-card:focus-within .btn-primary,
.market-product-card:hover .btn-primary,
.market-product-card:focus-within .btn-primary {
  box-shadow: 0 18px 38px rgba(6,59,36,.24);
  transform: translateY(-1px);
}

/* Old credibility media queries removed */

@media (prefers-reduced-motion: reduce) {
  .card-hover-lift,
  .floating-product-card,
  .home-product-card,
  .market-product-card,
  .product-photo {
    transition: none !important;
    transform: none !important;
  }

  .card-hover-lift:hover,
  .card-hover-lift:focus-within,
  .floating-product-card:hover,
  .floating-product-card:focus-within,
  .home-product-card:hover,
  .home-product-card:focus-within,
  .market-product-card:hover,
  .market-product-card:focus-within,
  .card-hover-lift:hover .product-photo,
  .card-hover-lift:focus-within .product-photo,
  .floating-product-card:hover .product-photo,
  .floating-product-card:focus-within .product-photo,
  .home-product-card:hover .product-photo,
  .home-product-card:focus-within .product-photo,
  .market-product-card:hover .product-photo,
  .market-product-card:focus-within .product-photo {
    transform: none !important;
  }
}

@media (max-width: 1180px) {
  .marketplace-actions .marketplace-back-link {
    display: none;
  }
}

@media (max-width: 1080px) {
  .page-hero-3d__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-hero-3d__visual {
    min-height: 360px;
  }

  .marketplace-header .desktop-nav {
    display: none;
  }
}

@media (max-width: 680px) {
  .section-inner,
  .marketplace-wide,
  .page-hero-3d__inner {
    width: min(100% - 28px, 1440px);
  }

  .page-hero-3d {
    padding: 0;
  }

  .page-hero-3d__inner {
    padding: 42px 0 34px;
  }

  .page-hero-3d.compact-hero .page-hero-3d__inner {
    padding: 26px 0 22px;
  }

  .page-hero-3d__content h1,
  .page-hero-3d.compact-hero .page-hero-3d__content h1 {
    font-size: 2.35rem;
  }

  .page-hero-3d__visual {
    min-height: 290px;
  }

  .page-hero-3d.compact-hero .page-hero-3d__visual {
    display: none;
  }

  .page-hero-3d__image-card {
    inset: 0 0 74px 0;
    transform: none;
    border-radius: 24px;
  }

  .page-hero-3d__floating-card {
    max-width: calc(100% - 24px);
  }

  .page-hero-3d__floating-card.secondary {
    display: none;
  }

  .page-hero-3d__actions .btn-primary,
  .page-hero-3d__actions .btn-secondary,
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .mobile-menu {
    width: calc(100% - 20px);
    margin-bottom: 10px;
    border-radius: 18px;
  }

  .marketplace-actions {
    gap: 8px;
  }

  .marketplace-actions > .login-btn:not(.basket-pill-mobile),
  .marketplace-actions .logout-btn {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-hover-lift,
  .floating-product-card,
  .card-hover-lift:hover,
  .card-hover-lift:focus-within,
  .floating-product-card:hover,
  .floating-product-card:focus-within,
  .card-hover-lift:hover .product-photo,
  .card-hover-lift:focus-within .product-photo,
  .floating-product-card:hover .product-photo,
  .floating-product-card:focus-within .product-photo {
    transform: none !important;
    transition: none !important;
  }
}

/* Final marketplace/home correction pass */
.home-main-hero.page-hero-3d {
  display: block;
  position: relative !important;
  inset: auto !important;
  z-index: 1;
  min-height: clamp(560px, calc(100vh - 82px), 760px);
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
}

.home-main-hero .page-hero-3d__inner {
  min-height: clamp(560px, calc(100vh - 82px), 760px);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(48px, 6vw, 84px);
}

.home-main-hero .page-hero-3d__content {
  max-width: 760px;
}

.home-main-hero .page-hero-3d__visual {
  min-height: 470px;
}

.home-main-hero + .home-cert-strip {
  position: relative;
  z-index: 2;
}

.marketplace-nav-shell {
  gap: 14px;
}

.marketplace-brand {
  min-width: 230px;
}

.marketplace-header .marketplace-nav {
  gap: 8px;
}

.marketplace-header .nav-menu-trigger,
.marketplace-header .account-menu-trigger {
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.marketplace-header .nav-menu-trigger:hover,
.marketplace-header .nav-menu-trigger.active,
.marketplace-header .nav-menu.open .nav-menu-trigger,
.marketplace-header .account-menu.open .account-menu-trigger,
.marketplace-header .account-menu-trigger:hover {
  color: white;
  background: rgba(255,255,255,.14);
}

.marketplace-header .marketplace-nav-panel,
.marketplace-header .account-menu-panel {
  background: rgba(250,247,239,.98);
  border-color: rgba(255,255,255,.72);
  z-index: 5200;
}

.account-menu-panel {
  min-width: 250px;
}

.account-logout-form {
  margin: 4px 0 0;
  padding-top: 6px;
  border-top: 1px solid rgba(6,59,36,.10);
}

.account-logout-form button {
  width: 100%;
  min-height: 58px;
  padding: 12px 13px;
  border: 0;
  border-radius: 16px;
  color: var(--forest);
  background: transparent;
  text-align: left;
  font-weight: 950;
  cursor: pointer;
  display: block;
}

.account-logout-form button:hover,
.account-logout-form button:focus {
  background: rgba(15,122,58,.09);
  outline: 0;
}

.account-logout-form button strong {
  display: block;
  font-size: .86rem;
  font-weight: 950;
  color: var(--charcoal);
}

.account-logout-form button small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.35;
  font-weight: 750;
}

.marketplace-header .basket-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.marketplace-header .basket-pill-mobile .basket-count,
.marketplace-header .basket-link .basket-count {
  margin-left: 4px;
}

.marketplace-header .basket-pill-mobile {
  gap: 4px;
}

.marketplace-header .basket-pill-mobile .basket-count {
  margin-left: 0 !important;
}

.marketplace-campaign-strip {
  display: none;
}

.page-hero-3d.compact-hero .page-hero-3d__inner {
  min-height: 190px;
  padding-top: 24px;
  padding-bottom: 18px;
}

.marketplace-tools {
  padding-top: 18px;
}

@media (max-width: 1280px) {
  .marketplace-brand {
    min-width: 190px;
  }

  .marketplace-header .marketplace-nav {
    gap: 6px;
  }

  .marketplace-header .desktop-nav > a,
  .marketplace-header .nav-menu-trigger,
  .marketplace-header .login-btn,
  .marketplace-back-link {
    padding-inline: 12px;
    font-size: .84rem;
  }
}

@media (max-width: 1080px) {
  .marketplace-brand {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .home-main-hero.page-hero-3d,
  .home-main-hero .page-hero-3d__inner {
    min-height: auto;
  }

  .home-main-hero .page-hero-3d__inner {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .home-main-hero .page-hero-3d__visual {
    min-height: 285px;
  }

  .marketplace-nav-shell {
    height: 68px;
    gap: 7px;
  }

  .marketplace-brand strong {
    max-width: 118px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .marketplace-actions .account-menu-trigger {
    min-height: 38px;
    padding-inline: 10px;
    font-size: .78rem;
  }

  .marketplace-actions .basket-pill-mobile {
    min-height: 38px;
    padding-inline: 10px;
    font-size: .78rem;
  }

  .marketplace-actions .account-menu {
    display: inline-flex;
  }

  .marketplace-header .account-menu-panel {
    right: -54px;
  }

  .page-hero-3d.compact-hero .page-hero-3d__inner {
    min-height: 150px;
    padding-top: 20px;
    padding-bottom: 18px;
  }
}

@media (max-width: 390px) {
  .marketplace-brand strong {
    max-width: 82px;
  }

  .marketplace-actions .account-menu-trigger {
    width: 38px;
    padding: 0;
    overflow: hidden;
    color: transparent;
  }

  .marketplace-actions .account-menu-trigger:before {
    content: "Acct";
    color: white;
    font-size: .72rem;
  }

  .marketplace-actions .account-menu-trigger .chevron {
    display: none;
  }
}

/* Marketplace header visibility hotfix */
.marketplace-header .marketplace-nav .nav-menu-trigger,
.marketplace-header .marketplace-nav .nav-menu-trigger.active,
.marketplace-header .marketplace-nav .nav-menu-trigger:hover,
.marketplace-header .marketplace-nav .nav-menu.open .nav-menu-trigger {
  color: #ffffff !important;
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.18) !important;
  opacity: 1 !important;
}

.marketplace-header .marketplace-nav .nav-menu-trigger .chevron {
  color: var(--gold-2) !important;
}

.marketplace-header .marketplace-nav-panel {
  display: grid;
  color: var(--charcoal);
  z-index: 6000 !important;
}

.marketplace-header .marketplace-nav-panel a,
.marketplace-header .account-menu-panel a,
.marketplace-header .account-menu-panel button {
  color: var(--charcoal) !important;
}

.marketplace-header .basket-pill-mobile {
  display: none !important;
}

.marketplace-campaign-strip {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
}

@media (max-width: 1080px) {
  .marketplace-header .basket-pill-mobile {
    display: inline-flex !important;
  }
}

/* Final visible card hover correction: targets the actual rendered product wrappers. */
.home-product-grid,
.marketplace-grid,
.specialty-grid,
.related-product-grid,
.featured-marketplace,
.marketplace-product-section,
.specialty-showcase {
  overflow: visible !important;
}

.home-product-card,
.specialty-card,
.premium-card.product-card,
.premium-card.market-product-card,
.premium-card.catalog-card,
.product-card.catalog-card,
.market-product-card.catalog-card,
.card-hover-lift,
.floating-product-card {
  position: relative !important;
  z-index: 0;
  transform: translateY(0) scale(1) !important;
  transform-origin: center bottom;
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: 420px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    filter 220ms ease !important;
  will-change: transform;
}

.home-product-card:hover,
.home-product-card:focus-within,
.home-product-card.is-card-hovered,
.specialty-card:hover,
.specialty-card:focus-within,
.specialty-card.is-card-hovered,
.premium-card.product-card:hover,
.premium-card.product-card:focus-within,
.premium-card.product-card.is-card-hovered,
.premium-card.market-product-card:hover,
.premium-card.market-product-card:focus-within,
.premium-card.market-product-card.is-card-hovered,
.premium-card.catalog-card:hover,
.premium-card.catalog-card:focus-within,
.premium-card.catalog-card.is-card-hovered,
.product-card.catalog-card:hover,
.product-card.catalog-card:focus-within,
.product-card.catalog-card.is-card-hovered,
.market-product-card.catalog-card:hover,
.market-product-card.catalog-card:focus-within,
.market-product-card.catalog-card.is-card-hovered,
.card-hover-lift:hover,
.card-hover-lift:focus-within,
.card-hover-lift.is-card-hovered,
.floating-product-card:hover,
.floating-product-card:focus-within,
.floating-product-card.is-card-hovered {
  z-index: 12;
  transform: translateY(-16px) scale(1.026) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(241,190,49,.30), transparent 36%),
    radial-gradient(circle at 92% 100%, rgba(15,122,58,.18), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, #fbf7e8 48%, #edf8ef 100%) !important;
  border-color: rgba(176,137,43,.88) !important;
  box-shadow:
    0 42px 104px rgba(5,32,20,.34),
    0 16px 38px rgba(176,137,43,.25),
    0 0 0 1px rgba(244,197,66,.34),
    inset 0 1px 0 rgba(255,255,255,.88) !important;
}

.home-product-card::after,
.specialty-card::after,
.premium-card.product-card::after,
.premium-card.market-product-card::after,
.premium-card.catalog-card::after,
.product-card.catalog-card::after,
.market-product-card.catalog-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(244,197,66,.42), transparent 26%),
    linear-gradient(315deg, rgba(15,122,58,.20), transparent 28%);
  transition: opacity 220ms ease;
}

.home-product-card:hover::after,
.home-product-card:focus-within::after,
.home-product-card.is-card-hovered::after,
.specialty-card:hover::after,
.specialty-card:focus-within::after,
.specialty-card.is-card-hovered::after,
.premium-card.product-card:hover::after,
.premium-card.product-card:focus-within::after,
.premium-card.product-card.is-card-hovered::after,
.premium-card.market-product-card:hover::after,
.premium-card.market-product-card:focus-within::after,
.premium-card.market-product-card.is-card-hovered::after,
.premium-card.catalog-card:hover::after,
.premium-card.catalog-card:focus-within::after,
.premium-card.catalog-card.is-card-hovered::after,
.product-card.catalog-card:hover::after,
.product-card.catalog-card:focus-within::after,
.product-card.catalog-card.is-card-hovered::after,
.market-product-card.catalog-card:hover::after,
.market-product-card.catalog-card:focus-within::after,
.market-product-card.catalog-card.is-card-hovered::after {
  opacity: .34;
}

.home-product-card > *,
.specialty-card > *,
.premium-card.product-card > *,
.premium-card.market-product-card > *,
.premium-card.catalog-card > *,
.product-card.catalog-card > *,
.market-product-card.catalog-card > * {
  position: relative;
  z-index: 1;
}

.home-product-card:focus-within,
.specialty-card:focus-within,
.premium-card.product-card:focus-within,
.premium-card.market-product-card:focus-within,
.premium-card.catalog-card:focus-within,
.product-card.catalog-card:focus-within,
.market-product-card.catalog-card:focus-within,
.card-hover-lift:focus-within,
.floating-product-card:focus-within {
  outline: 3px solid rgba(214,169,58,.78) !important;
  outline-offset: 5px;
}

.home-product-card .product-photo,
.specialty-card .specialty-image,
.premium-card.product-card .product-photo,
.premium-card.market-product-card .product-photo,
.premium-card.catalog-card .product-photo,
.product-card.catalog-card .product-photo,
.market-product-card.catalog-card .product-photo,
.card-hover-lift .product-photo,
.card-hover-lift .specialty-image,
.floating-product-card .product-photo,
.floating-product-card .specialty-image {
  display: block;
  overflow: hidden !important;
  transform: scale(1) !important;
  transform-origin: center;
  transition:
    transform 260ms ease,
    filter 260ms ease,
    background-size 260ms ease !important;
}

.home-product-card:hover .product-photo,
.home-product-card:focus-within .product-photo,
.home-product-card.is-card-hovered .product-photo,
.specialty-card:hover .specialty-image,
.specialty-card:focus-within .specialty-image,
.specialty-card.is-card-hovered .specialty-image,
.premium-card.product-card:hover .product-photo,
.premium-card.product-card:focus-within .product-photo,
.premium-card.product-card.is-card-hovered .product-photo,
.premium-card.market-product-card:hover .product-photo,
.premium-card.market-product-card:focus-within .product-photo,
.premium-card.market-product-card.is-card-hovered .product-photo,
.premium-card.catalog-card:hover .product-photo,
.premium-card.catalog-card:focus-within .product-photo,
.premium-card.catalog-card.is-card-hovered .product-photo,
.product-card.catalog-card:hover .product-photo,
.product-card.catalog-card:focus-within .product-photo,
.product-card.catalog-card.is-card-hovered .product-photo,
.market-product-card.catalog-card:hover .product-photo,
.market-product-card.catalog-card:focus-within .product-photo,
.market-product-card.catalog-card.is-card-hovered .product-photo,
.card-hover-lift:hover .product-photo,
.card-hover-lift:focus-within .product-photo,
.card-hover-lift.is-card-hovered .product-photo,
.card-hover-lift:hover .specialty-image,
.card-hover-lift:focus-within .specialty-image,
.card-hover-lift.is-card-hovered .specialty-image,
.floating-product-card:hover .product-photo,
.floating-product-card:focus-within .product-photo,
.floating-product-card.is-card-hovered .product-photo,
.floating-product-card:hover .specialty-image,
.floating-product-card:focus-within .specialty-image,
.floating-product-card.is-card-hovered .specialty-image {
  transform: scale(1.085) !important;
  filter: saturate(1.18) contrast(1.10) brightness(1.04) !important;
  background-size: cover, 120% auto, cover !important;
}

.home-product-card:hover .btn-primary,
.home-product-card:focus-within .btn-primary,
.home-product-card.is-card-hovered .btn-primary,
.specialty-card:hover .btn-primary,
.specialty-card:focus-within .btn-primary,
.specialty-card.is-card-hovered .btn-primary,
.premium-card.product-card:hover .btn-primary,
.premium-card.product-card:focus-within .btn-primary,
.premium-card.product-card.is-card-hovered .btn-primary,
.premium-card.market-product-card:hover .btn-primary,
.premium-card.market-product-card:focus-within .btn-primary,
.premium-card.market-product-card.is-card-hovered .btn-primary,
.premium-card.catalog-card:hover .btn-primary,
.premium-card.catalog-card:focus-within .btn-primary,
.premium-card.catalog-card.is-card-hovered .btn-primary,
.product-card.catalog-card:hover .btn-primary,
.product-card.catalog-card:focus-within .btn-primary,
.product-card.catalog-card.is-card-hovered .btn-primary,
.market-product-card.catalog-card:hover .btn-primary,
.market-product-card.catalog-card:focus-within .btn-primary,
.market-product-card.catalog-card.is-card-hovered .btn-primary,
.card-hover-lift:hover .btn-primary,
.card-hover-lift:focus-within .btn-primary,
.card-hover-lift.is-card-hovered .btn-primary,
.floating-product-card:hover .btn-primary,
.floating-product-card:focus-within .btn-primary,
.floating-product-card.is-card-hovered .btn-primary {
  transform: translateY(-3px) !important;
  background: linear-gradient(135deg, #0f7a3a, #063b24) !important;
  box-shadow: 0 22px 44px rgba(0,92,49,.34), 0 8px 20px rgba(214,169,58,.20) !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-product-card,
  .specialty-card,
  .premium-card.product-card,
  .premium-card.market-product-card,
  .premium-card.catalog-card,
  .product-card.catalog-card,
  .market-product-card.catalog-card,
  .card-hover-lift,
  .floating-product-card,
  .product-photo,
  .specialty-image {
    transition: box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, filter 160ms ease !important;
    transform: none !important;
  }

  .home-product-card:hover,
  .home-product-card:focus-within,
  .home-product-card.is-card-hovered,
  .specialty-card:hover,
  .specialty-card:focus-within,
  .specialty-card.is-card-hovered,
  .premium-card.product-card:hover,
  .premium-card.product-card:focus-within,
  .premium-card.product-card.is-card-hovered,
  .premium-card.market-product-card:hover,
  .premium-card.market-product-card:focus-within,
  .premium-card.market-product-card.is-card-hovered,
  .premium-card.catalog-card:hover,
  .premium-card.catalog-card:focus-within,
  .premium-card.catalog-card.is-card-hovered,
  .product-card.catalog-card:hover,
  .product-card.catalog-card:focus-within,
  .product-card.catalog-card.is-card-hovered,
  .market-product-card.catalog-card:hover,
  .market-product-card.catalog-card:focus-within,
  .market-product-card.catalog-card.is-card-hovered,
  .card-hover-lift:hover,
  .card-hover-lift:focus-within,
  .card-hover-lift.is-card-hovered,
  .floating-product-card:hover,
  .floating-product-card:focus-within,
  .floating-product-card.is-card-hovered,
  .home-product-card:hover .product-photo,
  .home-product-card:focus-within .product-photo,
  .home-product-card.is-card-hovered .product-photo,
  .specialty-card:hover .specialty-image,
  .specialty-card:focus-within .specialty-image,
  .specialty-card.is-card-hovered .specialty-image,
  .card-hover-lift:hover .product-photo,
  .card-hover-lift:focus-within .product-photo,
  .card-hover-lift.is-card-hovered .product-photo,
  .floating-product-card:hover .product-photo,
  .floating-product-card:focus-within .product-photo,
  .floating-product-card.is-card-hovered .product-photo {
    transform: none !important;
  }
}

/* Premium corporate credibility section - Boardroom & Glassmorphism Style */
.corporate-credibility-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fffaf0;
  padding-block: clamp(80px, 10vw, 140px);
  background: #02120b;
}

.corporate-operation-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--corporate-image, none) center/cover no-repeat;
  opacity: 0.35;
  transform: scale(1.06);
  filter: saturate(0.9) contrast(0.95);
  animation: corporateOperationDrift 22s ease-in-out infinite alternate;
}

@keyframes corporateOperationDrift {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.10) translate3d(-1.4%, -1.2%, 0); }
}

.corporate-operation-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,18,11,.92) 0%, rgba(3,28,17,.75) 50%, rgba(2,18,11,.92) 100%),
    linear-gradient(180deg, rgba(2,18,11,.2) 0%, rgba(2,18,11,.8) 100%);
}

.corporate-glow-orb {
  position: absolute;
  top: 10%;
  left: 40%;
  width: 260px;
  height: 260px;
  z-index: 3;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), rgba(214, 169, 58, 0.15) 40%, transparent 70%);
  filter: blur(25px);
  opacity: 0.4;
  animation: corporateOrbFloat 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes corporateOrbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, 25px) scale(1.06); }
}

.corporate-glow-orb--secondary {
  top: auto;
  bottom: 15%;
  left: auto;
  right: 8%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 60% 60%, rgba(34, 197, 94, 0.28), rgba(214, 169, 58, 0.1) 50%, transparent 72%);
  filter: blur(30px);
  opacity: 0.32;
  animation: corporateOrbDrift 14s ease-in-out infinite alternate;
}

@keyframes corporateOrbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-25px, -35px) scale(0.96); }
}

.corporate-credibility-shell {
  position: relative;
  z-index: 5;
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.corporate-credibility-header {
  max-width: 820px;
}

.corporate-credibility-header h2 {
  margin: 12px 0 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.corporate-title-text {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.corporate-title-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #f4c542 0%, #ffd65a 50%, #d6a93a 100%);
  border-radius: 999px;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enabled .corporate-title-text::after {
  transform: scaleX(0);
}

.js-enabled .corporate-credibility-section.is-visible .corporate-title-text::after {
  transform: scaleX(1);
}

.corporate-credibility-header p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,250,240,.82);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.75;
}

.corporate-credibility-board {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.corporate-board-main,
.corporate-proof-item {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(244,197,66,.22);
  background: linear-gradient(135deg, rgba(2,14,9,.82), rgba(6,38,23,.72));
  box-shadow:
    0 28px 80px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.corporate-board-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 100%;
  padding: clamp(24px, 4vw, 36px);
}

.corporate-board-main::before,
.corporate-board-main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.corporate-board-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4c542, #d6a93a);
  color: #1f1a0d;
  font-size: .72rem;
  font-weight: 955;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.corporate-board-main h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 560px;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fffaf0;
  font-weight: 800;
}

.corporate-board-main p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0;
  color: rgba(255,250,240,.82);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.7;
}

.corporate-board-kpis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.corporate-board-kpi {
  padding: 16px 12px;
  border-radius: 20px;
  background: rgba(2,14,9,.66);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
  text-align: center;
}

.corporate-board-kpi:hover {
  transform: translateY(-3px);
  border-color: rgba(244,197,66,.45);
  background: rgba(2,14,9,.78);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 16px 26px rgba(0,0,0,.18);
}

.corporate-board-kpi strong {
  display: block;
  color: #f7d36b;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.corporate-board-kpi span {
  display: block;
  margin-top: 6px;
  color: rgba(255,250,240,.76);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.corporate-proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-content: start;
}

.corporate-proof-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(20px, 2.5vw, 24px);
  transition:
    transform 850ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 850ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color .35s ease,
    background .35s ease,
    box-shadow .35s ease;
}

.corporate-proof-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, rgba(244,197,66,.12), transparent 48%, rgba(34,197,94,.08));
  transition: opacity .35s ease;
  pointer-events: none;
}

.corporate-proof-item:hover {
  transform: translateY(-6px);
  border-color: rgba(244,197,66,.52);
  background: linear-gradient(135deg, rgba(5,32,20,.92), rgba(11,94,51,.52));
  box-shadow:
    0 28px 60px rgba(0,0,0,.45),
    0 0 24px rgba(244,197,66,.10),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.corporate-proof-item:hover::before {
  opacity: 1;
}

.corporate-proof-number {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd866, #dca82a);
  color: #1a1506;
  font-size: .82rem;
  font-weight: 955;
  box-shadow: 0 10px 22px rgba(0,0,0,.24);
}

.corporate-proof-item > div {
  position: relative;
  z-index: 1;
}

.corporate-proof-title {
  margin: 0 0 8px 0;
  color: #fffaf0;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  line-height: 1.3;
  font-weight: 800;
}

.corporate-proof-text {
  margin: 0;
  color: rgba(255,250,240,.76);
  font-size: .94rem;
  line-height: 1.6;
}

/* Scroll Animations config */
.js-enabled .corporate-credibility-section .reveal-fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .corporate-credibility-section .reveal-scale-soft {
  opacity: 0;
  clip-path: circle(0% at 50% 50%);
  transform: scale(0.96) translateY(25px);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .corporate-proof-item {
  opacity: 0;
  transform: translateX(30px) translateY(10px);
  transition:
    opacity 850ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 850ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color .35s ease,
    background .35s ease,
    box-shadow .35s ease;
}

.js-enabled .corporate-credibility-section.is-visible .reveal-fade-up,
.js-enabled .corporate-credibility-section.is-visible .reveal-scale-soft {
  opacity: 1;
  transform: none;
}

.js-enabled .corporate-credibility-section.is-visible .reveal-scale-soft {
  clip-path: circle(150% at 50% 50%);
}

.js-enabled .corporate-proof-item.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .corporate-credibility-board {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .corporate-proof-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .corporate-credibility-section {
    padding-block: clamp(48px, 8vw, 72px);
  }

  .corporate-credibility-header h2 {
    font-size: 2rem;
  }

  .corporate-board-main {
    padding: 24px;
    border-radius: 24px;
  }

  .corporate-board-kpis {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .corporate-proof-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .corporate-proof-item {
    border-radius: 22px;
    padding: 20px;
  }

  .corporate-operation-bg {
    opacity: .25;
    transform: scale(1.12);
  }
}

@media (max-width: 380px) {
  .corporate-credibility-header h2 {
    font-size: 1.65rem;
  }

  .corporate-credibility-header p {
    font-size: .92rem;
  }

  .corporate-proof-number {
    width: 36px;
    height: 36px;
    font-size: .72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .corporate-operation-bg,
  .corporate-operation-overlay,
  .corporate-glow-orb,
  .corporate-radial-wipe::before {
    animation: none !important;
  }

  .corporate-proof-item,
  .corporate-board-kpi {
    transition: none !important;
    transform: none !important;
  }

  .corporate-credibility-section .reveal-fade-up,
  .corporate-credibility-section .reveal-scale-soft {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .corporate-credibility-section .corporate-title-text::after {
    content: none !important;
    display: none !important;
    transition: none !important;
  }
}

/* Final image overlay reset: keep the photos, drop all decorative masks/labels. */
.photo-placeholder::before,
.photo-placeholder::after,
.product-photo::before,
.product-photo::after,
.product-card .product-art.product-photo::before,
.product-card .product-art.product-photo::after,
.gallery-placeholder::before,
.gallery-placeholder::after,
.page-hero-3d__image-card .photo-placeholder::before,
.page-hero-3d__image-card .photo-placeholder::after,
.page-hero-3d:not(.compact-hero) .page-hero-3d__image-card.hero-tilt-card::before,
.page-hero-3d:not(.compact-hero) .page-hero-3d__image-card.hero-tilt-card::after,
.page-hero-3d:not(.compact-hero) .page-hero-3d__image-card .photo-placeholder::after,
.home-product-card .product-photo::after,
.market-product-card .product-photo::after,
.specialty-card .specialty-image::after,
.gallery-main .product-photo::after,
.basket-image.product-photo::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  opacity: 0 !important;
}

.photo-placeholder,
.product-photo,
.product-card .product-art.product-photo,
.gallery-placeholder,
.page-hero-3d__image-card .photo-placeholder,
.specialty-image {
  background-blend-mode: normal !important;
}

/* Products and sustainability blended hero motion */
.page-hero-3d.hero-gradient-mesh.product-hero-bg,
.page-hero-3d.hero-gradient-mesh.products-hero-bg,
.page-hero-3d.hero-gradient-mesh.sustainability-hero-bg,
.page-hero-3d.hero-gradient-mesh.avocado-hero-bg {
  background:
    linear-gradient(135deg, rgba(3, 29, 19, .78), rgba(6, 59, 36, .70)),
    radial-gradient(circle at 16% 18%, rgba(214,169,58,.26), transparent 30%),
    radial-gradient(circle at 82% 76%, rgba(126, 211, 33, .16), transparent 30%),
    var(--hero-image, none),
    var(--hero-image-2, none),
    linear-gradient(135deg, #031d13, #063b24) !important;
  background-size: cover, 120% 120%, 120% 120%, 116% 116%, 118% 118%, cover !important;
  background-position: center, 10% 18%, 86% 76%, center left, center right, center !important;
  background-repeat: no-repeat !important;
  background-blend-mode: normal, screen, soft-light, overlay, screen, normal !important;
}

.page-hero-3d.hero-gradient-mesh.product-hero-bg--bp1 {
  background-size: cover, 120% 120%, 120% 120%, 124% 124%, 104% 104%, cover !important;
  background-position: center, 10% 18%, 86% 76%, center left, 72% center, center !important;
}

.page-hero-3d.hero-gradient-mesh.product-hero-bg--golden {
  background-size: cover, 120% 120%, 120% 120%, 104% 104%, 126% 126%, cover !important;
  background-position: center, 10% 18%, 86% 76%, 18% center, center right, center !important;
}

.product-hero-overlay,
.product-hero-motion,
.products-hero-bg-image {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.products-hero-bg-image {
  z-index: -2;
  opacity: .34;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  transform: scale(1.03);
  animation: productsHeroImageDrift 22s ease-in-out infinite alternate;
}

.product-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 24, 15, .72), rgba(2, 24, 15, .38) 52%, rgba(2, 24, 15, .62)),
    linear-gradient(180deg, rgba(2, 24, 15, .12), rgba(2, 24, 15, .78));
}

.product-hero-motion {
  z-index: -1;
  opacity: .68;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(255,255,255,.12) 42%, transparent 58% 100%),
    radial-gradient(circle at 28% 26%, rgba(214,169,58,.28), transparent 32%),
    radial-gradient(circle at 78% 72%, rgba(51, 163, 90, .30), transparent 34%);
  background-size: 180% 180%, 130% 130%, 140% 140%;
  mix-blend-mode: screen;
  animation: heroBlendedDrift 18s ease-in-out infinite alternate;
}

.sustainability-hero-bg .product-hero-motion {
  opacity: .58;
  background:
    linear-gradient(115deg, transparent 0 30%, rgba(255,255,255,.10) 46%, transparent 62% 100%),
    radial-gradient(circle at 24% 24%, rgba(167,243,208,.26), transparent 34%),
    radial-gradient(circle at 78% 74%, rgba(214,169,58,.18), transparent 34%);
}

.avocado-hero-bg .product-hero-motion,
.avocado-hero-motion {
  opacity: .60;
  background:
    linear-gradient(115deg, transparent 0 30%, rgba(255,255,255,.11) 46%, transparent 62% 100%),
    radial-gradient(circle at 24% 24%, rgba(167,243,208,.24), transparent 34%),
    radial-gradient(circle at 78% 74%, rgba(214,169,58,.20), transparent 34%);
}

.mesh-products {
  background-image:
    linear-gradient(160deg, rgba(6,59,36,.18), rgba(6,59,36,.46)),
    var(--image, none),
    var(--image-2, none),
    linear-gradient(145deg, #0b2d1f, #24a15a) !important;
  background-size: cover, cover, cover, cover !important;
  background-position: center, center left, center right, center !important;
  background-blend-mode: normal, overlay, screen, normal !important;
}

.mesh-avocado {
  background-image:
    linear-gradient(160deg, rgba(6,59,36,.18), rgba(6,59,36,.46)),
    var(--image, none),
    var(--image-2, none),
    linear-gradient(145deg, #153b1b, #4b8c53) !important;
  background-size: cover, cover, cover, cover !important;
  background-position: center, center, center right, center !important;
  background-blend-mode: normal, overlay, soft-light, normal !important;
}

@keyframes heroBlendedDrift {
  0% {
    transform: scale(1);
    background-position: 0% 40%, 20% 24%, 82% 76%;
  }
  100% {
    transform: scale(1.045);
    background-position: 100% 58%, 30% 18%, 70% 82%;
  }
}

@keyframes productsHeroImageDrift {
  0% {
    transform: scale(1.02) translate3d(-1.5%, 0, 0);
    background-position: 45% 50%;
  }
  100% {
    transform: scale(1.075) translate3d(1.5%, -1%, 0);
    background-position: 55% 48%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-hero-motion,
  .sustainability-hero-motion,
  .avocado-hero-motion,
  .products-hero-bg-image {
    animation: none !important;
    transform: none !important;
  }
}

.product-wizard-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-wizard-step {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #e8eadf;
  background: #FAF9F6;
  color: #5e6f64;
  font-size: .76rem;
  font-weight: 900;
}

.product-wizard-step span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #0B6B3A;
  border: 1px solid #e8eadf;
}

.product-wizard-step.active {
  background: #0B6B3A;
  border-color: #0B6B3A;
  color: #fff;
}

.product-wizard-step.active span {
  background: #D6A93A;
  border-color: #D6A93A;
  color: #1f1a0d;
}

.product-wizard-step.disabled {
  opacity: .55;
}

.product-wizard-form,
.product-wizard-panel {
  display: grid;
  gap: 18px;
}

.product-wizard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8eadf;
}

.product-wizard-header.compact {
  align-items: center;
  padding-bottom: 0;
  border-bottom: 0;
}

.product-wizard-grid,
.product-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.product-wizard-panel {
  padding: 18px;
  border: 1px solid #e8eadf;
  border-radius: 16px;
  background: #fff;
}

.product-wizard-panel h3,
.product-wizard-panel h4 {
  margin: 0;
  color: #10251a;
  font-weight: 950;
}

.workspace-field-group {
  display: grid;
  gap: 7px;
}

.workspace-field-group label,
.wizard-pricing-grid label,
.wizard-usd-fields label {
  color: #5e6f64;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.workspace-field-group label span {
  color: #dc2626;
  margin-left: 4px;
}

.workspace-field-group p,
.wizard-pricing-card p,
.wizard-snapshot-note {
  margin: 0;
  color: #5e6f64;
  font-size: .78rem;
  line-height: 1.45;
}

.field-error {
  color: #b91c1c !important;
  font-weight: 850;
}

.wizard-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.wizard-card-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.wizard-choice-card,
.wizard-package-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid #e8eadf;
  border-radius: 14px;
  background: #FAF9F6;
  cursor: pointer;
}

.wizard-choice-card:has(input:checked),
.wizard-package-card:has(input:checked) {
  border-color: #0B6B3A;
  background: #E8F5EE;
}

.wizard-choice-card strong,
.wizard-package-card strong {
  display: block;
  color: #10251a;
}

.wizard-choice-card small,
.wizard-package-card small {
  display: block;
  margin-top: 4px;
  color: #5e6f64;
  font-size: .76rem;
  line-height: 1.35;
}

.tier-pricing-cards {
  display: grid;
  gap: 14px;
}

.wizard-pricing-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e8eadf;
  border-radius: 14px;
  background: #fff;
}

.wizard-pricing-grid,
.wizard-usd-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.wizard-pricing-grid input,
.wizard-usd-fields input,
.wizard-usd-fields select {
  width: 100%;
}

.wizard-inline-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.wizard-usd-box {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #FAF9F6;
  border: 1px dashed #d9ddcf;
}

.wizard-info-panel,
.wizard-warning-panel {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: .86rem;
  font-weight: 800;
}

.wizard-info-panel {
  color: #0B6B3A;
  background: #E8F5EE;
  border: 1px solid #bfe6ce;
}

.wizard-warning-panel {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.product-wizard-actionbar {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(16,37,26,.10);
  border-radius: 16px;
  background: rgba(250,249,246,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(6,59,36,.12);
}

.wizard-image-preview,
.review-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.wizard-image-preview figure,
.review-image-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e8eadf;
  border-radius: 14px;
  background: #FAF9F6;
}

.wizard-image-preview img,
.review-image-grid img,
.wizard-existing-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.wizard-image-preview figcaption,
.review-image-grid figcaption {
  padding: 8px;
  color: #5e6f64;
  font-size: .72rem;
  font-weight: 800;
}

.wizard-existing-images {
  display: grid;
  gap: 10px;
}

.wizard-existing-images article {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e8eadf;
  border-radius: 14px;
}

.wizard-existing-images img {
  border-radius: 10px;
}

.wizard-review-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.wizard-review-list div {
  display: grid;
  gap: 4px;
}

.wizard-review-list dt {
  color: #5e6f64;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wizard-review-list dd {
  margin: 0;
  color: #10251a;
  line-height: 1.55;
}

.review-tier-group {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.wizard-review-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}

.wizard-review-table th,
.wizard-review-table td {
  padding: 10px;
  border-top: 1px solid #e8eadf;
  text-align: left;
}

.wizard-review-table th {
  color: #5e6f64;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hidden {
  display: none !important;
}

.desktop-only {
  display: none !important;
}
@media (min-width: 768px) {
  .desktop-only {
    display: block !important;
  }
}

.mobile-only {
  display: block !important;
}
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}


@media (min-width: 640px) {
  .sm\:inline {
    display: inline !important;
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block !important;
  }

  .md\:inline-flex {
    display: inline-flex !important;
  }

  .md\:hidden {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .product-wizard-stepper,
  .wizard-card-grid,
  .wizard-card-grid.two,
  .wizard-pricing-grid,
  .wizard-usd-fields {
    grid-template-columns: 1fr;
  }

  .product-wizard-header {
    display: grid;
  }

  .wizard-existing-images article {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .wizard-existing-images article .btn-secondary,
  .wizard-existing-images article .remove-link {
    grid-column: 1 / -1;
  }

  .product-wizard-actionbar {
    justify-content: stretch;
  }

  .product-wizard-actionbar > * {
    flex: 1 1 100%;
  }
}

.workspace-wizard {
  display: grid;
  gap: 18px;
  padding-bottom: 24px;
}

.workspace-wizard__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(232,245,238,.82));
  border: 1px solid rgba(16,37,26,.08);
  box-shadow: 0 18px 42px rgba(6,59,36,.08);
}

.workspace-wizard__eyebrow,
.wizard-card__kicker,
.wizard-summary-panel__eyebrow {
  margin: 0;
  color: #0B6B3A;
  font-size: .7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.workspace-wizard__header h2 {
  margin: 4px 0 6px;
  color: #10251a;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 950;
}

.workspace-wizard__header p {
  margin: 0;
  color: #5e6f64;
  line-height: 1.55;
}

.wizard-stepper-shell {
  position: relative;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(16,37,26,.08);
  box-shadow: 0 14px 34px rgba(6,59,36,.06);
}

.wizard-stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wizard-stepper::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 26px;
  height: 3px;
  background: #e8eadf;
  border-radius: 999px;
}

.wizard-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid #e8eadf;
  background: #fff;
  color: #5e6f64;
  box-shadow: 0 10px 24px rgba(6,59,36,.05);
}

.wizard-step__number {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: #FAF9F6;
  border: 1px solid #e8eadf;
  color: #0B6B3A;
  font-weight: 950;
}

.wizard-step__copy strong,
.wizard-step__copy small {
  display: block;
}

.wizard-step__copy strong {
  color: #10251a;
  font-size: .86rem;
}

.wizard-step__copy small {
  margin-top: 3px;
  font-size: .72rem;
  color: #5e6f64;
  line-height: 1.3;
}

.wizard-step--active {
  border-color: rgba(11,107,58,.38);
  background: linear-gradient(135deg, #0B6B3A, #052014);
}

.wizard-step--active .wizard-step__number {
  background: #D6A93A;
  border-color: #D6A93A;
  color: #1f1a0d;
}

.wizard-step--active .wizard-step__copy strong,
.wizard-step--active .wizard-step__copy small {
  color: #fff;
}

.wizard-step--complete .wizard-step__number {
  background: #E8F5EE;
  border-color: #bfe6ce;
}

.wizard-step--disabled {
  opacity: .58;
}

.workspace-wizard__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
}

.workspace-wizard__layout--review {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.workspace-wizard__main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.wizard-card,
.wizard-summary-panel {
  border-radius: 20px;
  border: 1px solid rgba(16,37,26,.09);
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 38px rgba(6,59,36,.07);
}

.wizard-card {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2vw, 24px);
}

.wizard-card__header,
.pricing-panel__header,
.review-tier-group__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.wizard-collapse-button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(6, 59, 36, .14);
  border-radius: 999px;
  color: var(--forest);
  background: rgba(255, 255, 255, .72);
  font-size: .76rem;
  font-weight: 900;
  cursor: pointer;
}

.wizard-collapse-button:hover,
.wizard-collapse-button:focus {
  border-color: rgba(15, 122, 58, .32);
  background: rgba(15, 122, 58, .08);
  outline: 0;
}

.wizard-card h3,
.wizard-card h4,
.wizard-summary-panel h3 {
  margin: 4px 0 0;
  color: #10251a;
  font-weight: 950;
}

.wizard-field-grid,
.pricing-panel__grid,
.wizard-usd-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wizard-field,
.pricing-panel__grid label,
.wizard-usd-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.wizard-field--wide {
  grid-column: 1 / -1;
}

.wizard-field label,
.pricing-panel__grid label,
.wizard-usd-fields label {
  color: #5e6f64;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wizard-field label span {
  color: #b91c1c;
  margin-left: 4px;
}

.workspace-wizard input[type="text"],
.workspace-wizard input[type="number"],
.workspace-wizard input[type="email"],
.workspace-wizard input[type="url"],
.workspace-wizard input[type="date"],
.workspace-wizard input[type="datetime-local"],
.workspace-wizard input[type="file"],
.workspace-wizard select,
.workspace-wizard textarea,
.pricing-builder input[type="text"],
.pricing-builder input[type="number"],
.pricing-builder select,
.pricing-builder textarea {
  width: 100%;
  min-height: 46px;
  padding: .75rem .9rem;
  border: 1.5px solid rgba(15, 82, 50, 0.28);
  border-radius: .85rem;
  background: #fff;
  color: #0b2f1f;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.65);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.workspace-wizard textarea,
.pricing-builder textarea {
  min-height: 118px;
  resize: vertical;
}

.workspace-wizard input[type="file"] {
  min-height: 50px;
  cursor: pointer;
}

.workspace-wizard input[type="file"]::file-selector-button {
  margin-right: 12px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #0B6B3A;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
}

.workspace-wizard input[type="text"]:focus,
.workspace-wizard input[type="number"]:focus,
.workspace-wizard input[type="email"]:focus,
.workspace-wizard input[type="url"]:focus,
.workspace-wizard input[type="date"]:focus,
.workspace-wizard input[type="datetime-local"]:focus,
.workspace-wizard input[type="file"]:focus,
.workspace-wizard select:focus,
.workspace-wizard textarea:focus,
.pricing-builder input[type="text"]:focus,
.pricing-builder input[type="number"]:focus,
.pricing-builder select:focus,
.pricing-builder textarea:focus {
  border-color: rgba(11,107,58,.86);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04), 0 0 0 4px rgba(11,107,58,.13);
}

.workspace-wizard input::placeholder,
.workspace-wizard textarea::placeholder,
.pricing-builder input::placeholder,
.pricing-builder textarea::placeholder {
  color: rgba(94,111,100,.72);
  font-weight: 650;
}

.workspace-wizard input:disabled,
.workspace-wizard select:disabled,
.workspace-wizard textarea:disabled,
.workspace-wizard input[readonly],
.workspace-wizard textarea[readonly],
.pricing-builder input:disabled,
.pricing-builder select:disabled,
.pricing-builder textarea:disabled,
.pricing-builder input[readonly],
.pricing-builder textarea[readonly] {
  color: rgba(16,37,26,.62);
  border-color: rgba(16,37,26,.12);
  background: #f3f5ef;
  cursor: not-allowed;
}

.wizard-help {
  margin: 0;
  color: #5e6f64;
  font-size: .78rem;
  line-height: 1.4;
}

.field-error-inline {
  display: block;
  color: #b91c1c;
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.35;
}

.wizard-alert {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: .86rem;
  font-weight: 800;
}

.wizard-alert p,
.wizard-alert span {
  margin: 0;
  line-height: 1.45;
}

.wizard-alert--error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.wizard-alert--warning {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.wizard-alert--success {
  color: #0B6B3A;
  background: #E8F5EE;
  border: 1px solid #bfe6ce;
}

.sales-channel-grid,
.package-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 14px;
}

.sales-channel-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.sales-channel-card,
.package-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  min-height: 104px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e8eadf;
  background: linear-gradient(145deg, #fff, #FAF9F6);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.sales-channel-card {
  display: flex;
  min-width: 0;
  min-height: 150px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}

.sales-channel-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sales-channel-card__content,
.sales-channel-card__body {
  flex: 1 1 0%;
  min-width: 0;
}

.sales-channel-card__footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(16,37,26,.12);
}

.sales-channel-card:hover,
.package-card:hover,
.sales-channel-card:focus-within,
.package-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(11,107,58,.34);
  box-shadow: 0 16px 34px rgba(6,59,36,.10);
}

.sales-channel-card--selected,
.package-card--selected,
.sales-channel-card:has(input:checked),
.package-card:has(input:checked) {
  border-color: #0B6B3A;
  background: linear-gradient(145deg, #E8F5EE, #fff);
}

.sales-channel-card input,
.package-card input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: #0B6B3A;
  cursor: pointer;
  filter: drop-shadow(0 1px 1px rgba(6,59,36,.12));
}

.sales-channel-card__checkbox {
  flex: 0 0 auto;
}

.sales-channel-card__icon {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #1f1a0d;
  background: linear-gradient(135deg, #f4c542, #D6A93A);
  font-size: .72rem;
  font-weight: 950;
}

.sales-channel-card__content strong,
.sales-channel-card__body strong,
.package-card__body strong {
  display: block;
  color: #10251a;
  font-weight: 950;
  line-height: 1.25;
  word-break: break-word;
}

.sales-channel-card__content small,
.sales-channel-card__body small,
.package-card__body small,
.package-card__body em {
  display: block;
  margin-top: 4px;
  color: #5e6f64;
  font-size: .76rem;
  font-style: normal;
  line-height: 1.4;
  word-break: break-word;
}

.sales-channel-card__meta,
.sales-channel-card__count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(11,107,58,.08);
  color: #0B6B3A;
  font-size: .7rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: normal;
}

.sales-channel-card__status {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.package-card {
  grid-template-columns: auto 1fr auto;
}

.package-card__check {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  background: #E8F5EE;
  color: #0B6B3A;
  font-size: .65rem;
  font-weight: 950;
  text-transform: uppercase;
}

.price-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(16,37,26,.07);
  color: #5e6f64;
  font-size: .66rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

.price-status-badge--ready,
.is-ready > .price-status-badge,
.sales-channel-card.is-ready [data-channel-status],
.package-card.is-ready [data-package-status],
.pricing-panel.is-ready [data-panel-status] {
  background: #E8F5EE;
  color: #0B6B3A;
}

.price-status-badge--draft {
  background: #FAF7EF;
  color: #8a6410;
}

.is-error [data-channel-status],
.is-error [data-package-status],
.is-error [data-panel-status] {
  background: #fef2f2;
  color: #b91c1c;
}

.tier-builder-body,
.tier-pricing-cards {
  display: grid;
  gap: 16px;
}

.selected-pricing-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(11,107,58,.18);
  background: linear-gradient(135deg, #E8F5EE, #fff);
}

.selected-pricing-header h4 {
  margin: 3px 0 0;
  color: #10251a;
  font-size: 1rem;
  font-weight: 950;
}

.selected-pricing-header > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #0B6B3A;
  background: #fff;
  border: 1px solid rgba(11,107,58,.18);
  font-size: .76rem;
  font-weight: 950;
  white-space: nowrap;
}

.tier-level-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tier-level-summary span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: #FAF9F6;
  border: 1px solid #e8eadf;
  color: #5e6f64;
  font-size: .76rem;
  font-weight: 850;
}

.pricing-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 18px;
  border: 1.5px solid rgba(16,37,26,.12);
  background: linear-gradient(145deg, #fff, #f8fbf6);
  box-shadow: 0 12px 28px rgba(6,59,36,.06);
}

.pricing-panel:focus-within {
  border-color: rgba(11,107,58,.38);
  box-shadow: 0 18px 38px rgba(6,59,36,.10);
}

.pricing-panel__header p {
  margin: 6px 0 0;
  color: #5e6f64;
  font-size: .82rem;
  line-height: 1.45;
}

.pricing-panel__usd {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1.5px dashed rgba(15,82,50,.24);
  background: #fff;
}

.pricing-panel__usd--selected {
  border-style: solid;
  border-color: rgba(11,107,58,.38);
  background: #f7fcf9;
}

.wizard-inline-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: #10251a !important;
  font-size: .82rem !important;
  font-weight: 850 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.wizard-inline-check input {
  width: 20px;
  height: 20px;
  accent-color: #0B6B3A;
  cursor: pointer;
}

.wizard-summary-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.wizard-summary-panel--sticky {
  position: sticky;
  top: 92px;
}

.wizard-summary-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wizard-summary-metrics div {
  padding: 12px;
  border-radius: 16px;
  background: #FAF9F6;
  border: 1px solid #e8eadf;
}

.wizard-summary-metrics strong {
  display: block;
  color: #0B6B3A;
  font-size: 1.35rem;
  line-height: 1;
}

.wizard-summary-metrics span {
  display: block;
  margin-top: 4px;
  color: #5e6f64;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wizard-summary-lines {
  display: grid;
  gap: 10px;
}

.wizard-summary-line {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8eadf;
}

.wizard-summary-line strong {
  color: #10251a;
}

.wizard-summary-line small {
  color: #5e6f64;
  line-height: 1.4;
}

.wizard-summary-status {
  padding: 12px;
  border-radius: 16px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: .82rem;
  font-weight: 900;
}

.wizard-summary-status--ready {
  color: #0B6B3A;
  background: #E8F5EE;
  border-color: #bfe6ce;
}

.wizard-summary-status--warning {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}

.wizard-action-bar {
  position: static;
  z-index: 30;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(16,37,26,.14);
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 34px rgba(6,59,36,.10);
}

.wizard-action-bar .btn-primary:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.wizard-upload-zone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 160px;
  padding: 22px;
  border: 1px dashed rgba(11,107,58,.35);
  border-radius: 18px;
  background: linear-gradient(145deg, #FAF9F6, #E8F5EE);
  text-align: center;
  cursor: pointer;
}

.wizard-upload-zone input {
  max-width: 100%;
}

.wizard-upload-zone__icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: #0B6B3A;
  color: #fff;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.wizard-product-preview {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e8eadf;
  background: #fff;
}

.wizard-product-preview__image {
  display: grid;
  min-height: 180px;
  place-items: center;
  background: linear-gradient(135deg, #0B6B3A, #052014);
  color: #D6A93A;
  font-size: 3rem;
  font-weight: 950;
}

.wizard-product-preview__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.wizard-product-preview__body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.wizard-product-preview__body h3,
.review-preview-card__body h3 {
  margin: 0;
  color: #10251a;
  font-weight: 950;
}

.wizard-product-preview__body p,
.review-preview-card__body p {
  margin: 0;
  color: #5e6f64;
  line-height: 1.55;
}

.wizard-preview-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wizard-preview-badges span {
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #E8F5EE;
  color: #0B6B3A;
  font-size: .72rem;
  font-weight: 900;
}

.wizard-summary-checklist {
  display: grid;
  gap: 8px;
}

.wizard-summary-checklist p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #FAF9F6;
  color: #5e6f64;
  font-size: .82rem;
  font-weight: 850;
}

.wizard-summary-checklist p.is-complete {
  background: #E8F5EE;
  color: #0B6B3A;
}

.review-preview-card {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.review-preview-card__media {
  display: grid;
  min-height: 220px;
  place-items: center;
  background: linear-gradient(135deg, #0B6B3A, #052014);
  color: #D6A93A;
  font-size: 3rem;
  font-weight: 950;
}

.review-preview-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-preview-card__body {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
}

.review-preview-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wizard-empty-note {
  padding: 18px;
  border-radius: 16px;
  background: #FAF9F6;
  border: 1px dashed #d9ddcf;
  color: #5e6f64;
  font-weight: 850;
}

@media (max-width: 1180px) {
  .workspace-wizard__layout,
  .workspace-wizard__layout--review {
    grid-template-columns: minmax(0, 1fr);
  }

  .wizard-summary-panel--sticky {
    position: static;
  }
}

@media (max-width: 760px) {
  .workspace-wizard__header,
  .wizard-card__header,
  .pricing-panel__header,
  .review-tier-group__header {
    display: grid;
  }

  .wizard-stepper {
    grid-template-columns: 1fr;
  }

  .wizard-stepper::before {
    left: 33px;
    right: auto;
    top: 34px;
    bottom: 34px;
    width: 3px;
    height: auto;
  }

  .wizard-field-grid,
  .pricing-panel__grid,
  .wizard-usd-fields,
  .sales-channel-grid,
  .sales-channel-grid--two,
  .package-card-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .package-card .price-status-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .sales-channel-card {
    min-height: 0;
  }



  .sales-channel-card__footer {
    align-items: stretch;
  }

  .sales-channel-card__status,
  .sales-channel-card__count {
    flex: 1 1 140px;
    justify-content: center;
  }

  .review-preview-card {
    grid-template-columns: 1fr;
  }

  .wizard-action-bar {
    position: static;
    display: grid;
  }

  .message-stack {
    top: auto;
    right: 14px;
    bottom: 14px;
  }
}

/* Compact package listing cards: public products and marketplace previews. */
.package-listing-grid,
.marketplace-grid {
  display: grid;
  grid-template-columns: minmax(0, min(100%, 260px)) !important;
  gap: 1rem !important;
  justify-content: center;
  align-items: stretch;
}

.package-listing-card.home-product-card,
.premium-card.package-listing-card,
.premium-card.market-product-card.package-listing-card,
.market-product-card.catalog-card.package-listing-card {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  height: 100%;
  padding: .68rem !important;
  border-radius: 16px !important;
  min-height: 0 !important;
  contain-intrinsic-size: 292px !important;
}

.package-listing-card .product-photo,
.package-listing-card__image,
.package-card-image,
.premium-card.package-listing-card .product-photo,
.market-product-card.catalog-card.package-listing-card .product-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  height: auto !important;
  max-height: 140px;
  min-height: 0 !important;
  margin: 0 !important;
  border-radius: 12px !important;
}

.package-listing-card__image::after,
.package-listing-card .product-photo::after {
  display: none !important;
}

.package-listing-card__image img,
.package-listing-card .product-photo > img,
.package-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-listing-card .package-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin: .05rem 0 0;
}

.package-listing-card h3,
.market-product-card.package-listing-card h3 {
  min-width: 0;
  margin: 0 !important;
  font-size: .96rem !important;
  line-height: 1.16;
}

.package-listing-card h3 a {
  display: block;
  color: var(--forest);
  overflow-wrap: anywhere;
}

.package-listing-card .package-size-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: .12rem .42rem;
  border-radius: 999px;
  background: rgba(15,122,58,.1);
  color: var(--forest);
  font-size: .74rem;
  font-weight: 950;
  white-space: nowrap;
}

.package-listing-card .card-description,
.package-listing-card .package-card-description,
.package-listing-card .description-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0 !important;
  margin: 0 !important;
  color: #5e6f64;
  font-size: .78rem;
  line-height: 1.35;
}

.package-listing-card .package-price-list {
  gap: .28rem;
  margin: .04rem 0 0;
}

.package-listing-card .price-row {
  min-height: 0;
  padding: .32rem .46rem;
  border-radius: 8px;
  font-size: .74rem;
}

.package-listing-card .package-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
}

.package-listing-card .buyer-type-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: .1rem .38rem;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(15,122,58,.08);
  border: 1px solid rgba(15,122,58,.12);
  font-size: .68rem;
  font-weight: 950;
}

.package-listing-card .package-card-price-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.package-listing-card .more-price-options {
  color: #5e6f64;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.2;
}

.package-listing-card .compact-card-status {
  display: grid;
  justify-items: start;
  gap: .22rem;
  margin: 0 !important;
}

.package-listing-card .compact-card-status span:not(.availability-badge),
.package-listing-card .package-minimum {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5e6f64;
  font-size: .72rem;
  font-weight: 900;
}

.package-listing-card .availability-badge {
  min-height: 22px;
  padding: .18rem .48rem;
  font-size: .68rem;
}

.package-listing-card .package-card-actions,
.package-listing-card .card-actions {
  gap: .5rem;
  margin-top: auto !important;
  padding-top: .4rem !important;
  border-top: 1px solid rgba(16,37,26,.08);
}

.package-listing-card .package-card-form {
  display: flex;
  flex-direction: column;
  gap: .36rem;
  margin-top: auto;
  padding-top: .08rem;
}

.package-listing-card .package-card-form label {
  gap: .25rem;
  font-size: .7rem;
}

.package-listing-card .package-card-form select,
.package-listing-card .package-card-form input {
  min-height: 34px;
  border-radius: 8px;
  padding: .34rem .48rem;
  font-size: .78rem;
}

.package-listing-card .package-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.package-listing-card .card-actions .btn-primary,
.package-listing-card .card-actions .btn-secondary {
  min-height: 34px;
  padding: .48rem .7rem;
  font-size: .76rem;
}

.package-listing-card .package-card-actions .btn-primary {
  flex: 1 1 auto;
  width: auto;
}

.package-listing-card .package-card-actions .btn-secondary {
  flex: 0 0 auto;
}

.marketplace-grid + .public-package-category-heading {
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}

.public-package-category-heading {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .package-listing-grid,
  .marketplace-grid {
    grid-template-columns: repeat(2, minmax(220px, 260px)) !important;
  }
}

@media (min-width: 1024px) {
  .package-listing-grid,
  .marketplace-grid {
    grid-template-columns: repeat(3, minmax(220px, 260px)) !important;
  }
}

@media (min-width: 1280px) {
  .package-listing-grid,
  .marketplace-grid {
    grid-template-columns: repeat(4, minmax(220px, 260px)) !important;
  }
}

@media (max-width: 520px) {
  .package-listing-card .product-photo,
  .package-listing-card__image {
    max-height: 168px;
  }
}

/* Modern product/package detail page. */
.product-detail-redesign {
  background:
    radial-gradient(circle at 84% 6%, rgba(214,169,58,.16), transparent 24%),
    linear-gradient(180deg, #fbf8ef 0%, #f2ead7 100%);
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
}

.detail-gallery-panel,
.detail-quote-panel,
.detail-info-card {
  border: 1px solid rgba(16,37,26,.08);
  background: rgba(255,255,255,.84);
  box-shadow: 0 24px 72px rgba(6,59,36,.12);
  backdrop-filter: blur(16px);
}

.detail-gallery-panel {
  padding: clamp(.75rem, 2vw, 1rem);
  border-radius: 24px;
}

.detail-gallery-main {
  aspect-ratio: 4 / 3;
  max-height: 460px;
  overflow: hidden;
  border-radius: 20px;
  background: #173a27;
}

.detail-gallery-main img,
.detail-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-gallery-thumbs {
  display: flex;
  gap: .6rem;
  margin-top: .75rem;
  overflow-x: auto;
  padding-bottom: .25rem;
}

.detail-thumb {
  flex: 0 0 82px;
  width: 82px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  cursor: pointer;
}

.detail-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214,169,58,.18);
}

.detail-highlight-strip,
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .8rem;
}

.detail-highlight-strip span,
.detail-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(15,122,58,.09);
  color: var(--forest);
  font-size: .72rem;
  font-weight: 900;
}

.detail-quote-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border-radius: 22px;
}

.detail-panel-header {
  display: grid;
  gap: .55rem;
}

.detail-panel-header h1 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.05;
  font-weight: 950;
}

.detail-selected-package {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .75rem;
  border-radius: 14px;
  background: rgba(250,247,239,.88);
  border: 1px solid rgba(16,37,26,.08);
}

.detail-selected-package span {
  color: #5e6f64;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-selected-package strong {
  color: var(--forest);
  font-size: 1.08rem;
}

.detail-price-stack {
  display: grid;
  gap: .55rem;
}

.detail-price-row,
.detail-subtotal-panel,
.detail-package-note {
  display: grid;
  gap: .22rem;
  padding: .7rem .75rem;
  border-radius: 14px;
  border: 1px solid rgba(16,37,26,.08);
  background: #fff;
}

.detail-price-row span,
.detail-subtotal-panel span {
  color: #5e6f64;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-price-row strong,
.detail-subtotal-panel strong {
  color: var(--forest);
  font-size: 1rem;
  font-weight: 950;
}

.detail-price-row small,
.detail-subtotal-panel small,
.detail-package-note small {
  color: #5e6f64;
  font-size: .76rem;
  font-weight: 800;
}

.modern-quote-form {
  gap: .8rem;
}

.modern-quote-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .55rem;
}

.modern-quote-modes label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .5rem;
  align-items: start;
  padding: .65rem;
  border: 1px solid rgba(16,37,26,.1);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.modern-quote-modes strong {
  display: block;
  color: var(--forest);
  font-size: .84rem;
}

.modern-quote-modes small {
  color: #5e6f64;
  font-size: .72rem;
  line-height: 1.25;
}

.detail-package-note {
  color: #5e6f64;
  font-size: .8rem;
  line-height: 1.45;
  background: rgba(250,247,239,.76);
}

.detail-package-note strong {
  color: var(--forest);
}

.detail-negotiable-fields {
  display: none;
  gap: .65rem;
  padding: .75rem;
  border-radius: 14px;
  border: 1px solid rgba(214,169,58,.24);
  background: rgba(255,248,224,.64);
}

.detail-negotiable-fields textarea {
  width: 100%;
  min-height: 86px;
  border: 1px solid rgba(6,59,36,.14);
  border-radius: 12px;
  padding: .65rem .75rem;
  resize: vertical;
  font-weight: 800;
}

.detail-panel-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .65rem;
}

.detail-panel-actions .btn-primary,
.detail-panel-actions .btn-secondary {
  min-height: 42px;
}

.detail-info-redesign {
  padding-top: 2rem;
}

.detail-info-grid,
.detail-below-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-below-grid {
  margin-top: 1rem;
}

.detail-info-card {
  border-radius: 20px;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.detail-info-card h2 {
  margin: .15rem 0 .6rem;
  color: var(--forest);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 950;
}

.detail-lead {
  color: var(--forest);
  font-weight: 850;
}

.detail-spec-list {
  display: grid;
  gap: .55rem;
  margin: 0 0 .8rem;
}

.detail-spec-list div {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(16,37,26,.08);
}

.detail-spec-list dt {
  color: #5e6f64;
  font-size: .78rem;
  font-weight: 900;
}

.detail-spec-list dd {
  margin: 0;
  color: var(--forest);
  font-weight: 900;
  text-align: right;
}

.detail-pricing-card {
  grid-column: 1 / -1;
}

.detail-table-wrap {
  overflow-x: auto;
}

.detail-pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: .86rem;
}

.detail-pricing-table th,
.detail-pricing-table td {
  padding: .72rem;
  border-bottom: 1px solid rgba(16,37,26,.08);
  text-align: left;
}

.detail-pricing-table th {
  color: #5e6f64;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.detail-pricing-table td {
  color: var(--forest);
  font-weight: 850;
}

.detail-package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .7rem;
}

.detail-package-card {
  display: grid;
  gap: .2rem;
  padding: .75rem;
  border: 1px solid rgba(16,37,26,.08);
  border-radius: 14px;
  background: #fff;
  color: var(--forest);
}

.detail-package-card.active {
  border-color: rgba(214,169,58,.7);
  box-shadow: 0 0 0 3px rgba(214,169,58,.16);
}

.detail-package-card strong {
  font-size: 1rem;
}

.detail-package-card span,
.detail-package-card small {
  color: #5e6f64;
  font-size: .75rem;
  font-weight: 850;
}

@media (max-width: 1080px) {
  .detail-shell,
  .detail-info-grid,
  .detail-below-grid {
    grid-template-columns: 1fr;
  }

  .detail-quote-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .detail-gallery-panel,
  .detail-quote-panel,
  .detail-info-card {
    border-radius: 16px;
  }

  .detail-gallery-main {
    max-height: 330px;
    border-radius: 14px;
  }

  .detail-panel-actions {
    grid-template-columns: 1fr;
  }

  .detail-pricing-table {
    min-width: 560px;
  }
}
