/* LAN Export v7.2 public theme engine.
   Theme variables are injected by includes/header.php and mapped back to the
   legacy v1-v6 color variables so old sections change together with new ones. */
:root{
  --theme-primary:#173b2b;--theme-accent:#b89236;--theme-surface:#fff;
  --theme-text:#17211c;--theme-muted:#6f7873;--theme-radius:6px;
  --theme-heading:Georgia,serif;--theme-body:Inter,Arial,sans-serif;
  --theme-card:var(--theme-surface);
  --theme-alt:color-mix(in srgb,var(--theme-surface) 94%,var(--theme-primary) 6%);
  --theme-line:color-mix(in srgb,var(--theme-text) 14%,var(--theme-surface));
  --theme-shadow:0 16px 44px color-mix(in srgb,var(--theme-primary) 11%,transparent);
}
body{font-family:var(--theme-body);background:var(--theme-surface);color:var(--theme-text);transition:background-color .2s,color .2s}
h1,h2,h3,h4,.hero-copy h1,.home-slide-copy h1,.section-title,.product-title,.section-heading-row h2,.catalog-hero h1,.product-detail-copy h1{font-family:var(--theme-heading)}
.site-header{background:color-mix(in srgb,var(--theme-surface) 97%,transparent)!important;border-color:var(--theme-line)!important}
.utilitybar,.footer,.export-process-strip,.export-process{background:color-mix(in srgb,var(--theme-primary) 82%,#000)!important}
.brand b,.mainnav>a:not(.btn),.language-switcher summary{color:var(--theme-text)!important}.brand small{color:var(--theme-muted)!important}
.mainnav>a.active,.mainnav>a:hover,.text-link,.arrow-link,.catalog-copy>small,.eyebrow,.section-kicker,.gold-text{color:var(--theme-accent)!important}
.mainnav>a:not(.btn):after,.slider-progress span{background:var(--theme-accent)!important}
.btn,.product-card,.home-product-card,.catalog-card,.quote-card,.panel,.language-menu,.video-card,.download-card,.calculator-card,.packaging-public-grid article,.export-port-card,.oem-feature-grid,.product-thumb,.market-tags span{border-radius:var(--theme-radius)!important}
.btn-gold,.btn-primary,.hero-slider .btn-gold,.footer-quote{background:var(--theme-accent)!important;border-color:var(--theme-accent)!important;color:#fff!important}
.btn-green{background:var(--theme-primary)!important;border-color:var(--theme-primary)!important;color:#fff!important}
.btn-outline{background:var(--theme-card)!important;border-color:var(--theme-line)!important;color:var(--theme-text)!important}
.feature-rail,.home-section,.catalog-section,.product-detail-section,.section-white{background:var(--theme-surface)!important}
.catalog-hero,.soft-section,.export-feature,.calculator-section{background:var(--theme-alt)!important;border-color:var(--theme-line)!important}
.home-product-card,.catalog-card,.video-card,.download-card,.calculator-card,.packaging-public-grid article,.export-port-card,.oem-feature-grid,.quote-card,.public-empty,.language-menu,.export-facts>div{background:var(--theme-card)!important;border-color:var(--theme-line)!important;color:var(--theme-text)!important}
.product-card-copy p,.catalog-copy p,.video-copy p,.download-card p,.oem-feature-grid p,.export-feature-copy>p,.catalog-hero p,.rail-item small,.product-downloads>a small{color:var(--theme-muted)!important}
.rail-item,.export-facts,.export-facts>div,.catalog-meta,.catalog-meta span+span,.product-downloads>a,.market-columns>div{border-color:var(--theme-line)!important}
.rail-item>span{background:color-mix(in srgb,var(--theme-accent) 16%,var(--theme-surface))!important;color:var(--theme-accent)!important}
input,select,textarea{border-color:var(--theme-line)}
.language-menu a:hover,.language-menu a.active{background:var(--theme-alt)!important}
.quote-band{background:color-mix(in srgb,var(--theme-primary) 72%,#000)!important;border-color:color-mix(in srgb,var(--theme-primary) 60%,#000)!important}
.quote-band h2,.quote-band p,.export-process-strip,.export-process-strip h2{color:#fff}
.home-slider,.home-slide{background:color-mix(in srgb,var(--theme-primary) 82%,#000)!important}
.home-slide:after{background:linear-gradient(90deg,color-mix(in srgb,var(--theme-primary) 87%,#000) 0%,color-mix(in srgb,var(--theme-primary) 73%,transparent) 38%,rgba(0,0,0,.18) 72%,rgba(0,0,0,.05) 100%)!important}
.slider-dot.active{background:var(--theme-accent)!important}

/* Export Classic — restrained, traditional export company styling. */
body.theme-export-classic .home-product-card,
body.theme-export-classic .catalog-card{box-shadow:none}

/* Modern Industrial — stronger geometry, sans headings and orange accent. */
body.theme-modern-industrial{--theme-shadow:0 12px 30px rgba(18,22,25,.08)}
body.theme-modern-industrial h1,body.theme-modern-industrial h2,body.theme-modern-industrial h3,body.theme-modern-industrial h4{font-weight:700;letter-spacing:-.025em}
body.theme-modern-industrial .site-header{border-bottom:3px solid var(--theme-accent)!important}
body.theme-modern-industrial .home-product-card,body.theme-modern-industrial .catalog-card,body.theme-modern-industrial .video-card,body.theme-modern-industrial .download-card{box-shadow:var(--theme-shadow);border-width:0 0 3px!important;border-bottom-color:var(--theme-accent)!important}
body.theme-modern-industrial .rail-item>span{border-radius:3px!important}
body.theme-modern-industrial .home-slide:after{background:linear-gradient(90deg,rgba(19,23,26,.93),rgba(19,23,26,.66) 50%,rgba(210,106,46,.13) 100%)!important}

/* Natural Eco — warm paper, softer radius and calmer cards. */
body.theme-natural-eco{--theme-card:#fffef9;--theme-shadow:0 16px 36px rgba(49,95,57,.08)}
body.theme-natural-eco .home-product-card,body.theme-natural-eco .catalog-card,body.theme-natural-eco .video-card,body.theme-natural-eco .download-card,body.theme-natural-eco .calculator-card{box-shadow:var(--theme-shadow)}
body.theme-natural-eco .home-section:nth-of-type(even){background:color-mix(in srgb,var(--theme-surface) 88%,#e9dfc8 12%)!important}
body.theme-natural-eco .home-slide:after{background:linear-gradient(90deg,rgba(32,66,38,.91),rgba(32,66,38,.64) 47%,rgba(68,92,50,.16) 100%)!important}

/* Corporate Blue — crisp B2B styling. */
body.theme-corporate-blue{--theme-shadow:0 14px 36px rgba(18,54,83,.09)}
body.theme-corporate-blue .site-header{box-shadow:0 5px 24px rgba(18,54,83,.07)}
body.theme-corporate-blue .home-product-card,body.theme-corporate-blue .catalog-card{box-shadow:var(--theme-shadow)}
body.theme-corporate-blue .eyebrow,body.theme-corporate-blue .catalog-copy>small{letter-spacing:.16em}
body.theme-corporate-blue .home-slide:after{background:linear-gradient(90deg,rgba(12,39,60,.94),rgba(18,54,83,.68) 47%,rgba(18,54,83,.14) 100%)!important}

/* Premium Dark — genuinely dark across every public section, not just header/cards. */
body.theme-premium-dark{--theme-card:color-mix(in srgb,var(--theme-surface) 88%,#fff 12%);--theme-alt:color-mix(in srgb,var(--theme-surface) 88%,#000 12%);--theme-line:color-mix(in srgb,var(--theme-text) 17%,var(--theme-surface));--theme-shadow:0 16px 42px rgba(0,0,0,.28);background:var(--theme-surface)!important;color:var(--theme-text)!important;color-scheme:dark}
body.theme-premium-dark .site-header,body.theme-premium-dark .feature-rail,body.theme-premium-dark .home-section,body.theme-premium-dark .catalog-section,body.theme-premium-dark .product-detail-section,body.theme-premium-dark .section-white{background:var(--theme-surface)!important;border-color:var(--theme-line)!important}
body.theme-premium-dark .catalog-hero,body.theme-premium-dark .soft-section,body.theme-premium-dark .export-feature,body.theme-premium-dark .calculator-section{background:var(--theme-alt)!important}
body.theme-premium-dark .home-product-card,body.theme-premium-dark .catalog-card,body.theme-premium-dark .video-card,body.theme-premium-dark .download-card,body.theme-premium-dark .calculator-card,body.theme-premium-dark .packaging-public-grid article,body.theme-premium-dark .export-port-card,body.theme-premium-dark .oem-feature-grid,body.theme-premium-dark .quote-card,body.theme-premium-dark .public-empty,body.theme-premium-dark .language-menu,body.theme-premium-dark .export-facts>div{background:var(--theme-card)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important;box-shadow:var(--theme-shadow)}
body.theme-premium-dark .brand b,body.theme-premium-dark .brand small,body.theme-premium-dark .mainnav>a:not(.btn),body.theme-premium-dark .language-switcher summary,body.theme-premium-dark h1,body.theme-premium-dark h2,body.theme-premium-dark h3,body.theme-premium-dark h4,body.theme-premium-dark .catalog-meta b{color:var(--theme-text)!important}
body.theme-premium-dark .product-card-copy p,body.theme-premium-dark .catalog-copy p,body.theme-premium-dark .catalog-hero p,body.theme-premium-dark .export-feature-copy>p,body.theme-premium-dark .rail-item small,body.theme-premium-dark .video-copy p,body.theme-premium-dark .download-card p,body.theme-premium-dark .oem-feature-grid p{color:var(--theme-muted)!important}
body.theme-premium-dark input,body.theme-premium-dark select,body.theme-premium-dark textarea{background:color-mix(in srgb,var(--theme-surface) 92%,#000 8%)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
body.theme-premium-dark .btn-outline{background:var(--theme-card)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
body.theme-premium-dark .mainnav{background:var(--theme-surface)}
body.theme-premium-dark .market-tags span{background:#1d2b22!important;color:#eae7de!important;border-color:#3a493f!important}
body.theme-premium-dark .market-tags.available span{background:#2b2415!important;border-color:#5a4825!important}

@media(max-width:1100px){
  .mainnav{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
  body.theme-premium-dark .mainnav{background:var(--theme-surface)!important}
  .mainnav>a:not(.btn){border-color:var(--theme-line)!important}
  .mainnav .language-switcher summary{background:var(--theme-alt)!important;border-color:var(--theme-line)!important}
}
@media(max-width:700px){.home-slide:after{background:linear-gradient(180deg,rgba(0,0,0,.30),color-mix(in srgb,var(--theme-primary) 80%,#000) 100%)!important}}
