/* Terry.ism v31 — gallery-grade navigation and bilingual controls */

.app-header{
  position:sticky!important;
  top:0;
  z-index:80!important;
  border:0!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 1px 0 rgba(24,29,36,.09),0 8px 28px rgba(24,29,36,.035)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.12);
  backdrop-filter:blur(18px) saturate(1.12);
}
.app-header::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-1px;
  left:0;
  height:1px;
  background:linear-gradient(90deg,transparent 0%,rgba(203,102,54,.42) 16%,rgba(31,37,45,.1) 46%,transparent 100%);
  pointer-events:none;
}
.header-inner{
  display:flex!important;
  width:min(1180px,calc(100% - 32px))!important;
  height:68px!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 auto!important;
}
body:not(.has-media) .header-inner{
  width:min(var(--terry-landing-shell,960px),calc(100% - 32px))!important;
}
body.has-media .header-inner{
  width:min(var(--terry-editor-shell,1480px),calc(100% - 32px))!important;
}
.brand-group{
  position:relative;
  display:flex!important;
  min-width:0;
  align-items:center;
  gap:12px!important;
  color:#1d232a;
  text-decoration:none;
}
.brand-group::after{
  content:"";
  position:absolute;
  top:7px;
  left:82px;
  width:5px;
  height:5px;
  border:2px solid #fff;
  border-radius:50%;
  background:#d1713e;
  box-shadow:0 1px 5px rgba(111,56,29,.22);
}
.brand-logo{
  display:block!important;
  width:88px!important;
  height:38px!important;
  flex:0 0 88px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
.brand-copy{
  display:flex!important;
  min-width:0;
  flex-direction:column;
  gap:3px!important;
  padding-left:13px!important;
  border-left:1px solid #dfe3e7!important;
}
.brand-copy strong{
  color:#20262d;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1;
  letter-spacing:-.025em!important;
  white-space:nowrap;
}
.brand-copy>span{
  color:#7a828b!important;
  font-size:10px!important;
  font-weight:600;
  line-height:1;
  letter-spacing:.015em;
  white-space:nowrap;
}
.header-actions{
  display:flex!important;
  min-width:0;
  flex:0 0 auto;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
}
.app-header .header-stats-pill,
.app-header .header-stats-pill.is-unavailable{
  display:inline-flex!important;
  min-width:0!important;
  height:38px!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 12px!important;
  border:1px solid #cee2d6!important;
  border-radius:12px!important;
  background:#f1f8f4!important;
  color:#345347!important;
  box-shadow:none!important;
  font-size:11px!important;
  text-decoration:none;
  white-space:nowrap!important;
}
.app-header .header-stats-pill .pill-text{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:2px!important;
  color:#476357!important;
}
.app-header .header-stats-pill .pill-text>span{display:inline!important}
.app-header .header-stats-pill strong{
  color:#176d4b!important;
  font-size:13px!important;
  font-weight:850!important;
  font-variant-numeric:tabular-nums;
}
.app-header .header-stats-pill .live-pulse-dot{
  display:block!important;
  width:6px!important;
  height:6px!important;
  flex:0 0 6px;
  background:#2da46d!important;
}
.app-header .header-stats-pill.is-unavailable{
  border-color:#e0e3e6!important;
  background:#f6f7f7!important;
  color:#7a828a!important;
}
.header-social-actions{
  display:flex!important;
  align-items:center;
}
.header-social-link{
  display:inline-flex!important;
  width:auto!important;
  min-width:0!important;
  height:38px!important;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 11px!important;
  border:1px solid #e0e3e6!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#2b323a!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:750;
  text-decoration:none;
  transition:border-color .16s ease,color .16s ease,background .16s ease!important;
}
.header-social-link b{display:inline!important;font-size:11px!important;white-space:nowrap}
.header-link-arrow{color:#9aa1a8;font-size:10px;transition:transform .16s ease}
.header-social-link:hover{
  border-color:#c9a68f!important;
  background:#fffaf7!important;
  color:#9b4f2c!important;
  transform:none!important;
}
.header-social-link:hover .header-link-arrow{transform:translate(1px,-1px)}
.language-switch{
  display:flex!important;
  height:40px!important;
  align-items:center;
  gap:2px!important;
  padding:3px!important;
  border:1px solid #e0e3e6!important;
  border-radius:12px!important;
  background:#f4f5f5!important;
}
.language-switch a{
  display:grid;
  width:35px;
  height:32px;
  place-items:center;
  border-radius:8px;
  color:#747c85;
  font-size:10px;
  font-weight:850;
  line-height:1;
  text-decoration:none;
  transition:background .16s ease,color .16s ease,box-shadow .16s ease;
}
.language-switch a.active{
  background:#20262d;
  color:#fff;
  box-shadow:0 4px 10px rgba(25,31,38,.16);
}
#resetBtn{
  display:inline-flex;
  min-width:0!important;
  height:38px!important;
  min-height:38px!important;
  align-items:center;
  gap:6px!important;
  padding:0 11px!important;
  border-color:#e0e3e6!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#555e68!important;
  box-shadow:none!important;
  font-size:11px!important;
  white-space:nowrap;
}
#resetBtn:hover{border-color:#c7cdd3!important;background:#f8f9f9!important;color:#20262d!important;transform:none!important}
body:not(.has-media) #resetBtn{display:none!important}
.brand-group:focus-visible,
.header-social-link:focus-visible,
.language-switch a:focus-visible,
#resetBtn:focus-visible{
  outline:2px solid #c86939!important;
  outline-offset:3px!important;
}
#siteAppRoot,.instagram-hub,.camera-seo-showcase{scroll-margin-top:78px}

@media(max-width:720px){
  .header-inner,
  body:not(.has-media) .header-inner,
  body.has-media .header-inner{
    width:calc(100% - 20px)!important;
    height:60px!important;
    gap:8px!important;
  }
  .brand-group{gap:0!important}
  .brand-group::after{top:7px;left:67px;width:4px;height:4px}
  .brand-logo{width:72px!important;height:32px!important;flex-basis:72px!important}
  .brand-copy{display:none!important}
  .header-actions{flex:1 1 auto;gap:4px!important}
  .app-header .header-stats-pill,
  .app-header .header-stats-pill.is-unavailable{
    height:34px!important;
    gap:5px!important;
    padding:0 8px!important;
    border-radius:10px!important;
    font-size:10px!important;
  }
  .app-header .header-stats-pill strong{font-size:11px!important}
  .header-social-actions{display:flex!important}
  .header-social-link{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    padding:0!important;
    border-radius:10px!important;
  }
  .header-social-link b,.header-link-arrow{display:none!important}
  .mini-instagram-icon{width:15px!important;height:15px!important}
  .language-switch{height:36px!important;padding:2px!important;border-radius:10px!important}
  .language-switch a{width:29px;height:30px;border-radius:7px;font-size:9px}
  #resetBtn{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    justify-content:center!important;
    padding:0!important;
    border-radius:10px!important;
  }
  #resetBtn span{display:none!important}
  #siteAppRoot,.instagram-hub,.camera-seo-showcase{scroll-margin-top:68px}
}

@media(max-width:380px){
  .header-inner,
  body:not(.has-media) .header-inner,
  body.has-media .header-inner{width:calc(100% - 14px)!important;gap:5px!important}
  .brand-group::after{left:58px}
  .brand-logo{width:63px!important;height:29px!important;flex-basis:63px!important}
  .header-actions{gap:3px!important}
  .app-header .header-stats-pill,
  .app-header .header-stats-pill.is-unavailable{
    height:32px!important;
    padding:0 7px!important;
  }
  .app-header .header-stats-pill .pill-text>span{display:none!important}
  .app-header .header-stats-pill .pill-text>span:first-child{display:inline!important}
  .header-social-link{width:32px!important;min-width:32px!important;height:32px!important}
  .language-switch{height:34px!important}
  .language-switch a{width:27px;height:28px}
  #resetBtn{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}
}

@media(max-width:300px){
  .header-social-actions{display:none!important}
}

@media(prefers-reduced-motion:reduce){
  .header-social-link,.header-link-arrow,.language-switch a{transition:none!important}
}
