/* Only explicit platform-brand headers. Merchant artwork and all payment controls are untouched. */
body .fk-skin-brand-slot {
  position:static;
  display:flex;
  align-items:center;
  flex:0 0 auto;
  float:none;
  min-width:0;
  margin:0;
  padding:0;
  line-height:normal;
}
body a.fk-skin-brand {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  gap:8px;
  width:212px;
  max-width:100%;
  min-height:54px;
  margin:0;
  padding:6px 0;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#a95707;
  text-align:left;
  text-decoration:none;
  line-height:1;
  letter-spacing:0;
  cursor:pointer;
  transition:opacity .18s ease,transform .18s ease;
}
body .fk-skin-brand .fk-skin-brand-icon {
  position:static;
  display:block;
  box-sizing:border-box;
  flex:0 0 36px;
  float:none;
  width:36px;
  min-width:36px;
  max-width:36px;
  height:36px;
  min-height:36px;
  max-height:36px;
  margin:0;
  padding:0;
  border:0;
  border-radius:10px;
  object-fit:contain;
}
body .fk-skin-brand-copy { display:block; min-width:0; text-align:left; }
body .fk-skin-brand-name,body .fk-skin-brand-tagline {
  display:block;
  float:none;
  margin:0;
  padding:0;
  color:#a95707;
  white-space:nowrap;
  letter-spacing:0;
  font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;
}
body .fk-skin-brand-name { font-size:19px; font-weight:800; line-height:24px; }
body .fk-skin-brand-tagline { margin-top:1px; font-size:11px; font-weight:500; line-height:15px; }
@supports ((-webkit-background-clip:text) or (background-clip:text)) {
  body .fk-skin-brand-name,body .fk-skin-brand-tagline {
    background-image:linear-gradient(110deg,#985008 0%,#c07513 27%,#e6a82c 43%,#af5b08 60%,#985008 100%);
    background-size:230% 100%;
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    -webkit-text-fill-color:transparent;
    animation:fk-skin-brand-gold 5s ease-in-out infinite alternate;
  }
  body .fk-skin-brand-tagline { animation-delay:-.6s; }
}
@keyframes fk-skin-brand-gold { from { background-position:0% 50%; } to { background-position:100% 50%; } }
body a.fk-skin-brand:focus-visible { outline:2px solid #b66c0d; outline-offset:3px; }
body a.fk-skin-brand:active { transform:scale(.98); }
@media(hover:hover) and (pointer:fine) { body a.fk-skin-brand:hover { opacity:.85; } }

/* Existing navigation stays in its own flow, instead of colliding with the larger wordmark. */
body .fk-brand-header { height:auto; min-height:70px; padding-top:0; }
body .fk-brand-header > .container,
body .fk-brand-header > .wrapper,
body .fk-brand-container { box-sizing:border-box; width:calc(100% - 32px); max-width:1200px; min-width:0; margin-left:auto; margin-right:auto; }
body .fk-brand-row {
  display:flex;
  box-sizing:border-box;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px 18px;
  min-height:70px;
  height:auto;
}
body .fk-brand-row > .nav,
body .fk-brand-row > .main_menu,
body .fk-brand-row > .header-nav,
body .fk-brand-row > .user_btns {
  position:static;
  flex:0 1 auto;
  float:none;
  margin:0;
}
body .fk-brand-row > .nav ul { position:static; }
body .fk-brand-row > .nav li,
body .fk-brand-row > .main_menu li { height:auto; line-height:44px; }
body .fk-brand-row > .header-nav { height:auto; line-height:44px; }
body .fk-brand-row > .user_btns .reg_btn { margin:0; }
body .fk-brand-row > .nav_btn { display:none; }
body .fk-brand-row > .fk-brand-first { order:-1; }
body .fk-brand-links { display:flex; flex-wrap:wrap; gap:6px; }
body .fk-brand-links .qq_btn { position:static; display:inline-flex; align-items:center; height:44px; line-height:1.3; padding:0 14px; margin:0 !important; border-radius:8px; }
body .fk-brand-row > .seller_name { float:none; min-width:0; max-width:100%; overflow-wrap:anywhere; line-height:1.5; }
body .fk-brand-mobile-header { height:auto; min-height:120px; padding-bottom:1px; }
body .fk-brand-mobile-header .fk-brand-row { width:100%; padding:0 3%; gap:4px 12px; }
body .fk-brand-mobile-header .fk-skin-brand-slot { background:rgba(255,255,255,.96); border-radius:10px; padding:0 7px; margin:5px 0; }
body .fk-brand-mobile-header .seller_name { flex:1 1 100px; text-align:right; }
body .fk-brand-standalone { box-sizing:border-box; width:calc(100% - 32px); max-width:1200px; margin:0 auto; padding:4px 0; }
body .fk-brand-standalone > .fk-skin-brand-slot { display:inline-flex; padding:0 12px; border-radius:12px; background:rgba(255,255,255,.96); }

/* Override the DIY artwork selector without touching decorative header assets. */
body[data-checkout-skin="diy"] > header .top .Navigation .fk-brand-diy-row { flex-wrap:wrap; }
body[data-checkout-skin="diy"] > header .top .Navigation .fk-brand-diy-row > .fk-skin-brand-slot { flex:0 0 212px; max-width:100%; }
body[data-checkout-skin="diy"] > header .top .Navigation .fk-brand-diy-row .fk-skin-brand-icon { width:36px; height:36px; min-width:36px; max-width:36px; min-height:36px; max-height:36px; }
@media(max-width:600px) {
  body .fk-brand-row { gap:6px 12px; padding-top:6px; padding-bottom:6px; }
  body a.fk-skin-brand { width:180px; min-height:48px; gap:6px; }
  body .fk-skin-brand .fk-skin-brand-icon { flex-basis:32px; width:32px; min-width:32px; max-width:32px; height:32px; min-height:32px; max-height:32px; }
  body .fk-skin-brand-name { font-size:17px; line-height:22px; }
  body .fk-skin-brand-tagline { font-size:10px; line-height:14px; }
  body .fk-brand-row > .nav li,
  body .fk-brand-row > .main_menu li { margin:0 14px 0 0; font-size:14px; }
  body .fk-brand-row > .header-nav { font-size:15px; }
  body .fk-brand-row > .user_btns { margin-left:auto; }
  body .fk-brand-row > .user_btns .reg_btn { width:116px !important; font-size:13px; }
  body[data-checkout-skin="diy"] > header .top .Navigation .fk-brand-diy-row > .fk-skin-brand-slot { flex-basis:180px; }
  body[data-checkout-skin="diy"] > header .top .Navigation .fk-brand-diy-row .fk-skin-brand-icon { width:32px; height:32px; min-width:32px; max-width:32px; min-height:32px; max-height:32px; }
}
@media(prefers-reduced-motion:reduce) {
  body a.fk-skin-brand { transition:none; }
  body .fk-skin-brand-name,body .fk-skin-brand-tagline { animation:none; }
}
